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

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

Hi! Today code objective is very simple: The drone is flying very happy, but if the camera detects a banana, the drone must land ! Let’s take a look at the program working: And a couple of notes regarding the app Still use Haar Cascades for object detection. I found an article with a Xml…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (11/N)

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

Hi! I’m writing a series of posts about how to control a drone with Python and 20 lines of code, and once I reach to the point to read the camera feed, I’ve added a face detection sample. However this time I didn’t use the face_recognition python package I’ve used in this series, I performed…… Continue reading #VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (7/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)

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

Hi! Let’s take some Frames Per Second measurements on the UDP and OpenCV connection. It seems that working with simple movements, the values moves between 30 and 60 FPS. Just added a couple of lines in the main While, to calculate the FPS. # open i = 0 while True: i = i + 1…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (9/N)

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

Hi! Now that I started to understand how UDP works, I also did my research to find which are the best options to access an UDP video feed. Lucky for me, there are plenty of resources about doing this task using my old friend OpenCV. Most of the OpenCV documentation is written in C++. However…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (8/N)