You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to achieve the best possible (most accurate) OCR results. Images will be of invoices and receipts taken by users with their phones mostly.
We want to downscale unnecessary large images and try to reduce AI token usage by sending less pixels.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question
These all look like good operations to try. The parameters you've chose to use with sharpen are typically more suitable for printing onto paper so its suitability will depend on how the "AI" model you're using has been trained. Perhaps also experiment with contrast limiting adaptive histogram equalization.
Activity
lovell commentedon May 19, 2025
These all look like good operations to try. The parameters you've chose to use with
sharpenare typically more suitable for printing onto paper so its suitability will depend on how the "AI" model you're using has been trained. Perhaps also experiment with contrast limiting adaptive histogram equalization.