Version 2

Added blurriness detection, brightness detection, and color detection

POST https://okaydocdemo.innov8tif.com/ekyc/api/ekyc/v1/doc-verify/kh-id-back

Request Body

{
    "status": "success",
    "messageCode": "api.success",
    "message": "",
    "id": "935cee99-e2fe-43a3-b02c-d98a8661bcdc",
    "methodList": [
        {
            "method": "landmark",
            "label": "Landmark Analysis Result",
            "componentList": [
                {
                    "code": "l-kh-id-back-logo1",
                    "label": "Logo 1",
                    "value": "94.56533193588257",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-logo1",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-logo2",
                    "label": "Logo 2",
                    "value": "94.21520233154297",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-logo2",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-logo3",
                    "label": "Logo 3",
                    "value": "92.07828640937805",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-logo3",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-kingdom",
                    "label": "Kingdom of Cambodia",
                    "value": "90.77043533325195",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-kingdom",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-national",
                    "label": "National Religion King",
                    "value": "85.3787899017334",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-national",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-card",
                    "label": "Khmer Identity Card",
                    "value": "94.36067938804626",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-card",
                    "refImageUrl": null
                },
                {
                    "code": "l-kh-id-back-2-lines",
                    "label": "Secruity Statements",
                    "value": "86.49997115135193",
                    "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=l-kh-id-back-2-lines",
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBlurDetection",
            "label": "ID Blur Detection",
            "componentList": [
                {
                    "code": "idBlurDetection",
                    "label": "ID Blur Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "idBrightnessDetc",
            "label": "ID Brightness Detection",
            "componentList": [
                {
                    "code": "idBrightnessDetc",
                    "label": "ID Brightness Detection",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        },
        {
            "method": "colorMode",
            "label": "Color Mode",
            "componentList": [
                {
                    "code": "colorMode",
                    "label": "Color Mode",
                    "value": "Pass",
                    "imageUrl": null,
                    "refImageUrl": null
                }
            ]
        }
    ],
    "outputImageList": [
        {
            "tag": "cropId",
            "imageUrl": "/public/image/v2/935cee99-e2fe-43a3-b02c-d98a8661bcdc?type=cropId"
        }
    ]
}

Input Example

JSON
{
    "apiKey": "apiKey",
    "caseNo": "CASE 123",
    "idImageBase64Image": "/9j/4AAQSkZJ...fYs1wRtQHt//Z\r\n" 
}

Last updated