Toan Le
commited on
Commit
·
60884d7
1
Parent(s):
24c61d2
Adjust size of text in output image
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def detect_age_gender(image):
|
|
39 |
f"{gender}, {age} ({confidence:.2f})",
|
40 |
(bbox[0], bbox[1] - 10),
|
41 |
cv2.FONT_HERSHEY_SIMPLEX,
|
42 |
-
|
43 |
|
44 |
return new_image
|
45 |
|
|
|
39 |
f"{gender}, {age} ({confidence:.2f})",
|
40 |
(bbox[0], bbox[1] - 10),
|
41 |
cv2.FONT_HERSHEY_SIMPLEX,
|
42 |
+
0.59, (36, 255, 12), 2)
|
43 |
|
44 |
return new_image
|
45 |
|