-
#dotnet – Detecting Faces using DNN from the 🎦 camera feed in a WinForm using #OpenCV and #net5
Hi ! Let’s do some face detection using a DNN model (See references). As yesterday, I won’t write about details, there are almost 20 years of online documentation available. And, IMHO opinion code is much more useful that long writing, so let’s go there. 1st load the Caffe model and the config file. And, once… — read more
-
#dotnet – Detecting Faces using Cascades from the 🎦 camera feed in a WinForm using #OpenCV and #net5
Hi ! Let’s do some face detection using one of the most popular methods: Haar Casacades (See references). I won’t write about Cascades, there are almost 20 years of online documentation available. And, IMHO opinion code is much more useful that long writing, so let’s go there. 1st load the cascade definition file. And, once… — read more
-
#dotnet – Display the 🎦 camera feed in a WinForm using #OpenCV and #net5
Hi ! Back on the Windows Forms days, cameras were tricky. We didn’t have a lot of libraries to work, and they usually require some extra work to handle unexpected errors. With Net 5 and OpenCVSharp, we can create a simple WebCam viewer like this one. Let’s start with a [Take a Photo] Windows Form… — read more
-
#dotnet – detecting corners on the 🎦 camera feed with FAST algorithm, #OpenCV and #net5
Hi ! Today is a quick one: FAST corner detection algorithm. FAST (Features from Accelerated Segment Test) algorithm was proposed by Edward Rosten and Tom Drummond in their paper “Machine learning for high-speed corner detection” in 2006 (Later revised it in 2010). A basic summary of the algorithm is presented below. Refer original paper for… — read more
-
#dotnet – detecting edges on the 🎦 camera feed with Canny algorithm, #OpenCV and #net5
Hi ! The Canny edge detection is one the most popular algorithms, and it’s also +30 years old. The Canny edge detector is an edge detection operator that uses a multi-stage algorithm to detect a wide range of edges in images. It was developed by John F. Canny in 1986. OpenCV includes the Canny algorithm… — read more
-
#dotnet – less than 20 lines to display a 🎦 camera feed with #OpenCV and #net5
Hi ! This post is the start of a series of posts around OpenCV and DotNet Core .Net 5. Most of my samples are going to be camera based, so I’ll start with the +20 13 lines needed to access a local camera and show the frames in a window. And the code using Net… — read more
-
#Event – Resources used during the session “Let’s code a drone 🛸 to follow faces with #dotnet”@dotnetdocsshow
Hi ! I had a great time yesterday with the @dotnetdocsshow team talking about how to program a drone. And this time, with a special flavor: Lets program the drone using dotnet core ! It was an amazing experience, and a really fun moment. Scott, David, Cam and Cecil are great hosts, and they make… — read more
-
#Tools – How to create an IP Camera from a USB Camera on #Windows10
Hi! So, I may need to create a new category for these posts, something like “scenarios that you will never need in your life”, or “I did this once and now I can’t remember what I did”. Today is a simple one, Let’s create a IP Camera from a USB Webcam in Windows. There are… — read more
-
#RaspberryPi – Raspberry Pi 400,
Hi ! It seems that it was yesterday when I wrote about the amazing and new Raspberry Pi 4, and it was on February ! There was a lot of news since February, however the Raspberry 400 is a huge milestone. From a hardware view, is a faster device, that’s cool. However I really like… — read more
-
#AI – #Lobe, exporting to ONNX, and running in C# #csharp @lobe_ai
Hi ! Follow up post after yesterday post on Lobe, and today focusing on ONNX and C# code. And, it all started because someone asked in twitter about an ETA to export the model to ONNX I decided to give a try to the TensorFlow to Onnx tool, and it worked great ! (see references).… — read more
-
#AI – #Lobe, desktop tool to train custom machine learning models for Computer Vision @lobe_ai
Hi ! There are 2 ways to describe Lobe. You may want to use their official description Lobe helps you train machine learning models with a free, easy to use tool. Lobe AI Homepage Or you may want to use the tool. Let’s review the 2nd one with a NNNN step tutorial. Data Source Images… — read more
-
#Python – Convert an #OpenCV frame to PIL image and viceversa
Hi ! It’s amazing how I can code and have fun for hours, and them suddenly spent 2 hours trying to manually do something, that it’s already resolved in all internet. Today’s challenge: Convert an OpenCV frame to PIL image And, why ? very simple, OpenCV follows the BGR convention and PIL follows RBG convention.… — read more
-
#JavaScript – Console-log-viewer.js an amazing script to overlay console in your HTML apps
Hi ! Yes, I know, I’m writing about JavaScript. It’s 2020, so anything can happen, and here I am, blogging about JavaScript. So, I’m learning a lot of TensorFlowJs, and having some kind of logging is a must. I’m a huge fan of Edge Developer Tools, however in some scenarios, like a browser in a… — read more
-
#ML.NET Image Classification with ML.NET Command-Line Interface (CLI), no #VS2019 needed !
Hi ! I haven’t write a lot about ML.NET Command-Line Interface (CLI) (see references), and that’s a shame. It’s very powerful and also it supports most of the ML.Net features, like in example: Model Builder Image Classification scenario. The ML.NET CLI automates model generation for .NET developers. To use the ML.NET API by itself, (without… — read more
-
#VS2019 – ML.NET Model Builder for Object Detection, be careful with file names and VoTT
Hi ! This is a sequel part after yesterday post on the new Model Builder Object Detection scenario. I’ve found this error, and it took me some time to figure out the reason. As usual, an error on the Model Builder, with very few details and the suggestion to check more details on the Azure… — read more
-
#VS2019 – ML.NET Model Builder for Object Detection using #Azure Compute #mlnet #objectdetection
Hi ! There is a new scenario available in ML.Net Model Builder for Visual Studio 2019: Object Detection. This scenario is not just image tagging, this scenario allows us to detect objects in an image, and get the specific coordinates and size of the detected objects. As usual, it requires a starting data set with… — read more
-
#Windows10 – My own list of prerequisites to install dlib: Visual Studio C++, CMake and Cuda dlls
Hi ! Another blog post reminder, this time related on prerequisites to install dlib. And before start, a dlib description: Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. It is used in both industry and academia in a wide range… — read more
-
#Tools – Add ZoomIt to Windows 10 Start Menu #Windows10
Hi ! Here it goes another post reminder, just for me. Every time I install a new Windows 10 instance, I need to search on how to add a .exe file as an application to the Windows Start Menu. So, I’ll use ZoomIt as the sample one and here are the steps. Disclaimer: if you… — read more