Hi ! Today, during my [Let’s setup a Raspberry Pi and a reTerminal as an Azure IoT βοΈ device] session, one of the questions was about what cool scenarios we can run once we have a Raspberry Pi as an Azure IoT Edge device. Besides the use of Cognitive Services (only for x64), a cool…… Continue reading #AzureIoT – RTSP Webcam, add rtsp camera π· capabilities to your Edge Device #JulyOT
Tag: Code Sample
#OpenCV – Convert camera feed π¦ to Grayscale and resalt Blue π΅ and Red β€οΈ
Hi ! A new twist on these days demos, this time: Open a camera feedConvert each frame to grayscaleUse a hue mask to resalt colors, Blue and Red Here is a live sample from my office. Note: I created a mask that identifies the Captain America shield, SpyderGwen poster and Ahsoka frame, but it’s missing…… Continue reading #OpenCV – Convert camera feed π¦ to Grayscale and resalt Blue π΅ and Red β€οΈ
#OpenCV – Replace background with video in camera feed π¦ (Black Adam β‘)
Hi ! A new twist on these days demos, based on a request from an online friend. Let’s remove and replace the background from our camera feed using a video. For this demo, I’m using the “Black Adam β Official Trailer 1”. And the output is kind of funny. Hey, funny scenario, and if you…… Continue reading #OpenCV – Replace background with video in camera feed π¦ (Black Adam β‘)
#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…… Continue reading #OpenCV – Background Subtraction in a camera feed π¦ using MOG2
#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…… Continue reading #OpenCV – Remove the background in your camera feed π¦
#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…… Continue reading #OpenCV – 10 lines to remove the background in an image πΌοΈ
#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: https://youtu.be/53_29hY27y8
#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 π