FaceDetectionResult

Face detection result

Package com.appliedrec.verid.core2

public class FaceDetectionResult

Methods

getImageSize

Introduced in version 1.0.0

public getImageSize()

Get the size of the image in which the face was being detected.

Returns

com.appliedrec.verid.core2.Size
Image size in pixels

getFace

Introduced in version 1.0.0

public getFace()

Get the detected face.

May be null if no face was detected in the image.

Returns

com.appliedrec.verid.core2.Face
Face or null

getFaceBounds

Introduced in version 1.0.0

public getFaceBounds()

Get the bounds of the detected face.

These bounds may be smoothed using values from faces detected previously in the session.

If you are displaying the bounds to the user use these bounds instead of the bounds from the face.

Returns

android.graphics.RectF
Rectangle representing the detected face

getFaceAngle

Introduced in version 1.0.0

public getFaceAngle()

Get the angle of the detected face.

The angle may be smoothed using values from faces detected previously in the session.

If you are displaying the angle to the user use this angle instead of the angle from the face.

Returns

com.appliedrec.verid.core2.EulerAngle
Face angle

getStatus

Introduced in version 1.0.0

public getStatus()

Get the status of face detection.

Returns

com.appliedrec.verid.core2.session.FaceDetectionStatus
Face detection status

getRequestedBearing

Introduced in version 1.0.0

public getRequestedBearing()

Get the requested bearing

Returns

com.appliedrec.verid.core2.Bearing
Bearing