PassiveFaceCaptureAnalyzer

This class is used to analyze the pose of the user's face.

Constructors

Link copied to clipboard
public PassiveFaceCaptureAnalyzer PassiveFaceCaptureAnalyzer(PassiveFaceCaptureSessionListener listener, PassiveFaceCaptureSession session, Boolean isFirstFrameNotified, Mutex mutex, Boolean isErrorNotified)

Properties

Link copied to clipboard

flag to check if the first frame has been notified

Link copied to clipboard

Flag to check if the first frame has been notified

Link copied to clipboard

The listener for the passive face capture session

Link copied to clipboard
private final Mutex mutex

Mutex to synchronize the processing of the handling errors

Link copied to clipboard
private PassiveFaceCaptureSession session

The passive face capture session

Functions

Link copied to clipboard
public Unit analyze(ImageProxy image)

Analyzes the image and processes it using the SenseCrypt SDK

Link copied to clipboard

The listener for the passive face capture session

Link copied to clipboard
private final Mutex getMutex()

Mutex to synchronize the processing of the handling errors

Link copied to clipboard
private final PassiveFaceCaptureSession getSession()

The passive face capture session

Link copied to clipboard
private final Boolean isErrorNotified()

flag to check if the first frame has been notified

Link copied to clipboard
private final Boolean isFirstFrameNotified()

Flag to check if the first frame has been notified

Link copied to clipboard
private final Unit processFrame(ByteArray imgBytes)

Processes the frame using the SenseCrypt SDK

Link copied to clipboard
private final Unit setErrorNotified(Boolean isErrorNotified)

flag to check if the first frame has been notified

Link copied to clipboard
private final Unit setFirstFrameNotified(Boolean isFirstFrameNotified)

Flag to check if the first frame has been notified

Link copied to clipboard
private final Unit setSession(PassiveFaceCaptureSession session)

The passive face capture session