Giter VIP home page Giter VIP logo

androidnumberclassifier's Introduction

Number Classifier

Basic demo showing how to include and run a custom TensorFlow model.

| | |

Created a Classifier class to help speed up adding new models. The classifier interface and abstract class can be extended to use any method of classifying, not necessarily TensorFlow or even machine learning classification.

Note

The v1 model is based on the no pooling CNN.

The classification is sometimes off and I believe this has to do with the way we pull the pixels from the Android Bitmap.

  • Color values: Model was trained with gray scale (1 dimension)
  • Shape: Model was trained with a [1, 784] single array that gets reshaped to a 28 x 28. In this app I do the reshaping on the device and just pass a 28 x 28 image to the classifier.

The closer I can get the user input (drawn on image view) to the input data that the model was trained on then the classification results should be better. (Or try to see if the models are too over-fit to the input data)

androidnumberclassifier's People

Contributors

jsflo avatar

Watchers

 avatar  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.