Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

read barcode

 

I am reading 1D Barcode using vision IMAQRead Barcode.vi.

 I have set the ROI to read as in blue of attached image.

If the image captured as in pass.jpg I am able to read barcode. if the image is as fail.jpg the barcode is not read.

Barcode type is interleaved 2 of 1

how to read this barcode.

Download All
0 Kudos
Message 1 of 5
(4,107 Views)

Is this the full resolution image?  If it is, your resolution is probably not high enough.  To read the barcode, you need one or two pixels per bar (and space).  It looks like your barcode is right on the limit.  Try increasing the resolution by moving your camera closer or changing the lens.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 5
(4,091 Views)

We would be happy to help figure out what is wrong.  Please post the full size sample images (pass fail) without overlay.

Robert Eastlund
Graftek Imaging, Inc.
Phone: (512) 416-1099 x101
Email: eastlund@graftek.com
0 Kudos
Message 3 of 5
(4,078 Views)

Thanks you

 

The image captured is with full resolution.

 

atttached images of pass and fail

 

Download All
0 Kudos
Message 4 of 5
(4,056 Views)

I attempted to reproduce the issue within Vision Assistant.  Vision Assistant was able to read the barcode in either example image equally well.  Attached are screen shots taken of the fail_N.jpg and pass_N.jpg being read under Vision Assistant.  Please explain more about the issue.

 

 

Robert Eastlund
Graftek Imaging, Inc.
Phone: (512) 416-1099 x101
Email: eastlund@graftek.com
Download All
0 Kudos
Message 5 of 5
(4,022 Views)