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
Tag: Webcam
#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
#Tools – How to create an IP Camera from a USB Camera on #Windows10
Hi! So, I may need to create a new category for these posts, something like “scenarios that you will never need in your life”, or “I did this once and now I can’t remember what I did”. Today is a simple one, Let’s create a IP Camera from a USB Webcam in Windows. There are…… Continue reading #Tools – How to create an IP Camera from a USB Camera on #Windows10
#VSCode – 20 lines to display a webcam camera feed with #Python using #OpenCV
Hi ! I always write this from scratch, so it seems that I’ll drop this one here. So next time I search for this, I’ll find myself. https://gist.github.com/elbruno/8d64daca43a14028385f9e3c1d1babaa And with some extra lines, we can even detect faces and display some face landmarks: This is the base of some many image recognition scenarios, so I…… Continue reading #VSCode – 20 lines to display a webcam camera feed with #Python using #OpenCV
#Python – Detecting #Hololens in realtime in webcam feed using #ImageAI and #OpenCV with performance improvements
Hi! In my previous post I created a sample on how to use ImageAI and OpenCV to detect Hololens from a webcam frame (see references). I added some code to the last sample, and I found that the performance was not very good. With the previous sample code, I couldn’t process more than 1 frame…… Continue reading #Python – Detecting #Hololens in realtime in webcam feed using #ImageAI and #OpenCV with performance improvements