Commit afe82066 authored by Kyle Anderson's avatar Kyle Anderson

Fix common start video stream

The start video stream method in the common module wasn't using its camera argument, so actually made the argument useful.
parent a3401c72
......@@ -22,7 +22,7 @@ def display_frame(frame):
def start_video_stream(camera: int):
"""Starts the video stream and returns the created stream.
Also waits for the video stream to open before returning it."""
video_stream = cv2.VideoCapture(0)
video_stream = cv2.VideoCapture(camera)
return video_stream
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment