-
#OpenCV – Convert camera feed π¦ to Grayscale and resalt Blue π΅ and Red β€οΈ
Hi ! A new twist on these days demos, this time: Open a camera feed Convert each frame to grayscale Use 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 β read more
-
#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 β read more
-
#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
-
#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 β read more
-
#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. Full code β 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
-
#OpenCV – Access a local camera π€³in F# π
Hi ! NET is in anniversary mode, and in Dev.to blog, someone asked about these samples in F#. It’s been a while since I wrote some F# code, and this is the perfect excuse to start. Today Post: Access a local camera and show the camera frames in an OpenCV window. In following posts we β read more
-
#OpenCV – Detect and blur faces π using DNN in C#
Hi ! NET is in anniversary mode, so I think it will be a good idea to share some camera samples in C#. For these demos I’m using C# 6 and OpenCVSharp as OpenCV wrapper for .NET. Today post: detect a face using a DNN model and blur the face area. This demo also show β read more
-
#OpenCV – Detect and blur faces π using haar cascades in C#
Hi ! NET is in anniversary mode, so I think it will be a good idea to share some camera samples in C#. For these demos I’m using C#, NET 6 and OpenCVSharp as OpenCV wrapper for .NET. Today post: detect a face using haar cascades and blur the face area. This demo also show β read more
-
#OpenCV – Detect and blur faces π using DNN in Python π
Hi ! Quick post today: detect a face using a pretrained DNN model and blur the face area. Easy to implement, and also easy to read: Code below That’s it, sample using DNN. Next challenge will be to do this in F#. β read more
-
#OpenCV – Detect and blur faces π using haar cascades in Python π
Hi ! Quick post today: detect a face using haar cascades and blur the face area. Easy to implement, and also easy to read: Code below Important: Haar cascades are easy to implement and learn, however, not recommented as a good solution to detect faces. β read more
-
#reTerminal – Installing TensorFlow, @Code and recognizing πΏοΈπΊ using a Camera π€³
Hi ! Let’s start with some posts using reTerminal with a very simple scenario: Install TensorFlow and Code on reTerminal to run an object recognition app. The desired output is something similar to this one. Live demo in a tweet ! And letΒ΄s start with the base commands to install Visual Studio Code. Oficial VSCode β read more
-
#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 β read more
-
#Event – Resources for the “Detecting faces with a Drone and AI” at MCT West Africa Cloud Bootcamp @MctwaB
Hi ! I had an amazing time with the MCT West Africa Cloud Bootcamp team talking about drones, face detection and Artificial Intelligence. And, as usual it’s time to share the source code and more resources. Source Code The full set of demos is available here. Recording coming soon ! The experience was great, I’m β read more
-
#Event – Resources for the “πββοΈ Into the deep end with OpenCV” with #TheDotNetDocsShow team #dotnet
Hi ! I had an amazing time with the DotNet Docs Show team talking about OpenCV and .Net. And, as usual it’s time to share the source code and more resources. Source Code The full set of demos is available here. Recording It’s been a year since I was in this show. The experience is β read more