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

Missing `preprocessedImageForTesseract:sourceImage:` in 4.0.0 CocoaPods release #373

Open alvaromb opened 6 years ago

alvaromb commented 6 years ago

The method preprocessedImageForTesseract:sourceImage:, needed to bypass the threshold processing done by Tesseract, is missing from 4.0.0 release, which is the one pulled by CocoaPods.

(master): https://github.com/gali8/Tesseract-OCR-iOS/blob/master/TesseractOCR/G8RecognitionOperation.m#L78 (4.0.0): https://github.com/gali8/Tesseract-OCR-iOS/blob/4.0.0/TesseractOCR/G8RecognitionOperation.m

Is there anything you guys need to do in order to push this release? Might be able to help because we're using this for an important project.

alvaromb commented 6 years ago

Seems that the method is already in 4.0.0, but not exposed in the G8RecognitionOperation https://github.com/gali8/Tesseract-OCR-iOS/blob/4.0.0/TesseractOCR/G8Tesseract.mm#L385

zacharyblank commented 6 years ago

Hi, I have the same issue with this. Have you found a workaround @alvaromb ?