Skip to content

Commit

Permalink
Update Handland-marking.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SidElias authored May 15, 2024
1 parent 5253371 commit 40d0a7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Handland-marking.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
hands=mphands.Hands()
while True:
data,image=cap.read()
image in cv2.cvtColor(cv2.flip(image,1),cv2.COLOR_BGR2RGB)
image in cv2.cvtColor(cv2.flip(image,1))
results=hands.process(image)
if results.multi_hand_landmarks:
for hand_landmarks in results.multi_hand_landmarks:
mp_drawing.draw_landmakrs(
mp_drawing.draw_landmarks(
image,
hand_landmarks,mphands.HAND_CONNECTIONS)
cv2.imshow('Handtracker',image)
cv2,waitKey(1)


0 comments on commit 40d0a7f

Please sign in to comment.