mirror of
https://github.com/serengil/deepface.git
synced 2025-06-06 11:35:21 +00:00
Update README.md
less lines in snippets
This commit is contained in:
parent
40b28aab22
commit
e18e0e49d0
31
README.md
31
README.md
@ -107,20 +107,11 @@ DeepFace is a **hybrid** face recognition package. It currently wraps many **sta
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
models = [
|
models = [
|
||||||
"VGG-Face",
|
"VGG-Face", "Facenet", "Facenet512", "OpenFace", "DeepFace",
|
||||||
"Facenet",
|
"DeepID", "ArcFace", "Dlib", "SFace", "GhostFaceNet",
|
||||||
"Facenet512",
|
"Buffalo_L",
|
||||||
"OpenFace",
|
|
||||||
"DeepFace",
|
|
||||||
"DeepID",
|
|
||||||
"ArcFace",
|
|
||||||
"Dlib",
|
|
||||||
"SFace",
|
|
||||||
"GhostFaceNet",
|
|
||||||
"Buffalo_L"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
#face verification
|
#face verification
|
||||||
result = DeepFace.verify(img1_path = "img1.jpg", img2_path = "img2.jpg", model_name = models[0])
|
result = DeepFace.verify(img1_path = "img1.jpg", img2_path = "img2.jpg", model_name = models[0])
|
||||||
|
|
||||||
@ -193,19 +184,9 @@ All deepface functions accept optional detector backend and align input argument
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
backends = [
|
backends = [
|
||||||
'opencv',
|
'opencv', 'ssd', 'dlib', 'mtcnn', 'fastmtcnn',
|
||||||
'ssd',
|
'retinaface', 'mediapipe', 'yolov8', 'yolov11s',
|
||||||
'dlib',
|
'yolov11n', 'yolov11m', 'yunet', 'centerface',
|
||||||
'mtcnn',
|
|
||||||
'fastmtcnn',
|
|
||||||
'retinaface',
|
|
||||||
'mediapipe',
|
|
||||||
'yolov8',
|
|
||||||
'yolov11s',
|
|
||||||
'yolov11n',
|
|
||||||
'yolov11m',
|
|
||||||
'yunet',
|
|
||||||
'centerface',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
detector = backends[3]
|
detector = backends[3]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user