-
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
Converting BufferedImage to PIX image #517
Comments
Duplicate of issue #224. Until someone (you?) contributes a |
Ok, Thank you. |
BTW, if you end up creating the equivalent of a |
…g access to image data of Tesseract (issue #517)
I've finally implemented Java2DFrameConverter converter = new Java2DFrameConverter();
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 |
This doesn't work, have tried with test image. Seems to scramble the image. |
@kev2316 See issue bytedeco/javacv#1115. |
This works. Thanks @saudet |
I use javac with tesseract in my app, and I want to convert BufferedImage to PIX image to use it like the BasicExample.java,
I tried this, but did not work.
I searched a lot, but can figure out anything.
Thanks in advance.
The text was updated successfully, but these errors were encountered: