Advance Forgery Check
Introduction
This API allows you to check if an image is forged or not by providing various verification parameters. It uses machine learning algorithms to detect forgeries in identity cards, passports, driver's licenses, and other official documents.
Sample cURL
curl --request POST \
--url https://signzy.tech/api/v2/patrons/...patronID.../forgeries \
--header 'Accept: */*' \
--header 'Accept-Language: en-US,en;q=0.8' \
--header 'Authorization: <Access-Token>' \
--header 'content-type: application/json' \
--data '{"task":"advanceForgery","essentials":{"url":"...url of the image...", "documentType":" ", "textfields": {"field1":"value"}, "threshold": 60, "callBackUrl": "-- callback url --"}}'Parameter | Type | Description |
|---|---|---|
task | string | The type of forgery detection task. Valid values are basicForgery and advanceForgery. |
essentials.url | string | The URL of the image to be checked for forgery. |
essentials.documentType | string | The type of the document to be checked. This parameter is required for the advanceForgery task. |
essentials.textfields | object | A dictionary of fields and their corresponding values to be verified in the document. This parameter is required for the advanceForgery task. |
essentials.threshold | integer | The minimum threshold for matching the textfields in the document. This parameter is optional and defaults to 60. |
essentials.callBackUrl | string | The URL to which the API should send a POST request with the results. This parameter is optional. |
id | string | The unique ID for the request. |
patronId | string | The unique ID for the patron. |
result | object | The forgery detection result object. This parameter is returned in the API response and is not required in the input. |
Sample API Response
{
"trackingId": ".. a unique Id reference Id for tracking/debugging puposes "
}
Parameter | Description |
|---|---|
trackingId | A unique reference Id for tracking and debugging purposes. |