ActiveFaceCaptureAnalyzer

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

Constructors

Link copied to clipboard
public ActiveFaceCaptureAnalyzer ActiveFaceCaptureAnalyzer(ActiveFaceCaptureSessionListener listener, Context context, ActiveFaceCaptureSession session, Boolean isFirstFrameNotified)

Properties

Link copied to clipboard
private final Context context
Link copied to clipboard

Flag to check if the first frame has been notified

Link copied to clipboard

The listener for the active face capture session

Link copied to clipboard
private ActiveFaceCaptureSession session

The active 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
private final Context getContext()
Link copied to clipboard

The listener for the active face capture session

Link copied to clipboard
private final ActiveFaceCaptureSession getSession()

The active face capture session

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 setFirstFrameNotified(Boolean isFirstFrameNotified)

Flag to check if the first frame has been notified

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

The active face capture session