Git Product home page Git Product logo

convnet-flower-classification's Introduction

Convolutional Neural Network for Flower Classification

This model contains flower speceies of over 100 classes for classification and also uses the Flask framework as its web front end to interact with this model.

1. Clone the repository

Clone the project by ruuning the below code from the terminal

git clone https://github.com/princesegzy01/ConvNet-Flower-Classification.git

this will clone the source code and datasets into a folder for the next stage

2. Installing the packages needed

In order for you to not have issues installing all the packages with its version needed, All the required packages are inside the requirement.txt and you can bult install them with a single command.

pip3 install -r requirement.txt

3. Running from Command line

The model can be directly called from the python command line by running

python3 classifier.py

This will automatically loop through all the images in the test folder and predict them by outputing the classes on the terminal

3. Predicting from Web Interface

You can also run the classifier from a web interface by following the steps below

  1. run python3 classifier.py to train the classifier as this will aslo generates a model.h5 file which will be used by the flask frameworks
  2. from the cli run python3 run.py. This will create a webserver with a port 5000
  3. open any browser of your choice and log on to http://127.0.0.1:5000 you should be welcomed with a simple page and upload button.
  4. upload your flower image and click on the upload button, you will be redirected to the prediction page.
  5. Thanks

contact for more information

[email protected]

convnet-flower-classification's People

Contributors

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