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: Python
#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
#Python π – Webserver App to receive binay content and save this as a file locally
Hi ! The title of the post is enough to describe the next piece of code: Webserver App to receive binay content and save this as a file locally Here it is. https://gist.github.com/elbruno/286168cfdda38f5f07a6e4feec5edbc5 And, while we perform some posts to the http endpoint, we can start to see the local files in the same folder…… Continue reading #Python π – Webserver App to receive binay content and save this as a file locally
#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 πΈ
#Python π – how to find where Python is intalled – working with #reTerminal @Seeedstudio and @code
Hi ! Setting up my Seeedstudio reTerminal and Visual Studio Code, I realized that Python was already installed, but I’m not sure where π€. So, in the Visual Studio Code terminal (you can do this in the bash), first I check the version of Python with the command python3 -V And, hey I got 3.7…… Continue reading #Python π – how to find where Python is intalled – working with #reTerminal @Seeedstudio and @code