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

Resize (very) large images when sending them to Google Cloud Vision #10764

Open
raphael0202 opened this issue Sep 3, 2024 · 0 comments
Open
Labels

Comments

@raphael0202
Copy link
Contributor

raphael0202 commented Sep 3, 2024

Google Cloud Vision accepts images up to 75 million px. When images are larger, an error response is returned by Google:

{"code": 3, "message": "Image too large. Please limit to 75 megapixels."}

We should resize large images before sending them to Google Cloud Vision.

@raphael0202 raphael0202 added the OCR label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To discuss and validate
Development

No branches or pull requests

1 participant