-
#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 — read more
-
#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. — read more
-
#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 — read more
-
#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 — read more
-
#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 — read more
-
#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 — read more
-
#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 — read more
-
#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 — read more
-
#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. As a final note, just need to mention that I make some — read more
-
#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 — read more
-
#RaspberryPi – Install OpenCV
Hi! After some posts about how to setup a Raspberry Pi, today I’ll share the steps I follow to install OpenCV. Disclaimer: if you are looking for a detailed step by step on how to install or even build OpenCV in a Raspberry Pi, I strongly recommend to read the post “Install OpenCV on Raspberry — read more
-
#AI – Getting started with #ComputerVision, #DeepLearning, and #OpenCV by Adrian Rosebrock @pyimagesearch
Hi! When you start to research the amazing world of Computer Vision, you find that there are plenty of courses, tutorials, videos and more resources. Something is kind of “too much”, and it’s not easy to choose where to start. That’s why, when you arrive to one of the Adrian Rosebrock tutorials or articles, they’ll — read more
-
#RaspberryPi – 6 commands to install #OpenCV for #Python in #RaspberryPi4
Hi ! Quick post to remind me the 6 commands to install OpenCV in my Raspberry Pi There is an optional command to update pip, which is always nice. Happy Coding! Greetings @ Burlington El Bruno References Open CV, https://opencv.org/ Caribbean Developer Conference 2019, https://cdc.dev/ — read more
-
#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. 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 hope — read more
-
#Anaconda – My steps to install a virtual environment with #TensorFlow, #Keras and more
Hi! So today post is not a post, just a selfish reminder of the steps I do when I setup a new dev machine Install Anaconda (see references). I use the default settings, and important: I don’t add Anaconda to Windows PATH. Open Anaconda command prompt as administrator Need to be open as Admin in — read more
-
#Python –Detecting #Hololens in realtime in webcam feed using #ImageAI and #OpenCV (thanks to @OlafenwaMoses)
Hi! Let’s start with a very quick intro: During the past months, I’ve been playing around with several Image Analysis tools. And ImageAI (see references) is one that deserves a full series of posts. Please take a look at the product and the source code in GitHub, and also please thank the one behind this: — read more
-
#VSCode – Let’s do some #FaceRecognition with 20 lines in #Python (6/N)
Hi! In my last post I share some lines of code which allowed me to run some of the face recognition demos 6 times faster. I added a Frames per Second (FPS) feature in my samples. Later, thinking about performance, I realize that I don’t need to work with a full HD picture (1920 x — read more
-
#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 There is some room for performance improvement, so I’ll focus on this in next posts. The complete — read more