diff options
| author | adamhrv <adam@ahprojects.com> | 2019-04-19 02:41:23 +0200 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-04-19 02:41:23 +0200 |
| commit | 9bc7330f7b7e0ff401ade63fea6ecabcade62e9d (patch) | |
| tree | ea9d122968cd36294c70be0ac490d531d4e2c875 /megapixels/app/utils | |
| parent | 7020b4e9c5cdab544ae7eec0f12a559f5cf24d95 (diff) | |
add ijb c draft
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 3378e3e8..7044a62f 100644 --- a/megapixels/app/utils/draw_utils.py +++ b/megapixels/app/utils/draw_utils.py @@ -131,7 +131,7 @@ def draw_bbox(im, bbox_norm, color=(0,255,0), stroke_weight=2): ''' im_dst = im.copy() bbox_dim = bbox_norm.to_dim(im.shape[:2][::-1]) - cv.rectangle(im_dst, bbox_dim.pt_tl, bbox_dim.pt_br, color, stroke_weight) + cv.rectangle(im_dst, bbox_dim.pt_tl, bbox_dim.pt_br, color, stroke_weight, cv.LINE_AA) return im_dst def draw_pose(im, pt_nose, image_pts): |
