Face Detector
CLI Arguments
Face Detector Model
Choose the model responsible for detecting the faces.
Argument: --face-detector-model
Default: yoloface
Choices:
manyretinafacescrfdyoloface
Example: --face-detector-model retinaface
Face Detector Size
Specify frame size provided to the face detector.
Argument: --face-detector-size
Default: 640x640
Choices:
160x160320x320480x480512x512640x640768x768960x9601024x1024
Example: --face-detector-size 320x320
Face Detector Angles
Specify the angles to rotate the frame before detecting faces.
Argument: --face-detector-angles
Default: 0
Choices:
090180270
Example: --face-detector-angles 0 180
Face Detector Score
Filter the detected faces base on the confidence score.
Argument: --face-detector-score
Default: 0.5
Range: 0 to 1 at 0.05
Example: --face-detector-score 0.7
Default Overrides
Modify the facefusion.ini file to override the defaults.
[face_detector]
face_detector_model = retinaface
face_detector_size = 320x320
face_detector_angles = 0 180
face_detector_score = 0.7Last updated