The Most Addictive Python and SQL Courses
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner lesson demonstrates color-based object tracking in a webcam stream with Python and OpenCV. It uses HSV color thresholds, trackbars, and masks to isolate an object of interest.
Syllabus
Introduction
Getting Started
Getting the Code
The Goal
The Color Box
Track Bars
Track Bar Window
Create Track Bar
Define OnTrack1
Set Initial Values
Grab the Frame
Create the Box
Create the Mask
Show the Mask
Resize Mask
Object of Interest
The Problem
Mystery Person
Taught by
Paul McWhorter