Hi ! This is a non-usual scenario, however I’m on a point where I need to extract all the frames from a video file. The reason: some of these frames will be used to train a Machine Learning model. There are tools that can do this, however it’s a nice moment to do some OpenCV…… Continue reading #OpenCV – Open a video file 🎥 and save each frame as a PNG 🖼 file to a folder 📂#Python
Hi ! Super short post today, however is the base of the next series of posts around OpenCV and .Net 5. I already wrote on how to work with a webcam, and now it’s time to share a simple piece of code to show How to open and process a video frame by frame I’ve…… Continue reading #dotnet – Display a video file🎥 in Winform using #OpenCV and #net5
Hi ! I had a great time early in the day with my Microsoft Student Partners from Lahore Pakistan, for the Global AI Tour. As usual, time for slides and code: Slides Code https://github.com/elbruno/events/tree/main/2020%2011%2030%20Global%20AI%20Tour%20Pakistan Resources DJI Tello Drone,https://www.amazon.com/Tello-CP-PT-00000252-01-Quadcopter-Drone/dp/B07BDHJJTHRyze Tello SDK, https://www.ryzerobotics.com/tello Viola Jones, Object Detection Framework,https://en.wikipedia.org/wiki/Viola%E2%80%93Jones_object_detection_framework Cognitive Services Custom Vision, https://customvision.ai
Hi ! A couple of days ago, Scott Hanselman posted about a super cool feature (see references): … you can make a single EXE that will run on any Windows Machine in two commandsHow to make a WinForms app with .NET 5 entirely from the command line and publish as one self-contained file and I…… Continue reading #dotnet – Packaging my WinForm #OpenCV and #net5 app in a one-self contained file (Thanks @shanselman!)
Hi ! LearnOpenCV is an amazing resource to learn about OpenCV. And, it has lot of scenarios of real life problem solved with OpenCV. Most of the samples are in C++ or Python, so I decided to pick one related to pose estimation, and using .Net 5 in a Winforms App, build something like this:…… Continue reading #dotnet – Pose detection from the 🎦 camera feed using #OpenCV and #net5. Home-made #kinect!
Hi ! So I was browsing in the OpenCV documentation and I find a nice sample that uses opencv_dnn module for image classification by using GoogLeNet trained network from Caffe model zoo. So I give it a try, and get a decent .Net 5 Winforms App running at ~30 FPS. The model was trained with…… Continue reading #dotnet – GoogleNet detection from the 🎦 camera feed using #OpenCV and #net5. Bonus: C++ to C# time!
Hi ! Face detected, so next step is to use some prebuild models to perform additional actions: like estimate the Age of a face, and also the Gender. In order to do this, I downloaded a couple of models from here. Disclaimer: these models are just sample models, do not use them in production. These…… Continue reading #dotnet – Age and Gender estimation from the 🎦 camera feed using #OpenCV and #net5
Hi ! In one session around computer vision, someone ask the question about which approach is better Haar Cascades or DNN? And the answer can be show using the video below As you can see Haar Cascades works great for faces looking directly to the camera, with good lights and in optimal conditions. However, once…… Continue reading #dotnet – Detecting Faces, DNN vs Haar Cascades from the 🎦 camera feed using #OpenCV and #net5
Hi ! I had a great time early in the day (04:00AM!) with the MVP Days Israel team talking about how to start with Machine Learning .Net. As usual, time for slides and code: Slides Code https://github.com/elbruno/events/tree/main/20201119%20MVP%20Day%20Israel%20MLNet Resources DotNet Machine Learning.NetGitHub DotNet Machine LearningGitHub DotNet Machine Learning Samples Recording Coming soon !
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. // download…… Continue reading #dotnet – Detecting Faces using DNN from the 🎦 camera feed in a WinForm using #OpenCV and #net5