doc-exports/docs/ocr/umn/ocr_01_0096.html
Sheng, Lichang 86871abfe4 OCR usermanual 20240111 v2
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>
2024-01-17 10:42:31 +00:00

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.