Input File Specification for OCR

Data Input Specification for OCR

Component
Details
Minimum KTP image area
Minimum dimension is 300 x 400 px and max dimension below 4000x3000 pix
KTP orientation
Horizontal
Ideal capture condition
KTP frame is clear and not too far away
Accepted image format
JPG or JPEG
Accepted image size
≤ 800 KB
Compression type
Bicubic

Disclaimer

  1. 1.
    This OCR can only be done for reading KTP (Indonesian issued ID cards). If documents other than the KTP are uploaded, it is possible that they can still be entered into the IdentifAI KTP OCR analytics pipeline.
  2. 2.
    In the character reading process, the analytic will handle the text normalization process and carried out from row mapping to template data. Thus, it will ensure the appropriate word context. Here's a list of the mapped sections.
KTP data
Mapping
NIK
-
Name
-
Place, Date of birth
-
Gender
√ (partially mapped to templates)
Address
-
Religion
√ (partially mapped to templates)
Marital status
√ (partially mapped to templates)
Occupation
√ (partially mapped to templates)
Nationality
√ (partially mapped to templates)
Validity Period
-
City / Regency
-
Province
√ (mapped to templates)
RT / RW
-
Kelurahan / Village
-
District
-
  1. 1.
    Our OCR accuracy is capable to reach 91.10% accuracy level. Our main recommendation that preferably for fulfilling accuracy level, are : Fitted cut towards the KTP and no other background detected.
  2. 2.
    Reading the ID card with the background can reduce the accuracy results because of the process of resizing and cropping the KTP area.
  3. 3.
    We recommend that the uploaded photos have a file size that does not exceed 800 Kilobytes (KB).
  4. 4.
    Nodeflux does not save uploaded photo data, uploading sent photos will only pass through the processing pipeline.
  5. 5.
    The recommended KTP image resolution is at least 300 x 400 px. If a resizing process is needed, it is advisable to resize based on the ratio.
  6. 6.
    Suggestions for taking pictures of KTP:
  • It is recommended to capture at close range, for longer distances it is not recommended because it reduces the clarity of the characters on the KTP.
  • Take the KTP position in a horizontal position.
  • Avoid taking pictures that reflect light close to the KTP text area (light reflection and glare effect will make KTP data unreadable).
  • Avoid taking pictures with blurry conditions, lighting that is too dark, lighting that is too bright, or other extreme conditions.