SwiftOCR icon indicating copy to clipboard operation
SwiftOCR copied to clipboard

Bad translation - does not work

Open jonastheman opened this issue 5 years ago • 1 comments

I use the training app with font 'Verdana', let it run for 2 minutes minimum. Save the OCR-Network file and use it to replace it the one in my real app('/Pods/SwiftOCR/framework/SwiftOCR/OCR-Network').

I take a photo in the app and runs:

swiftOCRInstance.recognize(myImage) { recognizedString in DispatchQueue.main.async { self.textResult.text = recognizedString } <<<<

Fails badly with translating simple image with Verdana font text on it.... What am I doing wrong?

jonastheman avatar Nov 02 '18 12:11 jonastheman

Try zooming in on the image before running ocr - minimal crop around text part of image.

RowanG1 avatar Nov 05 '18 22:11 RowanG1