mirror of
https://github.com/serengil/deepface.git
synced 2025-07-23 18:30:04 +00:00
detectors
This commit is contained in:
parent
bfeb9881dd
commit
394c34f470
@ -105,9 +105,10 @@ Face detection and face alignment are early stages of a modern face recognition
|
|||||||
```python
|
```python
|
||||||
backends = ['opencv', 'ssd', 'dlib', 'mtcnn']
|
backends = ['opencv', 'ssd', 'dlib', 'mtcnn']
|
||||||
for backend in backends:
|
for backend in backends:
|
||||||
obj = DeepFace.verify("img1.jpg", "img2.jpg", detector_backend = backend)
|
detected_face = DeepFace.detectFace("img.jpg", detector_backend = backend) #detectors in face detection and alignment
|
||||||
df = DeepFace.find(img_path = "img.jpg", db_path = "my_db", detector_backend = backend)
|
obj = DeepFace.verify("img1.jpg", "img2.jpg", detector_backend = backend) #detectors in verification
|
||||||
demography = DeepFace.analyze("img4.jpg", , detector_backend = backend)
|
df = DeepFace.find(img_path = "img.jpg", db_path = "my_db", detector_backend = backend) #detectors in face recognition
|
||||||
|
demography = DeepFace.analyze("img4.jpg", , detector_backend = backend) #detectors in facial analysis
|
||||||
```
|
```
|
||||||
|
|
||||||
**Streaming and Real Time Analysis** - [`Demo`](https://youtu.be/-c9sSJcx6wI)
|
**Streaming and Real Time Analysis** - [`Demo`](https://youtu.be/-c9sSJcx6wI)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user