-
Notifications
You must be signed in to change notification settings - Fork 480
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
How can I install SwiftOCR #25
Comments
First you have to drag the framework folder in your project folder. Then select the After that you have to add SwiftOCR and GPUImage as an embedded binary. The only thing left is to import SwiftOCR in the files in which you want to use it. |
Thanks |
This is a great guide. Would you mind putting this into the README? |
I can't install SwiftOCR in xcode 8. Any help? Thanks. |
Try this this: Import Swift OCR First you have to drag the framework folder in your project folder. Then select theSwiftOCR.xcodeproj and drag it into your project navigator. Do the same thing with the ´GPUImage.xcodeproj´ or GPUImageMac.xcodeproj file located under SwiftOCR/GPUImage-master/framework. After that you have to add SwiftOCR and GPUImage as an embedded binary. The only thing left is to import SwiftOCR in the files in which you want to use it. First you have to drag the framework folder in your project folder. Then select theSwiftOCR.xcodeproj and drag it into your project navigator. Do the same thing with the ´GPUImage.xcodeproj´ or GPUImageMac.xcodeproj file located under SwiftOCR/GPUImage-master/framework. After that you have to add SwiftOCR and GPUImage as an embedded binary. The only thing left is to import SwiftOCR in the files in which you want to use it. Sent from my iPhone
|
Something has gone badly wrong with either these instructions or the code, I have tried to install this with all sorts of different configurations, dragging the frameworks folder to finder folder of the project, dragging to Xcode above and below folder, into and out of here there and everywhere, dragging xcodeproj' s here there and everywhere and the least errors I can get is 2, the most is about 300.....When it's down to 2 they are: - warning: using 'ALWAYS_SEARCH_USER_PATHS = YES' while building targets which define modules ('DEFINES_MODULE = YES') may fail. Please migrate to using 'ALWAYS_SEARCH_USER_PATHS = NO'. ----- and ----- “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly. ----- Which I have gone round in circles to try and sort out. Given up after around 7 hours of life wasted... Back to Tesseract. |
@billysoboles2 I've just pushed a new SwiftOCR version. Could you please try it again with this newer version? |
SwiftOCR-8.2Steps to start
Building the project with SwiftOCR
The tricky part, Adding frameworks
I have successfully build a project, you can refer my repo |
Hi, is there a way to detect spaces with swift ocr, I am using at at the moment and it doesn't add spaces and also cannot find 1 in the text. |
I'm getting this error while importing Swiftocr -> "Cannot load module 'SwiftOcr' as 'SwiftOCR'" |
Hello,
I opened this issue because I don't know how I can install this library.
Can you help me ?
The text was updated successfully, but these errors were encountered: