BlinkIdAnalyzer

class BlinkIdAnalyzer(blinkIdSdk: BlinkIdSdk, sessionSettings: BlinkIdSessionSettings, uxSettings: BlinkIdUxSettings, scanningDoneHandler: BlinkIdScanningDoneHandler, uxEventHandler: ScanningUxEventHandler? = null, onFrameProcessResult: (FrameProcessResultHandle) -> Unit? = null) : ImageAnalyzer

Analyzes images from the camera and processes them using the BlinkID SDK.

This class implements the ImageAnalyzer interface and is responsible for receiving image frames from the camera, sending them to the BlinkID SDK for processing and results handling. It also manages the scanning session, timeouts, and dispatches UI events.

Parameters

blinkIdSdk

An instance of the BlinkIdSdk used for processing images.

sessionSettings

The requested BlinkIdSessionSettings used to configure the scanning session. Note that some settings may be resolved or overridden by the SDK during session initialization.

Constructors

Link copied to clipboard
constructor(blinkIdSdk: BlinkIdSdk, sessionSettings: BlinkIdSessionSettings, uxSettings: BlinkIdUxSettings, scanningDoneHandler: BlinkIdScanningDoneHandler, uxEventHandler: ScanningUxEventHandler? = null, onFrameProcessResult: (FrameProcessResultHandle) -> Unit? = null)

Properties

Link copied to clipboard
open val defaultTargetResolution: @Nullable Size?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun analyze(image: ImageProxy)

Analyzes a single camera frame.

Link copied to clipboard
open override fun cancel()
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open override fun pauseAnalysis()
Link copied to clipboard
open override fun restartAnalysis()
Link copied to clipboard
open override fun resumeAnalysis()
Link copied to clipboard
open override fun timeoutAnalysis()
Link copied to clipboard
open fun updateTransform(matrix: @Nullable Matrix?)