Comments (24)
Hello, In your "copy bundled resources", is the tessdata folder present?
from tesseract-ocr-ios.
Hi, thank you for reply.
In my "Copy BundleResources" doesn't contain tessdata folder, but jpn.traineddata is present.
from tesseract-ocr-ios.
No problem. Please add it. Because of this error code: /var/mobile/Applications/9C07D9F5-0B70-4313-90E0-17AF69FF0EDA/LicenseReader.app/tessdata/jpn.traineddata
It is looking for /tessdata/jpn.traineddata
from tesseract-ocr-ios.
I can't add the folder to BundleResource. How can I do that?
from tesseract-ocr-ios.
Hmm... you can try this:
- Delete your tessdata from your project (we will try to copy it again from here..)
- Drag your tessdata from finder to your project
- When asked about copy options: 1) Don't select
Copy items into destination's group's folder (if needed)
and 2) Check thecreate folder references for any added folders
This should reference the entire folder with your project.
Good luck.
from tesseract-ocr-ios.
I tried, but it didn't work, I'm sorry to say. It just added tranineddata to Copy Bundle Resources, not a folder.
from tesseract-ocr-ios.
Hmm... that is strange. How about trying to add with copy bundled resources '+' button, and 'add other' option
from tesseract-ocr-ios.
I've tried that already and found it just add a folder to project, but nothing happened to Copy Bundle Resource.
Hope I could send you a project to have a glance...
from tesseract-ocr-ios.
ok, please send me a link
from tesseract-ocr-ios.
Thank you!
It's here at http://www.prime-kobo.com/LicenseReader.zip
from tesseract-ocr-ios.
how about a google hangout?
from tesseract-ocr-ios.
Sorry, I don't use it.
from tesseract-ocr-ios.
I was able to add the tessdata from the steps I listed
from tesseract-ocr-ios.
When you added the folder, did you click on Add Other...
?
from tesseract-ocr-ios.
Could you?
What was wrong with my procedure...
Ah, yes. I click on Add Other.
from tesseract-ocr-ios.
After clicking Add Other
, did you select the jpn.traineddata file or the folder? You should be able to select the folder and click open
from tesseract-ocr-ios.
I selected a folder and clicked open.
from tesseract-ocr-ios.
by the way, your tessdata folder is empty
from tesseract-ocr-ios.
and when you clicked on open, you selected the Create folder references for any added folders
option?
from tesseract-ocr-ios.
Ouch! I didn't! Ok, I did! It worked!!!
Thanks sooooooooo much!
from tesseract-ocr-ios.
👍
good luck with your project.
from tesseract-ocr-ios.
Thank you!
By the way, may ask you one more favor?
[tesseract setVariableValue:@"0123456789" forKey:@"tessedit_char_whitelist"];
What should I set VariableValue for Japanese?
from tesseract-ocr-ios.
Since Japanese has a lot of characters (hiragana,katakana,kanji), I wouldn't recommend setting a whitelist. You don't need to set one for Japanese.
from tesseract-ocr-ios.
I see. Thank you.
from tesseract-ocr-ios.
Related Issues (20)
- .
- User-Words file not loaded: Error: failed to load user-words HOT 5
- doesn't work with 64bpp images
- pod failed HOT 1
- Does not detects images 100%
- What's means with *.cube.* ? e.g. eng.cube.fold
- Why does the testsdata folder exist in the project? HOT 2
- Why don't we upgrade to the latest Tesseract?
- cocoapods 5.0.1 error
- Xcode 12.0.1 build is failing when trying to run it on the simulator. HOT 2
- RecognitionQuestion
- Apple Silicon (arm64; M1) support HOT 2
- Thread 1: EXC_BAD_ACCESS (code=1, address=0x163940000)
- Framework not found for Mac OS HOT 1
- 你好 这句一定闪退
- PDF creation not working
- self.tesseract!.recognize() is crashing in Acuant MRZ
- How to update Tesseract version
- Target 'TesseractOCRiOS' (project 'Pods') has copy command HOT 1
- cannot load language 'eng' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tesseract-ocr-ios.