mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 03:55:21 +00:00
verify tuple
This commit is contained in:
parent
62b917fa8f
commit
37a427a149
@ -58,6 +58,8 @@ You can just check the verification result to decide that two images are same pe
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
verified = result[0] #returns True if images are same person's face
|
verified = result[0] #returns True if images are same person's face
|
||||||
|
found_distance = result[1] #distance of two face vectors
|
||||||
|
max_threshold_to_verify = result[2] #faces have a distance less than this value will be verified
|
||||||
```
|
```
|
||||||
|
|
||||||
Instead of using pre-tuned threshold values, you can alternatively check the distance by yourself.
|
Instead of using pre-tuned threshold values, you can alternatively check the distance by yourself.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user