-
#Event – Global AI Bootcamp Toronto on Dec 12 π€π€π€ @GlobAICommunity
Hi ! This started to be my annual tradition: Global AI Bootcamp is the last event of the year! And this year, we had a set of amazing session planned with the following topics: Introduction to AI and Cognitive Services for Developers and Information Workers Understanding Autonomous systems, Machine Teaching and Bonsai Platform Knowledge Mining β read more
-
#Event – Resources used during the session “Hack a drone, hack the camera and use AI” at the Global AI Tour, Lahore Pakistan, 2020
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/B07BDHJJTH Ryze 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 β read more
-
#dotnet β Packaging my WinForm #OpenCV and #net5 app in a one-self contained file (Thanks @shanselman!)
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 commands How to make a WinForms app with .NET 5 entirely from the command line and publish as one self-contained file and β read more
-
#dotnet β Pose detection from the π¦ camera feed using #OpenCV and #net5. Home-made #kinect!
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: β read more
-
#dotnet β GoogleNet detection from the π¦ camera feed using #OpenCV and #net5. Bonus: C++ to C# time!
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 β read more
-
#dotnet β Age and Gender estimation from the π¦ camera feed using #OpenCV and #net5
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 β read more
-
#dotnet β Detecting Faces, DNN vs Haar Cascades 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 β read more
-
#Event – Resources used during the session “Getting started with Machine Learning.Net and AutoML” at the MVP Days Israel 2020
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.Net GitHub DotNet Machine Learning GitHub DotNet Machine Learning Samples Recording Coming soon ! β read more
-
#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