From the course: OpenCV for Python Developers
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Use video inputs
From the course: OpenCV for Python Developers
Use video inputs
- [Narrator] OpenCV provides easy access to video feeds, enabling applications to provide real-time processing and even display the process video output. In a real-time application, the video feed is tapped for an image at the start of a repeating loop, which represents the actual image processing to occur. If you were having trouble accessing a livestream video in this module, you could also import a raw image sequence and simply load a new image on each iteration of the loop. If you're having trouble accessing a livestream video or if you're using Google CoLab, where you can't visualize a livestream, you could instead import a raw image sequence and simply load a new image on each iteration of the loop instead of using video capture. To begin, as always, we will import numpy as np and import cv2. Next we're going to capture or request from the operating system to use the camera. We can do this by naming the variable cap…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Get started with OpenCV and Python5m 36s
-
(Locked)
Get started with OpenCV and Python: Google Collab6m 5s
-
(Locked)
Access and understand pixel data4m 12s
-
(Locked)
Data types and structures7m 36s
-
(Locked)
Image types and color channels8m 51s
-
(Locked)
Pixel manipulations and filtering4m 41s
-
(Locked)
Blur, dilation, and erosion5m 50s
-
(Locked)
Scale and rotate images5m 14s
-
(Locked)
Use video inputs4m 57s
-
(Locked)
Create custom interfaces4m 50s
-
(Locked)
Challenge: Create a simple drawing app2m 15s
-
(Locked)
Solution: Create a simple drawing app7m 32s
-
-
-
-