Skip to content

Commit

Permalink
Merge pull request #4 from Erol444/patch-1
Browse files Browse the repository at this point in the history
Fix hand focusing demo
  • Loading branch information
geaxgx committed Jul 11, 2022
2 parents 3225c8b + 29314ea commit 7596bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hand_focusing/demo.py
Expand Up @@ -205,7 +205,7 @@ def get_one_hand_zone(hand_label, scale, hands_up_only):
color = (0,0,255)
else: # left
color = (0,255,0)
cv2.rectangle(frame, zone[:2], zone[2:], color, 3)
cv2.rectangle(frame, tuple(zone[:2]), tuple(zone[2:]), color, 3)
# Draw 2d skeleton
frame = renderer.draw(frame, body)

Expand Down

0 comments on commit 7596bbe

Please sign in to comment.