Skip to content
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

[feature request] support tiff #1

Open
bung87 opened this issue May 31, 2022 · 3 comments
Open

[feature request] support tiff #1

bung87 opened this issue May 31, 2022 · 3 comments

Comments

@bung87
Copy link
Contributor

bung87 commented May 31, 2022

ref: https://github.com/tesseract-ocr/tessdoc/blob/main/InputFormats.md

@DavideGalilei
Copy link
Owner

DavideGalilei commented Jun 1, 2022

I am currently using the pixie library to read images. My guess is that it doesn't work yet for tiff images, but I didn't try it out yet. If that is the case, please consider opening an issue on https://github.com/treeform/pixie, asking for TIFF images support

@bung87
Copy link
Contributor Author

bung87 commented Jun 1, 2022

sure, I'll do that, is there a way passing image with meta info and raw bytes to tesseract so we can avoiding image processing on user side, I know tesseract cli bundled with image processing libs.

@DavideGalilei
Copy link
Owner

is there a way passing image with meta info and raw bytes to tesseract

Yes, it is possible, however you would need to use the raw tesseract api. I provided a minimal example on how to do that here: https://github.com/DavideGalilei/nimtesseract/blob/master/examples/advanced.nim#L30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants