mirror of
https://github.com/serengil/deepface.git
synced 2025-06-08 20:45:22 +00:00
Fix wrong img variable
This commit is contained in:
parent
9b816648e0
commit
a2f7ce6f97
@ -32,7 +32,7 @@ def detect_face(face_detector, img, align = True):
|
||||
|
||||
#--------------------------
|
||||
|
||||
obj = RetinaFace.detect_faces(img_rgb, model = face_detector, threshold = 0.9)
|
||||
obj = RetinaFace.detect_faces(img, model = face_detector, threshold = 0.9)
|
||||
|
||||
if type(obj) == dict:
|
||||
for key in obj:
|
||||
|
Loading…
x
Reference in New Issue
Block a user