-
#OpenCV – Background Subtraction in a camera feed π¦ using MOG2
Hi ! Yesterday I wrote a post about how to remove the background from my camera feed. To remove the background, I used a python library “cvzone”. While talking with some friends, someone asked about using some of the out-of-the-box features included in OpenCV, like MOG2 or KNN. So I read a little about them… β read more
-
#OpenCV – Remove the background in your camera feed π¦
Hi ! Yesterday I share 10 lines of code to adddress this very simple scenario: Load and image and remove the background. Today I’ll add a few extra lines, and I’ll remove the background from my camera feed. It’s fun to see how the Captain America shield was included in the cropped polygon π And… β read more
-
#OpenCV – 10 lines to remove the background in an image πΌοΈ
Hi ! Super quick post today, with a very simple scenario: Load and image and remove the background. To do this, I’ll use OpenCV and cvzone. Here we can see a screenshot of my office, and the removed background sample. As usual, the threshold is the important one to manage the quality. And the sample… β read more
-
#Coding4Fun β How to control your #drone β with 20 lines of code! Complete series of posts
Hi ! IΒ΄m back to have some fun with the DJI Tello Drone and Artificial Intelligence, so letΒ΄s share all my posts about programming the drone. And, as usual, an old video with the core parts of this series: β read more
-
#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… β read more
-
#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:… β read more
-
#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… β read more
-
#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: β read more
-
#AzureML – Sample π Python app using a WebCam to perform Image Analysis from an image classification AzureML HTTP REST Endpoint
Hi ! In my previous post I wrote How to create a custom dataset with images to be used on a Azure Machine Learning Designer project. How to use the custom data set and how to train an image classification model. How to publish the model to be used as a WebService / HTTP REST… β read more
-
#WioTerminal – Open / Close the #DigitalTwin Door πͺ using Wio Terminal buttons and Azure IoT βοΈ + Azure Functions β‘
Hi ! My current goal is simple: Press Wio Terminal button A will open the Azure IoT Door, press B button will close the door. A demo video is available here: I already wrote about how to use the buttons, however, let’s refresh this. Using Wio Terminal Buttons We need to initialize the buttons, usually… β read more
-
#WioTerminal – Display a countdown progress bar π₯ for the next #AzureIoT βοΈ refresh data call
Hi ! In today’s post I’ll share an scenario about: Display a custom progress bar in the Wio Terminal display. The progress bar is a count down until the next request to the Azure Function interacting with Azure Digital Twin. This is mostly working with strings to create a specific String() that represent the Progress… β read more
-
#WioTerminal – Posts to interact with a #DigitalTwin Door πͺ with Azure IoT βοΈ and Azure Functions
Hi ! Here is the current set of posts on the integration between the Azure IoT door πͺand my Wio Terminal. References Download Arduino IDE Wiki Seeed – Historgram Wiki Seeed β loading Images Wiki Seeed β Installing the File System Library Wiki Seed – Wifi Connectivity GitHub – Arduino_JSON Wikipedia – X BitMap β read more
-
#WioTerminal – Display a #DigitalTwin Door πͺ state using XBitmap with #AzureIoT βοΈ.
Hi ! In today’s post I’ll share an scenario about: Display the state of a door (open / closed) using an XBitmap in Wio Terminal. The door state information come from an Azure Function interacting with Azure Digital Twin. In my previous posts I wrote on how to get data from an Azure Function and… β read more
-
#WioTerminal – Parsing JSON data from an #Azure βοΈ Function !
Hi ! In today’s post I’ll share an scenario about: Invoke an Azure Function to get JSON data, and Parse the JSON data Yesterday I wrote on how to invoke an Azure Function and get JSON data for my Digital Twin scenario. The response from the function is similar to this one: There are several… β read more
-
#WioTerminal – Getting JSON data from an #Azure βοΈ Function !
Hi ! In today’s post I’ll share an scenario about: Invoke an Azure Function to get JSON data In my Digital Twin scenario, I got an Azure Function that returns the current state of a Digital Twin door. The response from the function is similar to this one: So, once the Wio Terminal has internet… β read more
-
#WioTerminal – Connecting to Wifi πΆ, display local IP and get ready for Azure βοΈ scenarios !
Hi ! Another fast post to cover a super important scenario: Connect to a Wifi network in the Wio Terminal. The code and implementation are extremely simple for this, and with a couple of lines of code, we can connect and also display the local IP. Source Code As usual, the full code is below… β read more
-
#WioTerminal – Buttons and Charts time πππ
Hi ! One of the amazing libraries we have to work with the Wio Terminal is one to create charts. And with, only 20 lines of code (or maybe more), we can create a simple app like this one with 3 bars, and every time you press one Button in the Wio Terminal, the bar… β read more
-
#WioTerminal – 1st steps π£, developer steps !
Hi ! I’ll keep this as a reference post for 1st steps developing apps for WioTerminal. And I’ll share the necessary steps for a Hello World app using a countdown and my office! Developer Environment: Arduino IDE This one is easy, we can use the Arduino IDE. Bonus lesson learned here. It’s important to uninstall… β read more
-
#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 seconds Resize each video to be… β read more
-
#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 460 Open video, resize to 460 and speed to x4 Stack both videos Export to Gif The code is super simple Super, easy. It and the output is a 2MB gif… β read more