Page 1 of 1

How to scan an image automatically on the reverse rectangle

Posted: Tue Dec 01, 2009 4:57 pm
by BioT09
Hello,

my question is how may i scan the reverse barcode-rectangle, without turning the image?
The problem is before scanning I dont know if the image is backwards or not.

Re: How to scan an image automatically on the reverse rectangle

Posted: Wed Dec 02, 2009 9:36 am
by Alex
Hello,

You can set the BarcodeReader.Setting.ScanDirection property to all directions and image will be analyzed in all directions.

Best regards, Alexander

Re: How to scan an image automatically on the reverse rectangle

Posted: Wed Dec 02, 2009 3:14 pm
by BioT09
Thats not what I mean. I mean if I scan the rectangle "code" in the image, I cant scan the code with the same coordinates, if the images is backwards. Are there any settings to change the coordinates automatically to the backward coordinates if the barcodereader didnt find a barcode?
------------------
| code |
| |
| | = Image
| |
| |
|____________|

------------------
| |
| |
| | = backwards Image
| |
| code |
|____________|

Re: How to scan an image automatically on the reverse rectangle

Posted: Wed Dec 02, 2009 3:17 pm
by BioT09
oh this editors doesnt accept spaces, so the pictures of the images are a bit deformed.

Re: How to scan an image automatically on the reverse rectangle

Posted: Thu Dec 03, 2009 10:20 am
by Alex
Hello,

I have understood your problem.

Here are necessary steps if you have document with barcode in the top-left corner but do not know direction of the document:
  • Set region of interest to the left-top corner, set scan direction to left-to-right direction, scan barcode
  • Stop barcode searching process if barcode is found, otherwise go to next step
  • Set region of interest to the right-bottom corner, set scan direction to right-to-left direction, scan barcode
Best regards, Alexander

Re: How to scan an image automatically on the reverse rectangle

Posted: Thu Dec 03, 2009 11:00 am
by BioT09
Ok thanks, I know I can do it with this steps by my self, but I hoped there is a setting which execute this steps automatically.