Giter VIP home page Giter VIP logo

Comments (10)

theneekz avatar theneekz commented on May 27, 2024 1

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.

busykid avatar busykid commented on May 27, 2024

ios working?

from react-native-tesseract-ocr.

Noitidart avatar Noitidart commented on May 27, 2024

@busykid I don't think so. I didn't try, but the readme says ios only.

from react-native-tesseract-ocr.

stale avatar stale commented on May 27, 2024

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.

theneekz avatar theneekz commented on May 27, 2024

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.

albertbuchard avatar albertbuchard commented on May 27, 2024

https://reinteractive.com/posts/442-bringing-tesseract-to-mobile-with-react-native

from react-native-tesseract-ocr.

Macilias avatar Macilias commented on May 27, 2024

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.

theneekz avatar theneekz commented on May 27, 2024

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.

Macilias avatar Macilias commented on May 27, 2024

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.

stale avatar stale commented on May 27, 2024

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)

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.