Contours and Edge Detection with OpenCV in C#

Опубликовано: 17 Июнь 2026
на канале: Programming With Chris
7,597
107

In this series, I will be taking you through an introductory tour of OpenCV and Emgu (the OpenCV C# Wrapper)!

OpenCV has been one of my favorite libraries to tinker with, where you can do some impressive things such as facial recognition, image manipulations and filters, video processing, and much more! So I wanted to introduce fellow programmers to it, so you can have as much fun as I’ve had over the years.

🔴 Link to the Playlist, in case you need to catch up -
   • Introduction to OpenCV  


🔴 Download Source Code used in the OpenCV Series Here!
https://bit.ly/3P3zXoy

🔴 Check out Programming With Chris Live T/Th/Sat nights!
https://bit.ly/3nHuLuN

🔴 Subscribe For More Programming Tutorials
https://bit.ly/3NN23DB

☕️Buy me a coffee if you enjoy the free content! -
https://bit.ly/3Pw56Sf

In this video, I go over two Edge Detection functions in OpenCV, Sobel operation and Canny Edge Detection, as well as how Contours work, how to draw Contours onto your image, and even how to fill in some color into the area defined by the contour, which results in changing the color of our object!

🕘Timestamps:
0:00 - Video Start
0:52 - What is an Edge in image processing?
1:48 - Introduction to the Sobel Operators in OpenCV
9:32 - Canny Edge Detection in OpenCV
16:58 - Contours in OpenCV
24:48 - How to draw contours on your image
26:37 - How to fill a contour with color in OpenCV
27:55 - What's next in the series


Thanks for watching! I plan on making a ton more tutorial programming videos on libraries I find interesting, and if that’s your sort of thing, check out my other videos and subscribe for more. Thanks!


🎬Watch My most recent videos:
https://bit.ly/3yJwaY5