process

Process the sample and update internal state of the controller. This operation should be called on background thread.

Return

Processing result.

Parameters

sample

Sample (or snapshot) at a single point in time.

Throws

If the process is already finished.


abstract fun process(bgraRawImage: BgraRawImage, timestampMillis: Long): FaceAutoCaptureController.ProcessingResult

Deprecated

Use method: process(sample: Sample).

Process the image and update internal state of the controller. This operation should be called on background thread.

Return

Processing result.

Parameters

bgraRawImage

BGRA raw image.

timestampMillis

Timestamp of the image in milliseconds.

Throws

If the face auto capture process is already finished.