#Event – “Let’s code a drone to follow faces syncing everything with Azure IoT” at the Codegen 2021, Verona, Italy. Session Resources

Hi ! I had a great time early in the day with some friend from Italy. As usual, time for slides and code: Slides Code https://github.com/elbruno/events/tree/main/2021%2002%2013%20CodeGen%20Verona%20Italy%20Drone%20Azure%20IoT My Session - Video https://www.youtube.com/watch?v=0Sv7HJim8SA&feature=emb_logo All Sessions - Videos All +40 sessions here http://codegen2021.azurewebsites.net/videos Resources DJI Tello Drone,https://www.amazon.com/Tello-CP-PT-00000252-01-Quadcopter-Drone/dp/B07BDHJJTHRyze Tello SDK, https://www.ryzerobotics.com/tello  Viola Jones, Object Detection Framework,https://en.wikipedia.org/wiki/Viola%E2%80%93Jones_object_detection_framework  Cognitive Services Custom Vision, https://customvision.ai

#Event – Resources used during the session “Hack a drone, hack the camera and use AI” at the Global AI Tour, Lahore Pakistan, 2020

Hi ! I had a great time early in the day with my Microsoft Student Partners from Lahore Pakistan, for the Global AI Tour. As usual, time for slides and code: Slides Code https://github.com/elbruno/events/tree/main/2020%2011%2030%20Global%20AI%20Tour%20Pakistan Resources DJI Tello Drone,https://www.amazon.com/Tello-CP-PT-00000252-01-Quadcopter-Drone/dp/B07BDHJJTHRyze Tello SDK, https://www.ryzerobotics.com/tello  Viola Jones, Object Detection Framework,https://en.wikipedia.org/wiki/Viola%E2%80%93Jones_object_detection_framework  Cognitive Services Custom Vision, https://customvision.ai

#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

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