
Scores each Rectangle<Double> face box in an Image for passive presentation-attack detection with a dual MiniFASNet anti-spoofing ensemble, emitting one liveness Classification per face -- ``live`` / ``print`` / ``replay`` plus confidence -- in box order.
Detect faces in a selfie, score each face for liveness, and ship the per-face verdicts as JSON for an identity-validation check.
Keep only genuine-live faces from a live camera by gating the liveness verdict through a filter before downstream face matching.
Classification is emitted per input face box, in input box order, so an empty box list yields an empty output without running the network and output cardinality always matches the input box list.model is scanned recursively for the MiniFASNet ONNX checkpoints, whose architecture names recover the per-model crop scale; a checkpoint whose filename carries no recognised architecture name aborts startup.device when none is visible falls back to CPU with a warning and continues at CPU speeds.device are captured once at startup, so runtime changes take effect only after a redeploy.Automated release