Skip to content

Commit

Permalink
Increase to 5FPS when playing the video
Browse files Browse the repository at this point in the history
  • Loading branch information
humpydonkey committed Jun 5, 2024
1 parent 777de82 commit 986aca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/utils/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def play_video(video_base64: str) -> None:
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
cv2.imshow("Video Player", frame)
# Press 'q' to exit the video
if cv2.waitKey(25) & 0xFF == ord("q"):
if cv2.waitKey(200) & 0xFF == ord("q"):
break
cap.release()
cv2.destroyAllWindows()
Expand Down

0 comments on commit 986aca6

Please sign in to comment.