Specify ROI in readBarcode
古いコメントを表示
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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Object Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


