forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com>
1.6 KiB
1.6 KiB
How Do I Handle Image Quality Errors?
Symptom
When calling an OCR API, the following error codes may occur related to image quality:
- Error code AIS.0102: Unsupported image format.
- Error code AIS.0103: Image size does not meet requirements.
- Error code AIS.0104: Unsupported image type or poor image quality.
Solution
- Check whether the image format and pixel meet the requirements by referring to Constraints and Limitations in Optical Character Recognition Service Overview.
- Verify that the Base64 encoding of the image is complete.
- Check the image quality to ensure that the text in the image is clear and legible to the naked eye.
- Verify that the API function matches the input image.
Parent topic: Error Codes