Image Quality Analysis
Introduction
This is key feature of ID intelligence API. This helps in image quality analysis, allowing it to assess the quality of ID card images. It can evaluate factors such as sharpness, text quality, brightness, and compression quality. By analyzing these parameters, it provides a score indicating the overall image quality.
API Details
You need to pass performImageQualityAnalysis as True in order to use this feature. You can also set your threshold of acceptance as per your business usecase. Use field imageQualityThreshold to set threshold as per your business requirement.
We have mentioned only this feature in the below Curl. For Curl with complete features, refer the ID Intelligence
Sample Curl
curl --location 'https://preproduction.signzy.tech/api/v2/patrons/{patronId}/documentIntelligence' \
--header 'authorization: {signzy-api-authKey}' \
--header 'content-type: application/json' \
--data '{
"task": "idIntelligence",
"essentials": {
"frontUrl": "<front-image-url>",
"backUrl": "<back-image-url>",
"country": "<country>",
"idType": "<id-type> ",
"performImageQualityAnalysis": true/false,
"imageQualityThreshold": 0.5
}
}'Response
{
"essentials": {
"frontUrl": "",
"backUrl": "",
"country": "",
"idType": "",
"performImageQualityAnalysis": true/false,
"imageQualityThreshold": 0.5 (optional)
},
"id": "60xxxxxxxxxxxxxxxxxxxxxxxxxx",
"patronId": "60xxxxxxxxxxxxxxxxxxxxxxxxxx",
"task": "idIntelligence",
"result": {
"imageQualityFront": {
"qualityScores": {
"textQuality": {
"valid": "yes/no",
"score": "...validity score..."
},
"sharpness": {
"valid": "yes/no",
"score": "...validity score..."
},
"brightness": {
"valid": "yes/no",
"score": "...validity score..."
},
"compressionQuality": {
"valid": "yes/no",
"score": "...validity score..."
}
},
"score": "...total score...",
"summary": "...summary...",
"msg": "...msg...",
"status": "...status...",
"imageQuality": "...image quality..."
},
"imageQualityBack": {
"qualityScores": {
"textQuality": {
"valid": "yes/no",
"score": "...validity score..."
},
"sharpness": {
"valid": "yes/no",
"score": "...validity score..."
},
"brightness": {
"valid": "yes/no",
"score": "...validity score..."
},
"compressionQuality": {
"valid": "yes/no",
"score": "...validity score..."
}
},
"score": "...total score...",
"summary": "...summary...",
"msg": "...msg...",
"status": "...status...",
"imageQuality": "...image quality..."
},
}
}
}
}Getting help
Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.
You can reach out to us at [email protected]. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!