Here are some common errors encountered with Optical Character Recognition (OCR) for KTP (Indonesian National Identity Card) and potential solutions:
A. IMAGE_INVALID_FORMAT
Description: The image format is invalid. The acceptable image formats are JPEG/JPG or PNG. Additionally, the request's content type must be set to image/jpeg or image/png.
Possible Causes:
The uploaded image is not in JPEG, JPG, or PNG format. The request content type is not correctly set to image/jpeg or image/png.
Solution:
Ensure the image you are uploading is in one of the acceptable formats: JPEG, JPG, or PNG.
Check the content type of your request and make sure it is set to image/jpeg or image/png do not directly replace the file type with JPEG, JPG, or PNG.
B. IMAGE_INVALID_SIZE
Description: The image size is invalid. The maximum image size should be less than 2MB, and the image dimensions should be between 256x256 and 4096x4096 pixels.
Possible Causes:
The uploaded image exceeds the size limit of 2MB. The dimensions of the uploaded image are outside the acceptable range (256x256 to 4096x4096 pixels).
Solution:
Resize the Image: If the image dimensions are too large or too small, resize the image to fit within the acceptable range of 256x256 to 4096x4096 pixels. Compress the Image: If the image size is larger than 2MB, compress the image to reduce its size without compromising too much on quality.
C. OCR_NO_RESULT
Description: The OCR check failed, and the system was unable to find any KTP field in the uploaded picture.
Possible Causes:
The image quality is too poor (blurry, low resolution, etc.), making it difficult for the OCR system to detect text. The KTP is not properly aligned or fully visible in the image. There is glare, shadows, or other obstructions affecting the readability of the KTP. The image contains handwritten notes or foreign objects that confuse the OCR system.
Solution:
- Improve Image Quality: Ensure the image is clear and of high resolution. Use good lighting and avoid any glare or reflections.
- Proper Alignment: Make sure the KTP is properly aligned and fully visible in the image, without any obstructions.
- Remove Handwritten Notes: Ensure the KTP does not have any handwritten notes or foreign objects that could interfere with OCR.
- Manual Verification: If necessary, manually verify and correct the OCR results, especially for critical information.
Need Further Assistance?
If the issue still persists, please contact us at help@advance.ai or submit a ticket via advance.ai support for further assistance.
Comments
0 comments