yijiu commited on
Commit
e85c769
·
1 Parent(s): 383ca9f

feat:change color

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. tool_utils.py +1 -1
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ *.pyc
tool_utils.py CHANGED
@@ -369,4 +369,4 @@ def draw_joints(img, pts):
369
 
370
  def draw_line(img, pt1, pt2):
371
  if pt1[0] != 0 and pt1[1] != 0 and pt2[0] != 0 and pt2[1] != 0:
372
- cv2.line(img, (int(pt1[0]), int(pt1[1])), (int(pt2[0]), int(pt2[1])), color=(255, 0, 0), thickness=1)
 
369
 
370
  def draw_line(img, pt1, pt2):
371
  if pt1[0] != 0 and pt1[1] != 0 and pt2[0] != 0 and pt2[1] != 0:
372
+ cv2.line(img, (int(pt1[0]), int(pt1[1])), (int(pt2[0]), int(pt2[1])), color=(57, 255, 20), thickness=2)