Spaces:
Sleeping
Sleeping
feat:change color
Browse files- .gitignore +1 -0
- 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=(
|
|
|
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)
|