Merge pull request #1330 from kremnik/ssdpandas

This commit is contained in:
Sefik Ilkin Serengil 2024-09-01 16:42:35 +01:00 committed by GitHub
commit d3200c259e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ class SsdClient(Detector):
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]