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

Empty String #42

Open
burhanuddin353 opened this issue Sep 7, 2016 · 9 comments
Open

Empty String #42

burhanuddin353 opened this issue Sep 7, 2016 · 9 comments

Comments

@burhanuddin353
Copy link

I have successfully integrated the project by following this #25

I tried this image
test 2

But unfortunately getting an empty string. What could be the reason?

@JayGajjar
Copy link

same here i had integrated project using above link, but when i am trying to use it on my iphone its returning empty string or improper output. Do i need to do anything else before running ?

@NMAC427
Copy link
Owner

NMAC427 commented Sep 8, 2016

Hmmm...

Could you please check if the app crashes if you change line 16 in SwiftOCR.swift to internal var globalNetwork = FFNN.fromFile(NSBundle(forClass: SwiftOCR.self).URLForResource("OCR-Network", withExtension: nil)!)!.

ps. Does it work if you use the SwiftOCR Debug app?

@burhanuddin353
Copy link
Author

Well this was not working when using with Xcode 8.0 and Swift 3.0.

When running on Xcode 7.3 with Swift 2.3, it works absolutely fine!

@terhechte
Copy link
Contributor

I've opened a PR that ports the project to Swift 3 and also fixes the problem with the empty strings.

@marckaraujo
Copy link

Still not working for swift 3.0. When you download the project from branch Swift3.0, it still needs to handle with some convertions to project work. However, after that still appears lot of deprecation warning and no good results with OCR.

@pichukov
Copy link

pichukov commented Dec 3, 2016

Not work for the majority of the tested images. Only once returned two letters that were not related to the text in the image. Application for Mac OS, XCode 8.1, Swift 3.

@Luccifer
Copy link

Still empty string.... :((

@NSCabezon
Copy link

any update on this? or any other swift library?

@Coder-ACJHP
Copy link

Still same problem tested on iPhone 7 and Xcode 10+ Swift 4.2

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

9 participants