Rotate by barcode angle
Posted: Tue Aug 16, 2011 1:55 pm
Hi
My application scans documents that contain barcodes. Some documents are scanned skewed and I want to straighten them by the barcode angle.
I do something like this:
The rotation works but it's not straightened enough. It's either rotated too far or not far enough. I can't imaging this is normal. Is anyone familiar with the problem and perhaps knows a solution?
I'm using GdPicture v7.4.0.10.
My application scans documents that contain barcodes. Some documents are scanned skewed and I want to straighten them by the barcode angle.
I do something like this:
Code: Select all
.RotateAngle(intImageId, 360 - CSng(.Barcode1DReaderGetBarcodeSkewAngle(bcIndex)))
I'm using GdPicture v7.4.0.10.