post
https://api.datakeen.co/reco/forgery-detection
Sends a document (PDF or Image) for forensics analysis to detect potential fraud. This synchronous API processes documents to identify anomalies.
Control categories
The control categories returned by the API depend on the input file type:
Common Controls:
- Metadata Controls: Verifies file metadata (e.g., software used, multiple versions).
Image-Specific Controls:
- Compression Artifacts: analyzes consistency of compression blocks.
- Copy-Move: detects blatent duplicated regions within the image.
- Copy-Move Advanced: refined duplicated regions detection.
- Double JPEG: detects artifacts from multiple save actions.
- Error Level Analysis (ELA): analyzes compression levels for insertions.
- EXIF Metadata: checks for consistency in camera/software tags.
- File Integrity: verifies the internal structure of the image file.
- Frequency Domain: analyzes the image spectrum for anomalies.
- Noise Patterns: checks for inconsistencies in sensor noise.
- Splicing: detects boundaries of pasted elements.
PDF-Specific Controls:
- Content Anomalies: consistency of page dimensions.
- Digital Signatures: presence and validity of digital signatures.
- File Integrity: verification of file structure integrity.
- Font Consistency: analysis of font usage uniformity.
- Incremental Updates: detection of file modifications (multiple xref sections).
- Metadata Forensics: checks for stripped or inconsistent metadata.
- Object Structure: validation of internal object hierarchy.
- Text Anomalies: detection of irregular text blocks.
- Text Content: analysis of text volume and density.
- Xref Structure: checks for suspicious cross-reference table spacing.
Status codes
The API returns the following status codes in the prediction result:
| Code | Code Name | Description |
|---|---|---|
| 1.0 | conform | The document has been fully verified by the AI; it is valid and compliant |
| 5.0 | suspicious | At least one element in the document is suspected to be fraudulent |
Maximum file size: 5 MB. Maximum number of calls per minute: 10 calls.
