How to specify correct tessdata path in MAUI Android/iOS/Windows project when TesseractEngine loads data? #625
Replies: 5 comments 1 reply
-
Hey guys, |
Beta Was this translation helpful? Give feedback.
-
Hello, do you have any results please? I need to implement it in MAUI Android/iOS/Windows |
Beta Was this translation helpful? Give feedback.
-
Hi, I just use something like this: |
Beta Was this translation helpful? Give feedback.
-
Hi @SMiszczak , Note that I replaced your last line with I used to use another code snippet to make it work on Windows (Only Windows, not work on Android/iOS): |
Beta Was this translation helpful? Give feedback.
-
Hi @SMiszczak , |
Beta Was this translation helpful? Give feedback.
-
I'd like to use Tesseract OCR in a MAUI (Android/iOS/Windows) project.
How to specify a proper path like the following one illustrated in documentation (not working in MAUI).
using (var engine = new TesseractEngine(@"./tessdata", "eng", EngineMode.Default))
Note that the tessdata is already located in the project root as the documentation said. How to specify the proper data path parameter of TesseractEngine() in MAUI Android/iOS/Windows project?
Thank you guys.
Beta Was this translation helpful? Give feedback.
All reactions