utils

Detect Blur

Analyze an image to determine if it is blurry, using a configurable blur threshold.

Analyzes the image using the variance of the Laplacian method. Images with a variance below the specified threshold are considered blurry. Use this endpoint to automatically filter out low-quality, blurry images before further processing or model inference.

post/v1/utils/detect-blur

Request

  • Base URL: https://api.autoderm.ai
  • URL: https://api.autoderm.ai/v1/utils/detect-blur
  • Auth: HTTP bearer

Query parameters

thresholdnumber

The blur threshold. A value of 50 is recommended, which typically filters out the blurriest 30% of images.

Response

Successful Response

is_blurryboolean required

True if the image is considered blurry

variancenumber required

The computed variance of the Laplacian (blur metric)

Changes

No recorded changes to this operation across all 1 revision of this API.