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

Tesseract only extract from png images and not jpeg? #151

Closed
spundhan opened this issue Dec 24, 2024 · 3 comments · Fixed by #152
Closed

Tesseract only extract from png images and not jpeg? #151

spundhan opened this issue Dec 24, 2024 · 3 comments · Fixed by #152
Assignees
Labels
bug Something isn't working

Comments

@spundhan
Copy link

Normally tesseract should extract from jpeg images as well. Any reason why it throws an exception for jpg image?

@enoch3712 enoch3712 self-assigned this Dec 24, 2024
@enoch3712 enoch3712 added the bug Something isn't working label Dec 24, 2024
@enoch3712
Copy link
Owner

Hello @spundhan!

Just tested, you are right!. Its a bug, forgot to put on the the SUPPORTED_FORMATS

SUPPORTED_FORMATS = ["jpeg", "png", "bmp", "tiff", "pdf"]

Give me 5 mins, gonna do an hotfix

@enoch3712
Copy link
Owner

@spundhan You can update to 0.0.31, will work just fine.

Thanks for the heads up!

@spundhan
Copy link
Author

Thanks! You are awesome! Merry Christmas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants