-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[offtopic] make a reimplementation in C++ #709
Comments
I'm interested, particularly for inference. I don't have great C++ skills, but I may be able to write a bare bones Rust implementation that can compile into a C library. |
I am interested, too. |
I'm interested, thanks |
Totally agree, easyocr give great results thanks so much to the author and contributors Having a C++ implementation would be great. I'm coding in C++ for more than 5 years @Kromtar please let me know if I can help |
count on me |
I started this, anyone else start? |
On my side start working on translating the craft algorithm (used by easyocr for text detection) in C++. @kevinkazzo if you want we can join our effort? |
It would be great if someone could do some kind of planning so that everyone willing to help can address those different issues without overlapping each other. I know it's a lot of work I'm proposing for the person who would do it, but it would help a lot to speed up development. |
Maybe this repository is a good starting point |
sorry I forgot to update. I did this, will respond on my other github and upload the project and start allowing people to make PRs to improve it. Did not optimize it entirely, but got the detector and recognition network working in plain torchscript/ c++. Even got it in ONNX |
Great! |
When can we expect to see your amazing project? :) |
[C++ software engineer] |
Hey all, this is @kevinkazzo, on my main account will post it up by tomorrow evening! |
hey all! uploaded here it is! - > https://github.com/ksasso1028/EasyOCR-cpp |
For those who don't want to use libtorch, I implemented easyocr with opencv, onnxruntime and xtensor. This is not a full implementation, but I will include it in a library of mine that will come out later, for now it is just this. The ONNX model is converted with the notebook provided by samiechan here If you have any problems or suggestions about my code, I'm happy to listen to your suggestions/questions. I will edit this message to add CRAFT model when it's ready. https://gist.github.com/A2va/64eea11018192284c7ce3db7bb3801bc |
Thank for those sharing, I'll give it a try! |
I would like to know if the community that uses this repository would be interested in a C++ reimplementation. This OCR has given me excellent results so far. But the fact that it is in Python and uses Torch makes it difficult to compile it in an optimized way. I am planning to make an exact reimplementation of the current version of EasyOCR but in C++ and using TorchScript. It is a lot of work. Is anyone else looking for a solution like this?
Greetings
The text was updated successfully, but these errors were encountered: