Comments (10)
https://reinteractive.com/posts/442-bringing-tesseract-to-mobile-with-react-native
This is actually the post I used in order to set it up. I have a project that can run it, I'm just not sure how to get that work into this package. I know the methods available are different for one. Another major difference is that i can only use English on the iOS project.
from react-native-tesseract-ocr.
ios working?
from react-native-tesseract-ocr.
@busykid I don't think so. I didn't try, but the readme says ios only.
from react-native-tesseract-ocr.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from react-native-tesseract-ocr.
It's not but I'd like to contribute. I have linked the ios native module into react native before, but I don't know if I need to support all of the methods that this package already seems to support for android:
export interface ITesseractOcrModule {
clear(): void;
recognize(
imageSource: string,
lang: Lang,
options?: Options
): Promise<string>;
recognizeTokens(
imageSource: string,
lang: Lang,
options?: Options
): Promise<string>;
stop(): Promise<Token[]>;
}
from react-native-tesseract-ocr.
https://reinteractive.com/posts/442-bringing-tesseract-to-mobile-with-react-native
from react-native-tesseract-ocr.
I know its stated that iOS is not supported yet, but its obviously planned since 2 Years and no progress there, do you need some particular help?
Currently the exception is:
[TypeError: null is not an object (evaluating '_reactNativeTesseractOcr.default.recognize')]
so it looks like some default has not been set there but what else?
from react-native-tesseract-ocr.
Currently there is nothing linked for iOS. I know how to implement the solution like in the article mentioned above but it would not match the android solution already used in this package (the methods are named differently and the article only teaches you how to set it up in English). I also don't see how to integrate it into this repo, that's something I need to spend more time on/get help with.
from react-native-tesseract-ocr.
Well additional models for other languages can be found here: https://github.com/tesseract-ocr/tessdata/tree/bf82613055ebc6e63d9e3b438a5c234bfd638c93
There is also an different project aiming the same target: https://github.com/zsajjad/react-native-text-detector
But it seams to be dead since it was updates for years now, but it would be great to have an module for OCR for react-native and this involves both, android AND iOS, so please tell we how we can help you out there!
from react-native-tesseract-ocr.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from react-native-tesseract-ocr.
Related Issues (20)
- Arabic language not supporting? HOT 1
- only work on white color font (and black background) HOT 1
- Can add other language to library? HOT 1
- Example doesn't work HOT 7
- Custom languages version 2.0.3 not Work HOT 2
- Example outdated HOT 3
- Could not initialize Tesseract API with language=eng! in android 11 HOT 1
- compile with React Native 0.68.1 2 pbs HOT 5
- java.io.IOException: Could not create directory HOT 2
- My app is closing itself immediately after opening. HOT 1
- TypeError: _reactNativeTesseractOcr.default.recognize is not a function HOT 4
- package doesnt build HOT 4
- Failed to install the app. HOT 8
- getting "java.io.IOException: Could not create directory" error HOT 2
- example Not show text HOT 1
- Not working in latest RN project HOT 5
- app run or clear getting : Plugin with id 'maven' not found. HOT 3
- Error at the time of TesseractOcr recognizedText HOT 1
- Support Tesseract 4.0 HOT 7
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 react-native-tesseract-ocr.