Comments (10)
watch this and expect good news for a long time
from tesseract-ocr-ios.
I have same question ! If not, why not? I think it should because it is present in cocapods
from tesseract-ocr-ios.
You are free to port it to mac and provide a pull request with your changes.
from tesseract-ocr-ios.
is any tutorial or examples exist, how port to mac?
from tesseract-ocr-ios.
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.
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.
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.
Yup. It's better to postpone this for a while.
from tesseract-ocr-ios.
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.
@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)
- .
- User-Words file not loaded: Error: failed to load user-words HOT 5
- doesn't work with 64bpp images
- pod failed HOT 1
- Does not detects images 100%
- What's means with *.cube.* ? e.g. eng.cube.fold
- Why does the testsdata folder exist in the project? HOT 2
- Why don't we upgrade to the latest Tesseract?
- cocoapods 5.0.1 error
- Xcode 12.0.1 build is failing when trying to run it on the simulator. HOT 2
- RecognitionQuestion
- Apple Silicon (arm64; M1) support HOT 2
- Thread 1: EXC_BAD_ACCESS (code=1, address=0x163940000)
- Framework not found for Mac OS HOT 1
- 你好 这句一定闪退
- PDF creation not working
- self.tesseract!.recognize() is crashing in Acuant MRZ
- How to update Tesseract version
- Target 'TesseractOCRiOS' (project 'Pods') has copy command HOT 1
- cannot load language 'eng' HOT 3
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 tesseract-ocr-ios.