Skip to content

Commit

Permalink
Convert BGR to RGB part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
humpydonkey committed Jun 5, 2024
1 parent e4bad06 commit e706a1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vision_agent/utils/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def play_video(video_base64: str) -> None:

while cap.isOpened():
ret, frame = cap.read()
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
if not ret:
break
cv2.imshow("Video Player", frame)
Expand Down

0 comments on commit e706a1f

Please sign in to comment.