Liveness

@JsonClass(generateAdapter = true)
data class Liveness(@Json(name = "estimations") val estimations: Estimations?, @Json(name = "prediction") val prediction: Int?)

Constructors

Link copied to clipboard
constructor(@Json(name = "estimations") estimations: Estimations?, @Json(name = "prediction") prediction: Int?)

Properties

Link copied to clipboard
Link copied to clipboard

Prediction of the image to be a photo of a real person (0 - spoof, 1 - real, 2 - unknown).