Giter VIP home page Giter VIP logo

imageclassifier's Introduction

Image Classification

This is an image classification program that predicts given images based on 10 classes listed below:

  • Plane, Car, Bird, Cat, Deer, Dog, Frog, Horse, Ship and Truck It uses a Convolutional Neural Network to train on the training dataset, and predicts an ouput with over 70% accuracy. The cifar10 Dataset library from Keras was used to train the model of this application.

Installation

  1. Download and install Python 3 or higher from here
  2. Clone this repo to your local machine using:
git clone https://github.com/Tamer7/ImageClassifier.git
  1. Download the required packages by typing:
pip install -r requirements.txt
  1. Discard the Machine Learning model folder and use only the:
webapplication folder

Usage

  1. To run the django server follow these steps below:
a. cd into the webapplication folder (cd webapplication)
b. run the following command to start the server (python manage.py runserver)
c. Nagivate to the localhost shown in the terminal (in my case it is "http://127.0.0.1:8000/")

Uploading images and getting predictions

  1. Once navigated to your localhost link you will be presented with this page below:

  2. Select on the upload file and upload your desired picture:

  3. The result gets processed and outputed with the prediction

Model Accuracy

The Model used and developed is a CNN neural network, it was trained on 60,000 images, 50,000 training and 10,000 testing. 6,000 images where trained per class. The model was compiled using adam optimizer and was trained on 15 epcohs as the result shown below:

  • Model training accuracy reached to : 80.2 percentage
  • Model testing accuracy reached to : 70.06 percentage

Built With

  • Python
  • Tensorflow Library
  • Django

DataSet Used

  • Cifar10 dataset from the keras library

Authors

  • Tamer Algarmakany

imageclassifier's People

Contributors

tamer7 avatar

Watchers

 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.