tvn-cosine / tesseract.net

a .net wrapper for Tesseract
GNU General Public License v3.0
24 stars 13 forks source link

Rescale and AutoRotate using Orientation #28

Open levpius opened 5 years ago

levpius commented 5 years ago

We are implementing our OCR module to work with most Tiff images. I was able able to build most of the workflow using your TessBaseAPI. Can you help me with a way to correctly implement "Re scaling" and "Autototate" for most images using the functions: pixScale() pixRotate()

base on image info using ResultIterator.Orientation(out orientation, out direction, out order, out deskewAngle)

(After this Rescale and Auto-rotate I will using Deskew function.)

levpius commented 5 years ago

Is this the right place to ask these questions or is there any other place. Someone please confirm