About this endpoint
What it does
Uploads an image file and analyzes it for blur using Laplacian variance. The response returns a JSON object with blur classification and supporting metrics.
Request Body
| Parameter | Type | Description |
|---|---|---|
| file | Binary | Binary image file to analyze. |
Response
Returns a JSON object with four fields: blurry as a boolean, threshold as an integer, confidence as a string enum, and laplacian_variance as a number. Lower variance indicates a blurrier image; the schema notes that the threshold is 100.
| Parameter | Type | Description |
|---|---|---|
| blurry | Boolean | Whether the image is classified as blurry. |
| threshold | Integer | The threshold used for blur classification. |
| confidence | ENUM | Confidence level of the result. Allowed values: low, medium, high. |
| laplacian_variance | Number | The Laplacian variance score. Higher values indicate a sharper image; the schema notes that the threshold is 100. |


