06-16-2021 08:13 AM
We're trying to set up a vision system to verify information between our routing sheets and the labels we're putting on our product. The routing sheets have 1D barcodes, and the labels have 2D labels.
I'm having issues with long 1D barcodes. We're trying to read 3 barcodes (type Code 39), so I'm setting up individual regions of interest for each barcode read, and this works fine for 2 of the 3 barcodes. One is significantly longer than the other two, 13 characters vs 7 or 4 characters, and I'm not getting it to read. I've attached snapshots of the barcodes below. The actual image quality seems good, and the print size of the different barcodes seems to be the same. (Vertical height is different, but that shouldn't matter, should it?)
Any suggestions for how to get this to read?
Reading the 2D matrices seems to work well.
Thanks for any ideas!
Dave D-W
06-16-2021 08:36 AM
I found a routing sheet where the long 1D barcode is only 10 characters, and that reads okay. So, what's the longest 1D barcode we can read? And why? And is there any reasonable workaround?
Thanks!
Dave D-W
06-22-2021 11:23 AM
FYI, the long barcode in the original post does read okay using an App on my phone, so it's structured properly.
Still hoping someone has a suggestion.
--
Dave D-W
06-23-2021 02:37 AM
I did a quick test in vision assistant on a screenshot of your code.
It provides a result (is it the expected one ?) as you can see in attached screenshots.
It works with or without locating barcode option.
Surprising thing with barcode location however is that the minimum bar width setting seems to have no influence : I can set it to 300 pixels, it will not change anything to the locating and bounding box detected.
Sami
06-23-2021 05:56 AM
Thanks, Sami, but the barcode is of Type 39, as I mentioned in my original post, not Interleave 2 of 5.
The actual data is: 105E7340G4SSG
If you change the Barcode Type under the Read 1D Barcode tab to "Type 39" do you read anything then?
Thanks!
Dave D-W
06-25-2021 02:07 AM
Sorry, I didn't notice you mentioned the barcode type. Moreover a tricky thing is that the result I provided you with "Interleaved 2 of 5" was with the "Validate" option enabled which should use error correction info built into the code !
"Trust no one !" would Mulder say 🙂
Sami
07-08-2021 06:46 AM
Okay! I've found the answer! It turns out the barcode isn't fully formed! Did some more reading on the Type 39 code, and it starts and ends with a delimiter, which is:
And if you look at the end of the long one I posted originally, it stops just part way into the second wide bar. I edited the barcode to "fix" it, and then it scans okay. So, what I was given was incorrect.