Advance Forgery Lite
Introduction
The "Advance Forgery Lite API" is a robust tool, designed to enhance document verification by detecting forgeries with precision. This API specializes in analyzing image documents for signs of tampering, photocopying, and screenshot capture. Its advanced algorithms can identify alterations made through image manipulation software like Photoshop, discern between original documents and photocopies, and detect when a document is merely a screenshot. With a simple cURL request, users receive a forgery score, indicating the authenticity of the document. A score and a clear 'forged' or 'not forged' status provides a straightforward, reliable measure of the document's integrity, making this API essential for secure document verification processes.
API details
Endpoint
POST https://api.signzy.app/api/v3/advanced-forgery/litePOST https://api-preproduction.signzy.app/api/v3/advanced-forgery/liteRequest body parameters
Parameter | Data Type | Description | Required |
|---|---|---|---|
url | String | Input image URL | Mandatory |
threshold | Float | The threshold value to be used to compare the document forgery score. The field can take a value between 0.05 and 0.95. The default value is 0.6 | Optional |
{
"url" :"https://preproduction-persist.signzy.tech/api/files/40365515/download/xxxxxx.png",
"threshold": 0.2
}Request Headers
Name | Value | Required | Description |
|---|---|---|---|
Content-Type | application/json | Mandatory | The type of content that the request body contains. |
Authorization | XXXXXXXXXXXXXXX | Mandatory | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |
Code samples
import http.client
import json
conn = http.client.HTTPSConnection("api-preproduction.signzy.app")
payload = json.dumps({
"url": "https://preproduction-persist.signzy.tech/api/files/25370889/download/xxxxxxxxxxxxxxxx.jpg",
"threshold": 0.2
})
headers = {
'Content-Type': 'application/json',
'Authorization': '<Your access token>'
}
conn.request("POST", "/api/v3/advanced/forgery_lite", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))Response body parameters
Parameter | Data Type | Description |
|---|---|---|
result | Object | An object containing the forgery status of the uploaded document. |
result.forgeryScore | Float | The score denotes the forgery level of the document. It is the maximum score out of splice, screenshot, and photocopy check. |
result.status | String | The forgery status of the document. The possible response values are: "forged" and "notForged". If the forgery score is more than the threshold then the document is "forged" else "notForged". |
{
"result": {
"forgeryScore": 0.46,
"status": "forged"
}
}Document related constraints
The size of the document should not exceed 5 MB.
For best results, ensure the image you use fits tightly in the camera view and horizontally aligned.
Supported document types:
- Image - JPEG, JPG, PNG and TIFF/TIF.
Contact Us for Any Assistance
If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email 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!