mirror of
https://github.com/serengil/deepface.git
synced 2025-06-04 02:20:06 +00:00
Update README.md
shorter sample paths
This commit is contained in:
parent
62ea14ae85
commit
aadca89b8c
@ -84,7 +84,7 @@ result = DeepFace.verify(img1_path = "img1.jpg", img2_path = "img2.jpg")
|
||||
|
||||
|
||||
```python
|
||||
dfs = DeepFace.find(img_path = "img1.jpg", db_path = "C:/workspace/my_db")
|
||||
dfs = DeepFace.find(img_path = "img1.jpg", db_path = "C:/my_db")
|
||||
```
|
||||
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/serengil/deepface/master/icon/stock-6-v2.jpg" width="95%" height="95%"></p>
|
||||
@ -125,7 +125,7 @@ models = [
|
||||
result = DeepFace.verify(img1_path = "img1.jpg", img2_path = "img2.jpg", model_name = models[0])
|
||||
|
||||
#face recognition
|
||||
dfs = DeepFace.find(img_path = "img1.jpg", db_path = "C:/workspace/my_db", model_name = models[1])
|
||||
dfs = DeepFace.find(img_path = "img1.jpg", db_path = "C:/my_db", model_name = models[1])
|
||||
|
||||
#embeddings
|
||||
embeddings = DeepFace.represent(img_path = "img.jpg", model_name = models[2])
|
||||
|
Loading…
x
Reference in New Issue
Block a user