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

Read only numbers!!! #53

Closed
NisalChathuranga opened this issue Nov 21, 2016 · 3 comments
Closed

Read only numbers!!! #53

NisalChathuranga opened this issue Nov 21, 2016 · 3 comments

Comments

@NisalChathuranga
Copy link

I want read only numbers. when try to internal var recognizableCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" convert to internal var recognizableCharacters = "0123456789" it getting crash or sometime it read character also.
so how to solve?

thank you

@NMAC427
Copy link
Owner

NMAC427 commented Nov 21, 2016

If you only want to recognize numbers, I would train the NN. This can be done with the included training app (Put "0123456789" into the textfield). Then replace the old SwiftOCRNet file with the newly generated one.

@NisalChathuranga
Copy link
Author

Thank you
And when I try to run in iOS application it getting crash also. Should I change this one? internal var recognizableCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"

@NMAC427
Copy link
Owner

NMAC427 commented Nov 22, 2016

Yes. After replacing the SwiftOCRNet file, you also have to change recognizableCharacter to 0123456789.

@NMAC427 NMAC427 closed this as completed Dec 4, 2016
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