isBlurry

fun isBlurry(yuvData: YuvData, threshold: Double): Boolean

Analyzes YuvData directly to determine if it is blurry.

Return

true if the image variance is less than the threshold (blurry), false otherwise.

Parameters

yuvData

The safe, copied YUV data.

threshold

A value below which the image is considered blurry. A common starting point is 100.0.