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 ❤️
Tag: OpenCV
#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 🖼️
#OpenCV – Access to a camera in a Jupyter Notebook with #Python 🐍
Hi ! Super quick post today, with an answet to a question that we had last week in one of our Reactor Sessions: Can we access to a camera 🤳 while I’m coding in a Jupter Notebook? So, the answer is YES. Here is a sample: And as usual, let’s share some code and some…… Continue reading #OpenCV – Access to a camera in a Jupyter Notebook with #Python 🐍
#ESP32CAM – Client Python 🐍 app to view WebServer photos 📸
Hi ! Still learning with the ESP32 CAM board. In today’s post the scenario is simple: Create a client Python app to view remote photos from the ESP32 Cam Arduino device This is a super lower quality photo, but hey, still good enough ! This is a super simple Python and OpenCV app. https://gist.github.com/elbruno/590d0ef8db3299f158e6eff38f445d7c Full…… Continue reading #ESP32CAM – Client Python 🐍 app to view WebServer photos 📸
#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 🐍