UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.
Python computer-visiondeep-learningface-alignmentface-analysisface-anonymizationface-anti-spoofingface-attributesface-detectionface-meshface-parsingface-quality-assessmentface-recognitionface-segmentationface-trackingfacial-landmarksgaze-estimationhead-pose-estimationonnxruntimeportrait-mattingpython
Revise model configurations in README.md
Yakhyokhuja Valikhujaevf4458f055073
diff --git a/README.md b/README.mdindex eefdfec..0cefe9f 100644--- a/README.md+++ b/README.md@@ -171,15 +171,18 @@ from uniface.detection import RetinaFace, SCRFDfrom uniface.recognition import ArcFacefrom uniface.landmark import Landmark106+from uniface.constants import SCRFDWeights+# Create detector with default settingsdetector = RetinaFace()# Create with custom configdetector = SCRFD(- model_name='scrfd_10g_kps',- conf_thresh=0.8,+ model_name=SCRFDWeights.SCRFD_10G_KPS, # SCRFDWeights.SCRFD_500M_KPS+ conf_thresh=0.4,input_size=(640, 640))+# Or with defaults settings: detector = SCRFD()# Recognition and landmarksrecognizer = ArcFace()@@ -198,6 +201,7 @@ detector = RetinaFace(conf_thresh=0.5,nms_thresh=0.4)+# Or detector = RetinaFace()# YOLOv5-Face detectiondetector = YOLOv5Face(@@ -205,6 +209,7 @@ detector = YOLOv5Face(conf_thresh=0.6,nms_thresh=0.5)+# Or detector = YOLOv5Face# Recognitionrecognizer = ArcFace() # Uses default weights