BlinkIdAnalyzer

class BlinkIdAnalyzer(blinkIdSdk: BlinkIdSdk, sessionSettings: BlinkIdSessionSettings, uxSettings: BlinkIdUxSettings, scanningDoneHandler: BlinkIdScanningDoneHandler, uxEventHandler: ScanningUxEventHandler? = 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 BlinkIdSessionSettings used to configure the capture session.

Constructors

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

Functions

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

Analyzes an image from the camera.

Link copied to clipboard
open override fun cancel()
Link copied to clipboard
open override fun close()
Link copied to clipboard
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