diff options
| author | adamhrv <adam@ahprojects.com> | 2019-01-08 01:13:22 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-01-08 01:13:22 +0100 |
| commit | 6586ae9e67d39f11bbd66356730aa126d3bf1269 (patch) | |
| tree | 09b81ec0db1ec144e81d5d7c4d1846499b254a0d /megapixels/app/utils | |
| parent | 807503666f06c5b22b752e32362a0b4ceacc1a5e (diff) | |
add age (real, apparent), gender predictor
Diffstat (limited to 'megapixels/app/utils')
| -rw-r--r-- | megapixels/app/utils/draw_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/megapixels/app/utils/draw_utils.py b/megapixels/app/utils/draw_utils.py index cafac5a5..7083c956 100644 --- a/megapixels/app/utils/draw_utils.py +++ b/megapixels/app/utils/draw_utils.py @@ -43,7 +43,7 @@ def draw_pose(im, pt_nose, image_pts): def draw_text(im, pt, text, color=(0,255,0)): '''Draws degrees as text over image ''' - cv.putText(im, text, pt, cv.FONT_HERSHEY_SIMPLEX, 0.5, color, thickness=2, lineType=2) + cv.putText(im, text, pt, cv.FONT_HERSHEY_SIMPLEX, 0.75, color, thickness=1, lineType=cv.LINE_AA) def draw_degrees(im, pose_data, color=(0,255,0)): |
