#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

#Python 🐍 – Easy way to install #OpenCV and #TensorFlow in a Virtual Environment in Anaconda . Yes, for drone 🚁 fun !

Hi ! I wrote about this before, however, I never shared the complete set of steps. Here they are. Install and Update Anaconda After installing Anaconda, it’s time to update. We need to start Anaconda PowerShell with Administrator privileges. And then run these commands. conda update conda conda update –all That was easy. Create a…… Continue reading #Python 🐍 – Easy way to install #OpenCV and #TensorFlow in a Virtual Environment in Anaconda . Yes, for drone 🚁 fun !

#Event – Video on how to create a #AzureIoT Central App in 10 min to display drone 🚁 telemetry

Hi ! Yesterday I had the pleasure to talk about how to create a sdk to control a DJI Tello drone with my friends from Azure AI Latam. And the 2nd part of the session was focused on how to use Azure IoT Central to process and display the drone telemetry information. So you can…… Continue reading #Event – Video on how to create a #AzureIoT Central App in 10 min to display drone 🚁 telemetry

#Python 🐍 – concatenate video and add blur effect 🎦 using moviepy and scikit-image

Hi ! Today I’ll share another cool sample using moviepy, and I’ll also use scikit-image to add some extra effects. This one is again based on the cat videos, and perform this steps: Using the cat video, open 3 video objects with different segments: 1-2 seconds, 2-4 seconds, 4-6 secondsResize each video to be smallerApply…… Continue reading #Python 🐍 – concatenate video and add blur effect 🎦 using moviepy and scikit-image

#Python 🐍 – change video speed in a more complex scenario 🎦 using moviepy

Hi ! Today I’ll share another cool sample using moviepy. This one is easy and based on previous posts: Open video and resize to 460Open video, resize to 460 and speed to x4Stack both videosExport to Gif The code is super simple https://gist.github.com/elbruno/6a228086d5840570f68c7eaa4c1a3568 Super, easy. It and the output is a 2MB gif file. Source…… Continue reading #Python 🐍 – change video speed in a more complex scenario 🎦 using moviepy

#Python 🐍 – 2 lines to create a gif from a video 🎦 using moviepy

Hi ! Today I’ll share another cool sample using moviepy. This one is easy: create a gif from a video file. And in this scenario, I added some extra features Use the Video frames from seconds 1 to 5Resize the output to 50% of the original file The code is super simple https://gist.github.com/elbruno/6acd7aa765cca87642e2ccf047a65720 Super, easy.…… Continue reading #Python 🐍 – 2 lines to create a gif from a video 🎦 using moviepy

#Python 🐍 – Let’s stack and edit some videos 🎦 using moviepy

Hi ! Today I’ll share another cool Python library: moviepy. And, as usual let’s share the code, the best way to explain part of this library capabilities https://gist.github.com/elbruno/b1ecf3f24b211e4fd0c860cf96d2f2b3 Super, easy. It start with 2 cats videos, create 2 new videos with mirroring effects from the source videos, and create a final video with the 4…… Continue reading #Python 🐍 – Let’s stack and edit some videos 🎦 using moviepy