AI on the Edge LESSON 26: Understanding the HSV Color Space in OpenCV @paulmcwhorter
AI on the Edge LESSON 26: Understanding the HSV Color Space in OpenCV  @paulmcwhorter
Uploaded June 2026 | Updated September 2026, 2 weeks ago
You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

patreon.com/PaulMcWhorter

Are you guys ready to learn AI? Will you be one of those that Thrives, or one that does not Survive? AI will be the biggest opportunity of the next hundred years, but at the same time many will be destroyed by it. You have already learned how to use openCV on the Raspberry Pi 5 to create live videos by grabbing and displaying frames. In this lesson we will become more comfortable managing multiple video windows in openCV. In the future we will often have multiple windows open on our screen, and we need to be able to keep these organized. In todays lesson we will learn how to use the HSV (Hue, Saturation, Value) color space. This is a more intuitive color space to allow us to find and display an Object of Interest (OOI). This will allow us to find an object in the frame. This skill will allow us to track the Object of Interest in future lessons.

If you feel you need more background and familiarity with Python, I have a whole python class on this channel here:

youtube.com/playlist?list=PLGs0VKk2DiYzguDvh5xk2XoX9V1VKP5Hv.

In this class you will need the following hardware:

AI Fusion Lab Kit, available here:

amzn.to/4cla6re

You will also need a pi 5. Get one with as much memory as you can afford, but most pi 5's should work for the class. This is a link.
amzn.to/40Gek5n

You will need a heat sink and fan:
amzn.to/3PpaEmv

You will need a 25 watt power supply:
amzn.to/4c6i1YC

Micro HDMI Cable
amzn.to/4lPQz4V

Just about any SD card you have lying around should work, I use a 128GB card. These cards seem to be really expensive right now, so I suggest you try and find one lying around. Smaller cards should work as well. Just find something that will work for now, and stock up when prices are lower.

Any USB mouse and keyboard will work. If you want a wireless one for the pi, look at this one:
amzn.to/4d71jte

Guys try as best you can to use things you already have. Hopefully you have keyboard, mouse, sd card and cables and such. The links are in case you do not have the items already.

Here is the link to the special Raspberry Pi Bookworm OS that already has all the AI libraries, modules, dependencies, and device drivers needed in this class. When you flash this operating system, don't mess with it. Everything works, so do not do an update or upgrade-all. This OS is just for this class. If you want to do other things, flash a different card. This is a link to the OS:

sunfounder.github.io/download/ai-fusion-lab-kit/index.html

You will also need to install the Raspberry Pi OS imager for flashing the operating system. You can get it here:

raspberrypi.com/software

These are the assembly instructions I mention the video for the Fusion AI Lab Kit
docs.sunfounder.com/projects/ai-lab-kit/en/latest/quick_start/assemble_power_hat.html

You can find the code and more resources at my AI WEB site here:
toptechboy.com/ai-on-the-edge-lesson-26-understanding-the-hsv-color-space-in-opencv

[Disclosure of Material Connection: I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com.]
#raspberrypi
#AI
#opencv *LEGAL DISCLAIMER:*
The code, hardware setups, circuit diagrams, mathematical calculations, and technical methods provided in this video are strictly for educational and demonstration purposes.

All math, code, and instructional content are provided "AS IS", without warranty of any kind, express or implied, including but not limited to guarantees of accuracy, completeness, or fitness for a specific purpose.

All hardware assembly, circuit wiring, and software execution are performed entirely at your own risk. The creator assumes no liability for equipment damage, component failure, data loss, or personal injury resulting from the use or implementation of any information or files presented in this content.
AI on the Edge LESSON 26: Understanding the HSV Color Space in OpenCVArduino Uno R4 WiFi LESSON 85: Improving MPU6050 IMU Performance With Complimentary FilterBest Hardware for AI on the EdgeArduino Uno R4 WiFi LESSON 48: How to Control DC Motor and Speed and Direction with ArduinoEdge AI on the NVIDIA Jetson Orin Nano: You are Running With the Big Dogs Now!AI on the Edge LESSON 7: Homework Solution for Dimmable LEDArduino Uno R4 WiFi LESSON 5: Explaining How Computers Work Based On Binary NumbersArduino Uno R4 WiFi LESSON 56: Measure Altitude with an Arduino and BMP180 ProjectArduino Uno R4 WiFi LESSON 64: Learn Python Essentials in One SessionRaspberry Pi Pico W LESSON 98: Controlling Servo Position With PIO State MachineAI on the Edge LESSON 13: Control LED Brightness with Voice Commands on Raspberry Pi 5AI on the Edge LESSON 35: Running Multiple Pi Cameras and USB Cameras on the Pi 5
Paul McWhorter |

AI on the Edge LESSON 26: Understanding the HSV Color Space in OpenCV

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER