Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad translation - does not work #150

Open
jonastheman opened this issue Nov 2, 2018 · 1 comment
Open

Bad translation - does not work #150

jonastheman opened this issue Nov 2, 2018 · 1 comment

Comments

@jonastheman
Copy link

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
Copy link

RowanG1 commented Nov 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants