Lehmanator / react-image-classifier

React App to classify images using MobileNetV2 Tensorflow model.

Home Page:https://samlehman.me/react-image-classifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


react-image-classifier
React Image Classifier

A minimal GUI to run images through the Tensorflow model MobileNetV2 to classify them.

Key FeaturesUsageInstallationTo-DoCreditsLicense

Key Features

  • Classifies images using the state-of-the-art MobileNetV2 model.
  • Self-hosted & offline.
  • Free to use

Installation

  • Clone or download the repo.

    git clone https://github.com/samlehman617/react-image-classifier.git

  • Navigate to cloned folder and run

    npm install

Usage

  • Start development server - build app continuously @ http://localhost:8080

    npm run start

  • Pre-build - dist/ - Build app for production

    npm run prebuild

  • Build - Build app once and serve @ http://localhost:3000

    npm run build

Contribute

Please contribute to the project if you know how to make it better, including this README :)

To-Do

  • Split code into re-usable component
  • Allow arbitrary Tensorflow image classifiers
  • Add UI for switching between pre-defined/pre-trained models
  • Make into a Progressive Web App

Credits

react-dropzone

License

Use at your own risk until I decide to learn more about licensing.

About

React App to classify images using MobileNetV2 Tensorflow model.

https://samlehman.me/react-image-classifier

License:Apache License 2.0


Languages

Language:JavaScript 97.3%Language:SCSS 2.1%Language:HTML 0.6%