Demo of spoofing detection (anti-spoof-mn3) for webcams
なりすまし検出(anti-spoof-mn3)のWebカメラ向けデモです。モデルはPINTO_model_zoo/191_anti-spoof-mn3からONNX形式のモデルを使用しています。 mediapipe 0.8.8 or later OpenCV 3.4.2 or later onnxruntime 1.8.1 or later デモの実行方法は以下です。 python demo_anti_spoof.py –deviceカメラデバイス番号の指定デフォルト:0 –widthカメラキャプチャ時の横幅デフォルト:1280 –heightカメラキャプチャ時の縦幅デフォルト:720 –model_selectionモデル選択(0:2m以内の検出に最適なモデル、1:5m以内の検出に最適なモデル)デフォルト:0 –min_detection_confidence検出信頼値の閾値デフォルト:0.7 –as_modelなりすまし検出モデルの格納パスデフォルト:anti-spoof-mn3/model_float32.onnx –as_input_sizeなりすまし検出モデルの入力サイズデフォルト:128,128 高橋かずひと(https://twitter.com/KzhtTkhs) FaceDetection-Anti-Spoof-Demo is under MIT License. GitHub View Github
Read more