analyze

open override fun analyze(image: ImageProxy)

Analyzes an image from the camera.

This function is called for each frame captured by the camera. It sends the image to the BlinkID SDK for processing and handles the results, timeouts and cancellations.

Current implementation of the analyzer cancels the session if the timeout occurs. The timeout timer restarts every time the scanning is paused (onboarding dialog, help dialog, card flip animation). Default timeout value can be checked at BlinkIdUxSettings.stepTimeoutDurationMs.

Parameters

image

The ImageProxy containing the image to be analyzed.