analyze

open override fun analyze(image: ImageProxy)

Analyzes a single camera frame.

Called by CameraX for each frame delivered to the analyzer. It sends the image to the BlinkID SDK for processing and handles the results, timeouts and cancellations.

This implementation closes the provided ImageProxy before returning. Custom analyzer implementations must also close the image after processing it.

Timeout handling is driven by BlinkIdUxSettings.stepTimeoutDuration and BlinkIdUxSettings.inactivityTimeoutDuration.

Parameters

image

The camera frame to analyze.