#Python – Update all Python Packages using pip with #PowerShell

Hi ! Here is a small script that I always go back to search in my notes. I found this on internet sometime ago, and is the easiest way to update all packages in a specific environment using pip and PowerShell: pip freeze | %{$_.split(‘==’)[0]} | %{pip install –upgrade $_} Depending on your environment, it…… Continue reading #Python – Update all Python Packages using pip with #PowerShell

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

Hi ! We already have the drone camera feed ready to process, so let’s do some Image Segmentation today. As usual, let’s start with the formal definition of Image Segmentation In digital image processing and computer vision, image segmentation is the process of partitioning a digital image into multiple segments (sets of pixels, also known…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (20/N)

#Windows10- #WindowsTerminal and Anaconda, bonus: start an Anaconda Virtual Environment

Hi ! Windows Terminal (WT) is one of the coolest tools I’ve using in the last couple of years. I’m not an expert, and not even a fan of CLIs, however I assume working with WT is super cool. Bonus: If you speak Spanish, I shared my own thoughts about this with Juan and Eduard…… Continue reading #Windows10- #WindowsTerminal and Anaconda, bonus: start an Anaconda Virtual Environment

#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! (19/N)

Hi ! Today I face another challenge: I needed to overlay an image on top of another. Something like this. Lucky for me, and as usual, OpenCV allow us to do this with a few lines of code. Let’s take a look. Line 8. Define a custom size for all the images: background image and…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (19/N)

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

Hi ! Today I’ll step back a couple of posts, and add 2 simple lines to allow me to save a video file from the Drone camera. This is a request, and it’s makes a lot of sense to have recorded a file with the drone camera. The video will later contains detected objects and…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (18/N)

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

Hi ! Once we have the a custom vision trained model instance, we can use it to recognize objects from the drone camera feed. Read my previous posts for descriptions on these. Another interesting scenario, is to save local files for every detected object. In the following code, I’ll save 2 different files for every…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (17/N)

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

Hi ! In my previous post, I shared an example where I analyzed the camera feed using a Image Recognition model created using Custom Vision. Today I’ll expand the sample, and show in real time the detected MVPs logos with a frame in the drone camera feed. Let’s take a look at the demo working…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (16/N)

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

Hi ! Let’s use Custom Vision to analyze the images from our drone camera. In this scenario, I created a custom model to recognize MVP awards from my MVP wall. I know, that’s bragging, but I like it. Disclaimer: There are plenty of documentation and tutorials about Custom Vision. I won’t go deep on the…… Continue reading #Coding4Fun – How to control your #drone with 20 lines of code! (15/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)