Skip to content

Commit

Permalink
Merge pull request #1330 from kremnik/ssdpandas
Browse files Browse the repository at this point in the history
  • Loading branch information
serengil authored Sep 1, 2024
2 parents a80d3e8 + ef0b71a commit d3200c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepface/models/face_detection/Ssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ssd_labels(IntEnum):

resp = []
for face in faces:
confidence = float(face[2])
confidence = float(face[ssd_labels.confidence])
x, y, w, h = map(int, face[margins])
detected_face = img[y : y + h, x : x + w]

Expand Down

0 comments on commit d3200c2

Please sign in to comment.