gali8 / Tesseract-OCR-iOS

Tesseract OCR iOS is a Framework for iOS7+, compiled also for armv7s and arm64.
http://www.nexor.it
MIT License
4.22k stars 949 forks source link

Fix the rotation of the camera image in demo. #267

Open tomtaylor opened 8 years ago

tomtaylor commented 8 years ago

The image coming out of the image picker was being fed into Tesseract upside down, resulting in gibberish. This uses the EXIF header to rotate the pixels to be 'up', returning sane results from Tesseract.