process
abstract fun process(sample: FaceAutoCaptureController.Sample): FaceAutoCaptureController.ProcessingResult
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
bgra Raw Image
BGRA raw image.
timestamp Millis
Timestamp of the image in milliseconds.
Throws
If the face auto capture process is already finished.