summaryrefslogtreecommitdiff
path: root/megapixels/app/utils
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-04-19 09:50:01 +0200
committerJules Laplace <julescarbon@gmail.com>2019-04-19 09:50:01 +0200
commit11663b4b83cd735e83229a4ce85d6a3d4c1cb941 (patch)
treeeaeaff244520c572f4f88496b819d5311202ac32 /megapixels/app/utils
parent06033681b31c643a17e983241848296354cbdc80 (diff)
parentcf0d2816acf0ef73ddffbf649677fafcc953c004 (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'megapixels/app/utils')
-rw-r--r--megapixels/app/utils/draw_utils.py2
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):