Select a specific barcode to scan

Oct 2, 2014 at 2:49 PM
Edited Oct 3, 2014 at 1:06 PM
Hello,

I wonder if I could read a page (image) full of barcodes but only read the barcode that is closest to the center of the page?

For example, if the page looks like:

[barcode 1]
[barcode 2]
[barcode 3]

The program will return [barcode 2] because [barcode 2] is in the center.

Thank a lot!!

Update!
I did a test as follow:
An image with several QR barcodes, I want to find the barcode that is at the center of the image page.
So I expect ResultPoints to return 4 "corners" of the barcode for calculation. But it returns 3 in the first case, 4 in second case. Do you know why?

Image
Coordinator
Oct 7, 2014 at 8:46 PM
The first three result points are the finder patterns (left bottom, left top and right top corner) and the fourth point is added if there is an alignment pattern found. That's the small white rectangle with a single black point in the bottom right corner.

If you only want to find the QR code in the center of a page you have two options:
  1. crop the image
  2. use the DecodeMultiple method and look for the result which is in the center of the image
Oct 8, 2014 at 1:12 AM
Thanks micjahn for your time !!!
Do you have an estimate of when will there be a new version?

Thank you !
Coordinator
Oct 14, 2014 at 7:40 PM
Sorry, I don't know. It depends on my freetime. It's not enough at the moment.