-
#Coding4Fun – How to control your #drone with 20 lines of code! (1/N)
Hi ! I’ll start to write a couple of posts about controlling a drone using Python. This all started at the end of 2019 when my friend Daniel (@danielcauser) told me that he was playing around with the DJI Tello Drone (see references). This drone is a small quadcopter that features a Vision Positioning System — read more
-
#RaspberryPi – Install Virtual Environments
Hi! Virtual Environments are a great way to isolate our dev tests, and after been using this in Windows also, work with them in the Raspberry Pi makes a lot of sense. I’ll leave here the necessary steps to do this, however the full credit is based on some posts from Adrian Rosebrock and his — read more
-
#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 — 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
-
#Python – How to fix “ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)” on #Windows10 #TensorFlow
Hi! Ok, I’ll write this down. I face this issue from time to time, and then after some searching and reading, I found the solution (again!) and I realize I’ve been done this before. So, I’m installing Tensorflow on Windows with the amazing single command And then I get this error So, I decided to — read more
-
#Ebook – Code the Classics, amazing book for programming games in #Python. From the #RaspberryPi library.
Hi! My son is a crack and he already passed the Scratch stage. He is part of an amazing Code Ninja programming program and he is asking for some new challenges. Last month, when I see the release of the Code the Classics – Volume 1 book, I get one for us. And it’s amazing. — 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
-
#Anaconda – How to create a custom #Python virtual environment and use it in #Jupyter notebooks (a kernel!)
Hi! In yesterday post, I created a new virtual environment named [devtf] and in this environment I’ve installed a lot of tools that I need. Then I tried to launch a jupyter notebook from this environment, to use this tools and, of course, it didn’t work. It was time to read and learn how this — read more
-
#Python – Can’t install TensorFlow on Anaconda, maybe is the Visual Studio distribution
Hi! This is the 2nd time I get a weird error when I install TensorFlow in my Anaconda distribution. And this is the 2nd time I realize that I’m using the Anaconda version that is preinstalled with Visual Studio. I’m not sure if the spaces in the path affects the creation of environments or it’s — read more
-
#Python – Let’s use a #FaceRecognition demo app for a performance comparison between #RaspberryPi3 and #RaspberryPi4
Hi! I started to do some tests with the new Raspberry Pi 4 and the results are amazing. I’m not a performance expert, so I decided to pick up some of the demos / apps I’ve creating for the Raspberry Pi and run them in both models: Raspberry Pi 3 B+ and Raspberry Pi 4. — read more
-
#Python – Detecting #Hololens in realtime in webcam feed using #ImageAI and #OpenCV with performance improvements
Hi! In my previous post I created a sample on how to use ImageAI and OpenCV to detect Hololens from a webcam frame (see references). I added some code to the last sample, and I found that the performance was not very good. With the previous sample code, I couldn’t process more than 1 frame — 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
-
#RaspberryPi – Running a #python script in a Python Virtual Environment on reboot / startup
Hi! Adrian Rosebrock is a very smart person who has tons of great resources about Computer Vision in PyImageSearch.com. Most of them are with Python, and he also have some of them focused on how to perform CV using OpenCV in a Raspberry Pi. In the post [Running a Python + OpenCV script on reboot, — read more
-
#Python – How to create a Virtual Environment in #Windows10 (Easy one, and brain backup!)
Hi! Quick post today, and mostly a reminder on how to create a Virtual Environment in Python in Windows 10. I’ve been doing this mostly in my Mac and my Raspberry Pi, and I always forget how to do this on Windows, so … I’ll write this post to have this Install Python3. Download the — 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 (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 — 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
-
#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 — read more