chawin.chen commited on
Commit ·
0f3c6fb
1
Parent(s): 78398a3
Reapply "fix start"
Browse filesThis reverts commit 78398a39b853becde221045494681bbe9f38aa5a.
- api_routes.py +2 -1
api_routes.py
CHANGED
|
@@ -4535,9 +4535,10 @@ async def match_celebrity_face(
|
|
| 4535 |
img_path=temp_path,
|
| 4536 |
db_path=db_path,
|
| 4537 |
model_name="ArcFace",
|
| 4538 |
-
detector_backend="
|
| 4539 |
distance_metric="cosine",
|
| 4540 |
enforce_detection=True,
|
|
|
|
| 4541 |
silent=True,
|
| 4542 |
refresh_database=refresh,
|
| 4543 |
)
|
|
|
|
| 4535 |
img_path=temp_path,
|
| 4536 |
db_path=db_path,
|
| 4537 |
model_name="ArcFace",
|
| 4538 |
+
detector_backend="retinaface",
|
| 4539 |
distance_metric="cosine",
|
| 4540 |
enforce_detection=True,
|
| 4541 |
+
align=True,
|
| 4542 |
silent=True,
|
| 4543 |
refresh_database=refresh,
|
| 4544 |
)
|