MiniFasNetLivenessDetector
class MiniFasNetLivenessDetector(engine: InferenceEngine, model: ByteArray, cropScale: Double = 2.7, threshold: Double = 0.5, options: SessionOptions = SessionOptions()) : LivenessDetector
Passive single-frame liveness using MiniFASNet (Apache-2.0). Model I/O contract: [1,3,80,80] BGR 0..255 in, 3 logits out where class 1 is "real".
Security note: this stops casual print/replay attacks only. It is not certified anti-spoofing (e.g. iBeta PAD) and must not be the sole control for high-assurance flows.
Constructors
Link copied to clipboard
constructor(engine: InferenceEngine, model: ByteArray, cropScale: Double = 2.7, threshold: Double = 0.5, options: SessionOptions = SessionOptions())