mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
verify simplified
This commit is contained in:
parent
dbc3d05f16
commit
103a6af39e
@ -25,10 +25,8 @@ Verification function under the DeepFace interface offers a single face recognit
|
||||
```python
|
||||
from deepface import DeepFace
|
||||
result = DeepFace.verify("img1.jpg", "img2.jpg")
|
||||
#results = DeepFace.verify([['img1.jpg', 'img2.jpg'], ['img1.jpg', 'img3.jpg']])
|
||||
print("Is verified: ", result["verified"])
|
||||
|
||||
results = DeepFace.verify([['img1.jpg', 'img2.jpg'], ['img1.jpg', 'img3.jpg']])
|
||||
print(results)
|
||||
```
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/stock-1.jpg" width="95%" height="95%"></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user