Quiz: Read Media Files
Quiz yourself on reading images, videos and webcam feeds.
We'll cover the following...
Let’s recall what we learned in the last chapter.
1
if cv2.waitKey(71) == ord('q'):
break
What is the function of this code in displaying a video?
A)
If ‘q’ is pressed, the video will run.
B)
If ‘q’ is pressed, the video will stop.
C)
If ‘q’ is pressed, the video will pause for one second.
D)
If ‘q’ is pressed, the video will play for one second.
Question 1 of 30 attempted
If you’re unsure ...