Update README.md

shorter sample paths
This commit is contained in:
Sefik Ilkin Serengil 2025-03-12 12:02:59 +00:00 committed by GitHub
parent 62ea14ae85
commit aadca89b8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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])