#Drone 🚁 – Detect Squirrels 🐿️ and Space Wolves 🐺 from a drone camera using Python πŸ

Hi ! In a couple of hours, I’ll host a session where I show how to control a drone using Python 🐍; and also how to access the drone camera and apply AI on top of the camera feed. Python SWFL – Let’s code a drone to follow faces In example, this is the drone…… Continue reading #Drone 🚁 – Detect Squirrels 🐿️ and Space Wolves 🐺 from a drone camera using Python πŸ

#OpenCV – How to convert to grayscale and show a single color an image πŸ–ΌοΈ using Python πŸ

Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know πŸ˜€): How to convert to grayscale an image and show a single color using python and opencv Here is the output with an original photo from my office and a new image with this effect: Disclaimer:…… Continue reading #OpenCV – How to convert to grayscale and show a single color an image πŸ–ΌοΈ using Python πŸ

#OpenCV – How to add a Pencil Sketch effect to an image πŸ–ΌοΈ using Python πŸ

Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know πŸ˜€): How to add a pencil sketch effect to an image using python and opencv Here is the output with an original photo from my office and a new image with the pencil sketch effect: Sample…… Continue reading #OpenCV – How to add a Pencil Sketch effect to an image πŸ–ΌοΈ using Python πŸ

#OpenCV – How to add a watermark to an image πŸ–ΌοΈ using Python πŸ

Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know πŸ˜€): How to add a watermark text to an image using python and opencv Here is the output with an original photo from my office and a watermarked one: Sample code: https://gist.github.com/elbruno/3180142bc220a50601ac3c7c0b1e663d

#OpenCV – Detect and blur faces 😁 using haar cascades in Python πŸ

Hi ! Quick post today: detect a face using haar cascades and blur the face area. Easy to implement, and also easy to read: Code below https://gist.github.com/elbruno/e9ce11a4eb49a6ae94efac74b2dae36e Important: Haar cascades are easy to implement and learn, however, not recommented as a good solution to detect faces.

#Python 🐍- Working with Environment Variables and python-dotnenv

Hi ! The Microsoft Cloud Advocates team is great and, hey everyday I learn something new. A couple of days ago we were talking about working with Environment Variables and Virtual Environments. I wrote several times about working with Virtual Envs, like WindowsTerminal and Anaconda, start an Anaconda Virtual EnvironmentHow to List and Remove Virtual…… Continue reading #Python 🐍- Working with Environment Variables and python-dotnenv

#AzureFunctions ⚑- Pip and TLS/SSL error on Debugging with #Python πŸ

Hi! There is something wrong with my current development environment. I have an Azure Function with these dependencies: azure-functions requests Pillow numpy flask tensorflow opencv-python And I got this error when I press F5 / Run the project in local mode. > Executing task: .venv\Scripts\python -m pip install -r requirements.txt < WARNING: pip is configured…… Continue reading #AzureFunctions ⚑- Pip and TLS/SSL error on Debugging with #Python πŸ

#Python 🐍 – Export Video Frames as Images from a video file πŸŽ₯

Hi ! I can’t believe I didn’t write about this before. I usually do this, at least 2 times per month, and hey, now it’s on the blog for my future reference. Simple Scenario: Open a video file and export each frame as an image. Some notes: The sample uses OpenCV. I wrote a lot…… Continue reading #Python 🐍 – Export Video Frames as Images from a video file πŸŽ₯

#RaspberryPi – Listing nearby BLE devices using the onboard #bluetooth sensor

Hi ! I done this at least, 4 different times, and I never wrote it down. So, here it is. import json from bluepy.btle import Scanner try: # based on http://ianharvey.github.io/bluepy-doc/scanner.html#sample-code scanner = Scanner() devices = scanner.scan(10.0) devices_m = [] for dev in devices: name = “” power = “” for (adtype, desc, value) in…… Continue reading #RaspberryPi – Listing nearby BLE devices using the onboard #bluetooth sensor