-
Notifications
You must be signed in to change notification settings - Fork 745
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
IplImage to PIX converter #224
Comments
Would be nice to have! Shouldn't be hard to do. I'd see it as a |
I have some solution:
:) And i will think above the LeptonicaFrameConverter. |
… data to Tesseract (issue bytedeco/javacpp-presets#224)
I've finally implemented OpenCVFrameConverter.ToIplImage converter = new OpenCVFrameConverter.ToIplImage();
LeptonicaFrameConverter converter2 = new LeptonicaFrameConverter();
PIX pix = converter2.convert(converter.convert(img)); Please give it a try with the snapshots (http://bytedeco.org/builds/) and let me know if you encounter any issues with it! Thanks |
Hello! Can you please help me? When I tried to use new converter, I got an error: Exception in thread "main" java.lang.NoSuchMethodError: org.bytedeco.javacpp.lept$PIX.createHeader(III)Lorg/bytedeco/javacpp/lept$PIX; Also, when I tried to create class by myself by copying https://github.com/bytedeco/javacv/blob/master/src/main/java/org/bytedeco/javacv/LeptonicaFrameConverter.java Used dependency is: |
LeptonicaFrameConverter is now included in JavaCV 1.4.2, enjoy! @Olka95 If you put all the JAR files in your class path, it will work, but let me know if that stills doesn't work for some reason. |
Thank you very much! I found out, what the problem was. I didn't use late version of the leptonica library.
|
For tesseract ocr i need use PIX format.
But i have IplImage as source.
How can i convert IplImage to PIX?
The text was updated successfully, but these errors were encountered: