Coder Social home page Coder Social logo

martin2c51 / image_classifier_template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from llsourcell/image_classifier_template

0.0 1.0 0.0 121 KB

This is the code for "Image Classifier Example" by Siraj Raval on Youtube

Java 8.58% Ruby 18.59% Objective-C 11.04% Dart 61.80%

image_classifier_template's Introduction

Credits

Credits go to the FastAI team, Naveen Chanakya, and the Flutter team. I integrated a few different tutorials together to form a SaaS pipeline template. This is the code for this video on Youtube by Siraj Raval on building an image classification startup. There are 3 components here; A web API, a model training script, and a mobile app. The code in this repository is for the starter flutter app. Let's go through the 5 step process below. Pull Requests are always welcome!

Step 1: Find an Image Dataset

What is the image classification service you'd like to build? Once you decide, find a related dataset using these tools

Step 2: Transfer Learning

  • Run this notebook on your local machine or upload and run it to colab. Replace the bear dataset with your own image dataset. It's retraining a 'resnet34' image classification model. This is transfer learning.
  • Save the resulting model pkl file to google drive, save the download link.

Step 3: Signup for Firebase + Stripe

Step 4: Deploy the Web API

  • Fork this repository.
  • Follow the instructions in its README to deploy it to render
  • Once deployed, check that it works.
  • Then replace line 12 in 'server.py' of the web example with a link to your own classifier pkl file and re-deploy
  • Make any cosmetic changes to the front-end inteface that you'd like

Step 5: Build the Mobile App

  • Install Flutter here
  • Download this code
  • Open it in android studio as a new flutter project
  • it will ask you to 'get' all dependencies, say yes and it'll will all be installed automatically
  • Replace the default render link in 'main.dart' to the link to your deployed render app
  • Notice the 2 functions for signup and login. This is where your stripe and firebase authentication code will be placed
  • See this and this

image_classifier_template's People

Contributors

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