I have a tiff image with a single barcode on it. This image is sent to us through a fax service, and sometimes the image comes in upside down. This doesn't effect the reading of the barcode, but it does effect a process further down the line. Is there a way to determine if the barcode is on the top/bottom/left/right of the image, so I can rotate and save the correctly oriented image?
Thanks.
Location of Barcode on TIFF
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Location of Barcode on TIFF
Hello,
You can get the direction of the barcode with the Direction property:
Best regards, Alexander
You can get the direction of the barcode with the Direction property:
Code: Select all
...
IBarcodeInfo[] infos = barcodeReader.ReadBarcodes(image);
// infos[0].Direction - direction of the first barcode
...