From ceaccf5968529c186c1bb572dc1275cb019f7aec Mon Sep 17 00:00:00 2001 From: David Chatel Date: Tue, 6 Aug 2024 19:10:58 +0200 Subject: [PATCH] fixed face.w, face.h bug --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index 363d177..742d4b6 100644 --- a/utils.py +++ b/utils.py @@ -97,6 +97,8 @@ class Face: i = curr_i self.bbox = (a,b,c,d) + self.w = c - a + self.h = d - b self.confidence = best_score self.kps = np.vstack([