custom verification

This commit is contained in:
Sefik Ilkin Serengil 2020-02-08 23:58:09 +03:00 committed by GitHub
parent 8a6eea67bd
commit 7938aa60c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,9 +46,7 @@ Instead of using pre-tuned threshold values, you can alternatively check the dis
```python
distance = result[1] #the less the better
threshold = 0.30 #threshold for VGG-Face and Cosine Similarity
if distance < threshold:
return True
else: