Giter Club home page Giter Club logo

toyidentifier's Introduction

Toy Identifier

This is an example app, showing a number of different ways to use the Azure Custom Vision service from a Xamarin app to identify images with different tags.

This repo has a number of branches, each with a different version of the app using the custom vision service in a different way.

The basics of the app are simple - a single Xamarin Forms page with a button. Tap the button, it will open the camera so you can take a photo. This photo is then analysed using an image classifier built using the custom vision service and the tag with the highest probability is found. If this probability is higher than a threshold (defaults to 50%) then the app says hello to the tag - both using text and speech. If no tags are found that are higher than the threshold the apps says it doesn't know what the image is.

Before you can use this app, you will need to create a custom vision project:

  • Head to https://customvision.ai
  • Sign in with a Microsoft account
  • Create a new project, upload some images and tag them as described here

You can read more on creating this project at https://www.jimbobbennett.io/identifying-my-daughters-toys-using-ai/.

master

The master branch is a version of the app that uses a NuGet package to make predictions using the classifier.

To use this NuGet package you need your project Id and prediction key from the project settings tab of the custom vision service. Set these values in the ApiKeys.cs file.

You can read more on this code at https://www.jimbobbennett.io/identifying-my-daughters-toys-using-ai-part-2-using-the-model/.

OnDeviceModel

The OnDeviceModel branch contains a version of the app that uses a model downloaded from the custom vision service, both as a CoreML model on iOS and a TensorFlow model on Android. To use your models with the app, export them from the Performance tab as described here.

You can read more on using this model from CoreML at https://www.jimbobbennett.io/identifying-my-daughters-toys-using-ai-part-3-offline-ios/.

toyidentifier's People

Contributors

jimbobbennett avatar

Watchers

James Cloos 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.