Toan Le commited on
Commit
60884d7
·
1 Parent(s): 24c61d2

Adjust size of text in output image

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- 1.0, (36, 255, 12), 2)
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