Specify ROI in readBarcode
Ältere Kommentare anzeigen
I have an image with data in text on the image. I expect the same data to be in the barcode at the edge. This should be about 30 decimal digits of data. When I run readBarcode, I get "44083724", format EAN8 and location:
611.5000 40.0000
372.5000 40.0000
264.5000 40.0000
225.0000 40.0000
I think that there are three barcodes at the left of the photo. readBarcode is finding the first and then quitting. I suspect that the location is the end points of the three barcodes.
I ran drawrectangle over the region of the bar codes and got the position 5.0000 0.5000 33.0000 335.5000.
I think the solution is to run readBarcode and specify an ROI for each of the three barcodes on the left edge. I can't seem to do it though. The documentation isn't clear on how to get the ROI from the location or position.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Object Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


