#dotnet – Pose detection from the 🎦 camera feed using #OpenCV and #net5. Home-made #kinect!

Hi ! LearnOpenCV is an amazing resource to learn about OpenCV. And, it has lot of scenarios of real life problem solved with OpenCV. Most of the samples are in C++ or Python, so I decided to pick one related to pose estimation, and using .Net 5 in a Winforms App, build something like this: … Continue reading #dotnet – Pose detection from the 🎦 camera feed using #OpenCV and #net5. Home-made #kinect!

#dotnet – GoogleNet detection from the 🎦 camera feed using #OpenCV and #net5. Bonus: C++ to C# time!

Hi ! So I was browsing in the OpenCV documentation and I find a nice sample that uses opencv_dnn module for image classification by using GoogLeNet trained network from Caffe model zoo. So I give it a try, and get a decent .Net 5 Winforms App running at ~30 FPS. The model was trained with … Continue reading #dotnet – GoogleNet detection from the 🎦 camera feed using #OpenCV and #net5. Bonus: C++ to C# time!

#dotnet – Age and Gender estimation from the 🎦 camera feed using #OpenCV and #net5

Hi ! Face detected, so next step is to use some prebuild models to perform additional actions: like estimate the Age of a face, and also the Gender. In order to do this, I downloaded a couple of models from here. Disclaimer: these models are just sample models, do not use them in production. These … Continue reading #dotnet – Age and Gender estimation from the 🎦 camera feed using #OpenCV and #net5

#dotnet – Detecting Faces, DNN vs Haar Cascades from the 🎦 camera feed using #OpenCV and #net5

Hi ! In one session around computer vision, someone ask the question about which approach is better Haar Cascades or DNN? And the answer can be show using the video below As you can see Haar Cascades works great for faces looking directly to the camera, with good lights and in optimal conditions. However, once … Continue reading #dotnet – Detecting Faces, DNN vs Haar Cascades from the 🎦 camera feed using #OpenCV and #net5

#dotnet – Detecting Faces using DNN from the 🎦 camera feed in a WinForm using #OpenCV and #net5

Hi ! Let's do some face detection using a DNN model (See references). As yesterday, I won't write about details, there are almost 20 years of online documentation available. And, IMHO opinion code is much more useful that long writing, so let's go there. 1st load the Caffe model and the config file. // download … Continue reading #dotnet – Detecting Faces using DNN from the 🎦 camera feed in a WinForm using #OpenCV and #net5

#dotnet – Detecting Faces using Cascades from the 🎦 camera feed in a WinForm using #OpenCV and #net5

Hi ! Let's do some face detection using one of the most popular methods: Haar Casacades (See references). I won't write about Cascades, there are almost 20 years of online documentation available. And, IMHO opinion code is much more useful that long writing, so let's go there. 1st load the cascade definition file. _faceCascade = … Continue reading #dotnet – Detecting Faces using Cascades from the 🎦 camera feed in a WinForm using #OpenCV and #net5

#dotnet – Display the 🎦 camera feed in a WinForm using #OpenCV and #net5

Hi ! Back on the Windows Forms days, cameras were tricky. We didn't have a lot of libraries to work, and they usually require some extra work to handle unexpected errors. With Net 5 and OpenCVSharp, we can create a simple WebCam viewer like this one. Let's start with a [Take a Photo] Windows Form … Continue reading #dotnet – Display the 🎦 camera feed in a WinForm using #OpenCV and #net5

#dotnet – detecting corners on the 🎦 camera feed with FAST algorithm, #OpenCV and #net5

Hi ! Today is a quick one: FAST corner detection algorithm. FAST (Features from Accelerated Segment Test) algorithm was proposed by Edward Rosten and Tom Drummond in their paper "Machine learning for high-speed corner detection" in 2006 (Later revised it in 2010). A basic summary of the algorithm is presented below. Refer original paper for … Continue reading #dotnet – detecting corners on the 🎦 camera feed with FAST algorithm, #OpenCV and #net5

#dotnet – detecting edges on the 🎦 camera feed with Canny algorithm, #OpenCV and #net5

Hi ! The Canny edge detection is one the most popular algorithms, and it's also +30 years old. The Canny edge detector is an edge detection operator that uses a multi-stage algorithm to detect a wide range of edges in images. It was developed by John F. Canny in 1986. OpenCV includes the Canny algorithm … Continue reading #dotnet – detecting edges on the 🎦 camera feed with Canny algorithm, #OpenCV and #net5

#dotnet – less than 20 lines to display a 🎦 camera feed with #OpenCV and #net5

Hi ! This post is the start of a series of posts around OpenCV and DotNet Core .Net 5. Most of my samples are going to be camera based, so I'll start with the +20 13 lines needed to access a local camera and show the frames in a window. And the code using Net … Continue reading #dotnet – less than 20 lines to display a 🎦 camera feed with #OpenCV and #net5