/identity/get/ocr/ktp/v3

Description

The PowerCred OCR APIs provide comprehensive tools to seamlessly integrate our services into your platform. This guide will walk you through the process of incorporating PowerCred's powerful vision capabilities into your applications, utilising our APIs.

With support for various programming languages and platforms, including GO, you can quickly integrate advanced vision functionalities into your projects.

Key Features

KTP Image as URL

Users can now upload KTP images directly by providing URLs, eliminating the need for manual file uploads leading to reduced latency experience & faster response times.

Confidence Scores

Each field extracted from the KTP document is furnished with a confidence score, serving as a gauge of the system's trust in the precision of the extraction procedure.

You can customise the confidence scores using the API request parameters. When both document_confidence_scores and field_confidence_scores are activated, the API will provide OCR results along with their respective confidence scores. Even if these fields are not included in the request parameters, the API will still generate the output.

To disable this feature, simply include the field in the request parameter and set its value to False. In cases where these features are disabled, the output will appear as shown below where label are still present but the value will be set to False

{
  "data": {
    "nik": {
      "value": "3276077012790001",
      "confidence": False
    },
    "city": {
      "value": "KOTA DEPOK",
      "confidence": False
    },
    "rt_rw": {
      "value": "003/002",
      "confidence": False
    },
    "state": {
      "value": "PROVINSI JAWA BARAT",
      "confidence": False
    },
    "gender": {
      "value": "PEREMPUAN",
      "confidence": False
    },
    "address": {
      "value": "JEMBATAN SERONG",
      "confidence": False
    },
    "district": {
      "value": "CIPAYUNG",
      "confidence": False
    },
    "religion": {
      "value": "ISLAM",
      "confidence": False
    },
    "full_name": {
      "value": "JOHN DOE",
      "confidence": False
    },
    "blood_type": {
      "value": "-",
      "confidence": False
    },
    "occupation": {
      "value": "MENGURUS RUMAH TANGGA",
      "confidence": False
    },
    "nationality": {
      "value": "WNI",
      "confidence": False
    },
    "date_of_birth": {
      "value": "30-12-1993",
      "confidence": False
    },
    "marital_status": {
      "value": "KAWIN",
      "confidence": False
    },
    "place_of_birth": {
      "value": "JAKARTA",
      "confidence": False
    },
    "administrative_village": {
      "value": "CIPAYUNG",
      "confidence": False
    }
  },
  "document_confidence_scores": {
    "brightness": False,
    "taken_from_screen": False,
    "blur_image": False,
    "flash_detection": False,
    "crop_detection": False
  }
}

Confidence Scoring Guidelines & Recommendations

Scores range from 0 to 100, with specific ranges assigned to different levels of readability. Based on the confidence score, users must be provided with actionable recommendations to guide their next steps in the document validation process.

ScoresIndicationRecommendation
0 - 40Poor ReadabilityIndicates poor readability of the extracted field.
Users must be recommended to resubmit the document for improved accuracy.
41 - 75Average ReadabilityIndicates average readability of the extracted field.
Users must be advised to validate the information for completeness and accuracy.
76 - 100High ReadabilityIndicates high readability of the extracted field.
The extracted information is most likely to be accurate, but users may still verify.