ImagesResult

@JsonClass(generateAdapter = true)
data class ImagesResult(@Json(name = "filename") val filename: String, @Json(name = "status") val status: Int, @Json(name = "liveness") val predictionResult: PredictionResult?, @Json(name = "error") val description: LivenessError)

Result model of liveness check by image.

Constructors

Link copied to clipboard
constructor(@Json(name = "filename") filename: String, @Json(name = "status") status: Int, @Json(name = "liveness") predictionResult: PredictionResult?, @Json(name = "error") description: LivenessError)

Properties

Link copied to clipboard

Error description of liveness check.

Link copied to clipboard

Image name.

Link copied to clipboard

Liveness check result.

Link copied to clipboard
val status: Int

Image status. 0 - liveness prediction failed, 1 - liveness prediction succeded.