Skip to content

Commit a93e7a0

Browse files
authored
Update video_demo.py
1 parent 2dceee7 commit a93e7a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

video_demo.py

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
while True:
3434
return_value, frame = vid.read()
3535
if return_value:
36-
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
3736
image = Image.fromarray(frame)
3837
else:
3938
raise ValueError("No image!")

0 commit comments

Comments
 (0)