Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

using 1722 smart camera to find datamatrix

I am using VBAI 3.6 I have a 1722 Smart Camera. I am having problems "finding the datamatrix" in an image. I will attach the VBAI file and a sample picture. I am using a greyscale extractor also.

Help would be appreciated.

Download All
0 Kudos
Message 1 of 9
(4,416 Views)

Tailfire,

 

Can you please provide some more information on what it is you are trying to do and what you have already tried?  The more information you can provide the easier it will be for us to help.

 

Regards,

 

Sam K

Applications Engineer

National Instruments

0 Kudos
Message 2 of 9
(4,392 Views)

Greetings
I have developed a VBAI and I would like to see if you guys could give me some suggestions as to what I am doing wrong,
Its VBAI 3.6 for the 1722 Smart Camera. I am trying to capture images of a basket that has Teflon tags that contain a data-matrix. The basket passes by a trigger and I would like to take a continuous “real time” capture that
Would have multiple frames. Then MAKE SURE to find the data matrix in the image then send the ASCII data from the tag out the serial port to a plc input string. I did seemingly get the find edges to find the edge of the tag,
Then I created a region of interest that would real time float based on the find edge. But then the “find data matrix” epically fails every time. Are there some better algorithms that I could try? Or what am I doing wrong. 
Please take a look see if you could possibly give me some insight into where I am failing….
Hopefully the file types don’t get caught in a scan somewhere…….
 
If there are some other “vision gurus” that you would want to forward this question to please feel very free.
 
Please help………..

0 Kudos
Message 3 of 9
(4,385 Views)

I can repost images if necessary

0 Kudos
Message 4 of 9
(4,384 Views)

Also I hooked up hyperterminal and upon the failure I am seeing activity on the port which is a good sign but the ascii string did not show XXXX like I had specified in the VBAI. I have probably not got something right there either. I will attach a pic of the ascii string parameters. I cant find the picture on this jump drive at the moment.

0 Kudos
Message 5 of 9
(4,383 Views)

Tailfire,  I would suggest to configure the Data Matrix step differently. If properly configured, the Data Matrix should be able to locate the code in these images without having to use other steps. Try the following to get a "good" set of parameters for this image: in the Read Data Matrix step, draw an ROI just around the code, click the "Suggest Values" button. Then you can change the ROI size to a larger size or the entire image.

 

The reading  with the following parameters seems very stable for different ROIs on the image you provided:

Basic Tab: ECC200, Square, 10x10, Black on White, 118, 146, 90,

Adv Search tab: 0, 0.94, Unlimited, 10, 150, 5, 43

Cell sampling: <30%, Histogram, 3x3, Average Normal

 

Hope this helps,

Nicolas

0 Kudos
Message 6 of 9
(4,380 Views)

I will SOOO try that tomorrow. Thank you so much for your help. I will repost results.

0 Kudos
Message 7 of 9
(4,375 Views)

Did you notice any possible issues with the serial data outputs?

0 Kudos
Message 8 of 9
(4,373 Views)

I have not got to make the changes to the smart camera yet. I did in fact find the jump drive with the ascii read parameters pictures. Attached they will be in a second.

0 Kudos
Message 9 of 9
(4,356 Views)