PassiveLivenessDetectionModel
A class derived from LivenessDetectionModel containing details specific to passive liveness detection
Last updated
A class derived from LivenessDetectionModel containing details specific to passive liveness detection
Last updated
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
@objc final public var livenessConfidence: Float { get }
The liveness confidence of the passive liveness detection.
Range: 0 - 1
Due to the laws of physics and limitations that exists between humans and machines, values will rarely be exactly 1 or 0 but should not be discredited.
The closer the value is to 0 the more the subject is perceived to be a spoof. The closer the value is to 1 the more the subject is perceived to be genuine.
override final public func encode(to encoder: Encoder) throws
This function also calls its super function
Encodes the model using the encoder provided. Used to convert the model to JSON.
Name
Type
Description
Float
The liveness confidence of the passive liveness detection.
Signature
Return Type
Description
Void
Encodes the model using the encoder provided. Used to convert the model to JSON.