Code Monkey home page Code Monkey logo

Comments (10)

Nododo avatar Nododo commented on July 25, 2024 2

watch this and expect good news for a long time

from tesseract-ocr-ios.

diimdeep avatar diimdeep commented on July 25, 2024

I have same question ! If not, why not? I think it should because it is present in cocapods

from tesseract-ocr-ios.

ws233 avatar ws233 commented on July 25, 2024

You are free to port it to mac and provide a pull request with your changes.

from tesseract-ocr-ios.

3a4oT avatar 3a4oT commented on July 25, 2024

is any tutorial or examples exist, how port to mac?

from tesseract-ocr-ios.

zachberger avatar zachberger commented on July 25, 2024

tesseract-ocr the upstream c++ library and engine is supported on Mac and is available in macports. A discussion on why this project, an obj-c wrapper, currently doesn't work is being held on #60

from tesseract-ocr-ios.

ws233 avatar ws233 commented on July 25, 2024

If we add a mac support, we should change the name of the repo to something like TesseractOCR-objC.
Also, it seems it will take a lot of efforts to port this to mac, but we can try this.

And if we start this, how we should do it?
Use the same code, but insert a lot of define switches like #ifdef target_macos #elseif target_ios #endif
or use different projects for iOS/mac?

from tesseract-ocr-ios.

kevincon avatar kevincon commented on July 25, 2024

Yeah OSX uses AppKit and iOS uses UIKit which seem to use different things for the same name.

For example, UIImage on iOS is actually NSImage on OSX. :(

We could potentially use a #define to create platform-independent strings for some of the incompatibilities. For the image example, we could make #define TESSERACT_IMAGE which could map to NSImage for OSX and UIImage on iOS, then update all the methods to use that.

There might be more severe API incompatibilities we will uncover if we start to do the transition. I think we should wait to work on this until the 4.0.0 release is done so that we have a more stable API to work with before we start analyzing the differences in the two platforms. What do you think?

from tesseract-ocr-ios.

ws233 avatar ws233 commented on July 25, 2024

Yup. It's better to postpone this for a while.

from tesseract-ocr-ios.

mseel avatar mseel commented on July 25, 2024

any news for Mac OS X support?

Or could someone give me a hint, for getting tesseract in my OS X project?

from tesseract-ocr-ios.

tiagosiebler avatar tiagosiebler commented on July 25, 2024

@mseel if you have homebrew, you can install tesseract as a command line option: brew install tesseract --all-languages

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.