Face capturing

Allows you to use the built-in face capturing activity:

Java
Kotlin
Java
Face.Instance().presentFaceCaptureActivity(MainActivity.this, faceCaptureResponse -> {
// do smth
});
Kotlin
Face.Instance().presentFaceCaptureActivity(this@MainActivity) { faceCaptureResponse: FaceCaptureResponse? ->
// do smth
}

Response

FaceCaptureResponse
└── image
└── error

Parameter

Description

image

An image that was taken

error

Error