TIF_E41253336/facerecognition_presensi/ModelBaru/resources/anti_spoof_models
Dani 37fd54c634 Fix Semua
Bismillah siap lulus
2026-10-26 19:48:54 +07:00
..
2.7_80x80_MiniFASNetV2.pth Fix Semua 2026-10-26 19:48:54 +07:00
4_0_0_80x80_MiniFASNetV1SE.pth Fix Semua 2026-10-26 19:48:54 +07:00
README.md Fix Semua 2026-10-26 19:48:54 +07:00

README.md

Anti-Spoof Models

Letakkan file .pth MiniFASNet di folder ini.

File yang dibutuhkan

Download dari: https://github.com/minivision-ai/Silent-Face-Anti-Spoofing/releases

File Deskripsi
2.7_80x80_MiniFASNetV2.pth Model utama (ringan, ~1.6MB) — digunakan default
4_0_0_80x80_MiniFASNetV1SE.pth Model alternatif dengan SE attention

Setup

  1. Clone SilentFaceAntiSpoofing di root proyek: git clone https://github.com/minivision-ai/Silent-Face-Anti-Spoofing SilentFaceAntiSpoofing

  2. Download model files dan letakkan di folder ini (ModelBaru/resources/anti_spoof_models/)

  3. Set 'enabled': True di ANTI_SPOOF_CONFIG dalam config.py

  4. Gunakan AntiSpoofGuardedSystem sebagai pengganti EnhancedFaceRecognitionSystem: from anti_spoof_manager import AntiSpoofManager, AntiSpoofGuardedSystem system = AntiSpoofGuardedSystem.create()