Tesseract-OCR-iOS icon indicating copy to clipboard operation
Tesseract-OCR-iOS copied to clipboard

Missing `preprocessedImageForTesseract:sourceImage:` in 4.0.0 CocoaPods release

Open alvaromb opened this issue 6 years ago • 2 comments

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 avatar Mar 27 '18 15:03 alvaromb

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

alvaromb avatar Mar 27 '18 16:03 alvaromb

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

zacharyblank avatar May 07 '18 20:05 zacharyblank