NMAC427 / SwiftOCR

Fast and simple OCR library written in Swift
Apache License 2.0
4.61k stars 481 forks source link

Bad translation - does not work #150

Open jonastheman opened 5 years ago

jonastheman commented 5 years ago

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?

RowanG1 commented 5 years ago

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