#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

#Event – Resources used during the session “Let’s code a drone πŸ›Έ to follow faces with #dotnet”@dotnetdocsshow

Hi ! I had a great time yesterday with the @dotnetdocsshow team talking about how to program a drone. And this time, with a special flavor: Lets program the drone using dotnet core ! It was an amazing experience, and a really fun moment. Scott, David, Cam and Cecil are great hosts, and they make…… Continue reading #Event – Resources used during the session “Let’s code a drone πŸ›Έ to follow faces with #dotnet”@dotnetdocsshow

#Python – Convert an #OpenCV frame to PIL image and viceversa

Hi ! It’s amazing how I can code and have fun for hours, and them suddenly spent 2 hours trying to manually do something, that it’s already resolved in all internet. Today’s challenge: Convert an OpenCV frame to PIL image And, why ? very simple, OpenCV follows the BGR convention and PIL follows RBG convention.…… Continue reading #Python – Convert an #OpenCV frame to PIL image and viceversa

#Python – Creating GUIs with #PySimpleGUI. 2 webcams view with 50 lines of code

Hi ! Working with Computer Vision is super fun. And there are some scenarios where display the step by step of the processing of an image is the best way to present this. In most of my scenarios I use OpenCV, however for a more detailed presentation I needed to search and learn a GUI…… Continue reading #Python – Creating GUIs with #PySimpleGUI. 2 webcams view with 50 lines of code

#Python – Easy way to install #OpenCV and #TensorFlow with Anaconda

Hi ! After sharing a couple of sessions using the Drone and working with the drone camera, a couple of people contacted me with issues while they try to install OpenCV and/or TensorFlow, to be used with Python. There are plenty of tutorials about this, so I will share a very easy one. 1st step…… Continue reading #Python – Easy way to install #OpenCV and #TensorFlow with Anaconda

#Coding4Fun – How to control your #drone with 20 lines of code! (12/N)

Hi! Today code objective is very simple, based on a request I received from internet: The drone is flying very happy, but if the camera detects a face, the drone will flip out ! Let’s take a look at the program working: This one is very similar to the previous one. I also realized that…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (12/N)