Code Monkey home page Code Monkey logo

Comments (24)

vleango avatar vleango commented on July 25, 2024

Hello, In your "copy bundled resources", is the tessdata folder present?

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

Hi, thank you for reply.

In my "Copy BundleResources" doesn't contain tessdata folder, but jpn.traineddata is present.

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

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.

 avatar commented on July 25, 2024

I can't add the folder to BundleResource. How can I do that?

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

Hmm... you can try this:

  1. Delete your tessdata from your project (we will try to copy it again from here..)
  2. Drag your tessdata from finder to your project
  3. When asked about copy options: 1) Don't select Copy items into destination's group's folder (if needed) and 2) Check the create folder references for any added folders

This should reference the entire folder with your project.
Good luck.

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

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.

vleango avatar vleango commented on July 25, 2024

Hmm... that is strange. How about trying to add with copy bundled resources '+' button, and 'add other' option

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

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.

vleango avatar vleango commented on July 25, 2024

ok, please send me a link

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

Thank you!

It's here at http://www.prime-kobo.com/LicenseReader.zip

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

how about a google hangout?

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

Sorry, I don't use it.

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

I was able to add the tessdata from the steps I listed

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

When you added the folder, did you click on Add Other...?

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

Could you?

What was wrong with my procedure...

Ah, yes. I click on Add Other.

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

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.

 avatar commented on July 25, 2024

I selected a folder and clicked open.

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

by the way, your tessdata folder is empty

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

and when you clicked on open, you selected the Create folder references for any added folders option?

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

Ouch! I didn't! Ok, I did! It worked!!!

Thanks sooooooooo much!

from tesseract-ocr-ios.

vleango avatar vleango commented on July 25, 2024

👍
good luck with your project.

from tesseract-ocr-ios.

 avatar commented on July 25, 2024

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.

vleango avatar vleango commented on July 25, 2024

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.

 avatar commented on July 25, 2024

I see. Thank you.

from tesseract-ocr-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.