GithubHelp home page GithubHelp logo

woorimaum / machinelearning-objectdetect-wpf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gerardo-lijs/machinelearning-objectdetect-wpf

0.0 0.0 0.0 107.83 MB

Complete sample for object detection in .NET using Machine Learning and WPF. From image labelling to training to final app

C# 100.00%

machinelearning-objectdetect-wpf's Introduction

Machine Learning Object Detection in .NET with WPF App

Complete sample for object detection in .NET using Machine Learning and WPF. From image labeling to training to final app.

For sample/demonstration/understanding of the full cycle I will label and train with just a few images of a very simple problem. Labeling and model training depending the domain and complexity of the project is something best done by a Data Scientist specialist. For .NET developers I think the important part is Part 3 so they can integrate with their software and add value. Labeling and model training can be outsource to a specialist or use one of the several public models available made by experts.

Part 1 - Labeling

The first step to detect objects in images/video is to label them. There are several applications and websites for this. Opensource, comercial, local only, cloud backend to fit everyone needs/taste. Here is a short list of some of them:

  • VoTT - Microsoft Visual Object Tagging Tool

    Can be run as a desktop application and works with local files or directly online using Azure Blob Storage. It allows to export to several formats (Pascal VOC, TensorFlow recods, Azure Custom Vision Service, etc)

  • Azure Custom Vision Portal

    It's part of Azure Cognitive Services and allows to upload images and label them directly in the web.

  • Label Studio

    Open Source data labeling tool. Apart from labeling images for object detection it can also work with audio, texts, etc. You can run it locally with Docker in one minute.

  • Make Sense

    Open Source annotation tool. It runs directly on the web and allows to export the bounding box labels in many formats.

  • Comercial options (some with Free Tier)

Part 2 - Model training

Part 3 - WPF Application

In this sample I chose to use a .NET 5 WPF application so that the sample is helpful for .NET desktop developers. Obviously deploying the previous model as a Docker container or a REST API endpoint for web use is also possible and maybe even simpler and they are several samples/tutorials online for this.

The sample is based on Microsoft Machine Learning Sample.

You can check the source code here. As with most of my WPF projects I used MahApps and ReactiveUI but those are not required.

machinelearning-objectdetect-wpf's People

Contributors

gerardo-lijs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.