#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

#Event – Resources used on my session for the @netcoreconf

Hi ! Another huge and amazing events from my friends at the @netcoreconf, perfect excuse to talk about python, machine learning, computer vision and more. This one was also tricky, no slides, just code during 50 min so here are some related resources. Code The code used during the session is available here: https://github.com/elbruno/events/tree/main/2020%2010%2003%20Netcoreconf%20Virtual Session…… Continue reading #Event – Resources used on my session for the @netcoreconf

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

Hi ! In my post series I already wrote about how to detect faces. We can do this with a camera and OpenCV. However, a drone can also be moved on command, so let’s write some lines to detect a face, and calculate the orientation and distance of the detected face from the center camera…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (21/N)

#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)

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

Hi! Back to some drone posts! I was kind of busy during the last weeks and now I can get back to write about the drone. OK, in the last posts I described how to connect and work with the drone camera feed using OpenCV. Now with 2 extra lines of code we can also…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (10/N)

#RaspberryPi – Performance differences in #FaceRecognition using #OpenVino (code with @code!)

Hi ! I’ve been looking to use the amazing Intel Neural Stick 2 for a while, and one of the 1st ideas that I have was to check how fast my Raspberry Pi 4 can run using this device. The Intel team released a nice step by step process installation for Raspberry Pi. And it…… Continue reading #RaspberryPi – Performance differences in #FaceRecognition using #OpenVino (code with @code!)

#VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (5/N)

Hi! And after yesterday’s post I realize that the code is working, but there is room for performance improvement. So, I went back to my 1st sample, the one for face detection and I added some code to get some times for Frames per Second (FPS). In my initial code, the app was working processing…… Continue reading #VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (5/N)

#VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (4/N)

Hi! Quick post today. I’ll pickup yesterday demo, showing the facial features and adding Face Recognition on top of that. In other words, we’ll move from this To this With a couple of extra lines for face recognition https://gist.github.com/elbruno/84cb0abcacae3370c5c53cb2fab2f077 There is some room for performance improvement, so I’ll focus on this in next posts. The…… Continue reading #VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (4/N)

#VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (3/N)

Hi! In my previous posts I explained how to detect faces and perform face recognition in python. Today I’ll explore another feature in the face_recognition package: Find Facial Features. The live camera output will be something like this: Note: Special thanks to my daughter who is always OK to help me with this. The main…… Continue reading #VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (3/N)

#VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (2/N)

Hi! Yesterday I explained how to write a couple of lines in Python to perform live face detection in a webcam feed [Post]. Check the resources section to find more about the tools I’m using. Today, I’ll add some more code to perform face recognition. And as usual, I’ll work with my kids to test…… Continue reading #VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (2/N)