Skip to content

Commit

Permalink
Fixed Frame ImShow
Browse files Browse the repository at this point in the history
  • Loading branch information
silverlightning926 committed Jun 12, 2024
1 parent a00edb9 commit 84a9035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def getLabel(prediction):
cv2.putText(frame, label, (50, 50), cv2.FONT_HERSHEY_SIMPLEX,
1, (0, 255, 0), 2, cv2.LINE_AA)

cv2.imshow('ASL Alphabet Recognition', image)
cv2.imshow('ASL Alphabet Recognition', frame)

if (cv2.waitKey(1) & 0xFF == ord('q')) or cv2.getWindowProperty('ASL Alphabet Recognition', cv2.WND_PROP_VISIBLE) < 1:
break
Expand Down

0 comments on commit 84a9035

Please sign in to comment.