Why Is an Image Quality Error Displayed When I Call an API?
Symptom
When I call an OCR API, one of the following image quality errors is reported.
- Error code AIS.0102: The image format is not supported.
- Error code AIS.0103: The image size does not meet the requirements.
- Error code AIS.0104: The image is not supported or is of poor quality.
Solution
- Check whether the image format and pixel meet the requirements by referring to Constraints.
- Check whether the Base64 code for the image is complete.
- Check the image quality. Specifically, check whether the text in the image is clear and visible to naked eyes.
- Check whether the API function matches the input image.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.