Configure face detection models
masterHivisionIDPhoto supports different face detection models depending on your needs for speed or accuracy:
- MTCNN (Default): Offline model, high-performance CPU inference (millisecond level), but lower accuracy. Available immediately after cloning.
- RetinaFace: Offline model, medium CPU speed (second level), higher accuracy. To use, download
retinaface-resnet50.onnxand place it inhivision/creator/retinaface/weights. - Face++: Online API with high accuracy. Requires configuration via Face++ documentation. See
docs/face++_CN.mdfor setup.