- Demo
- Overview
- Motivation/Purpose
- Technical Aspect
- Data collection
- Installation
- Run
- Deployement on Heroku
- Directory Tree
- Technologies Used
- Team
- License
Link:
https://fruit-classifier-quality-check.herokuapp.com
- Simple Flask app fitted with Deep Conv. neural network model which is able to distinguish between real world images of Apples, Bananas, Oranges with predicting weather the fruit in image is Fresh or Rotten with respective probabilities.
- Data to train this DNN is collected in (
/data
) folder, which is done with the help of google search and downloading each image from it. This section is more explored in 'Data collection' topic below
After completing the 4th course(CNN) of deep learning specialization. I was super excited to implement the knowledge I gained in practical and productional way by doing an end to end project with following purposes.
- This application/technique can be applied to material selection procedure in productional sector of companies making...
- Fruit juices
- Pickles
- Tomato sauces
- etc. in commercial scale.
3. Want to make more advancement in this project to serve the dealers who work in food checking & transportation, So they can monitor/check the condition of their stock at any time they want.
-
Train deep CNN model from kaggle on basic and clear images of our targets which I want to classify. Purpose behind this approach is to let our model figure out the basic lines, curves, edges, etc first and then retrain it for classifying my target on real world images!!
-
Retraining model on real world data/images and hypertune it for better performance.
-
Setting up Frontend for website.
-
Building and hosting a Flask web app on Heroku(Platform as a service)
As we know data is building block of Data science!
I had collected around 400+ unique images of fruits and 400+ images of for quality detection. You can download it for your project from
(/data
) folder.
The Code is written in Python 3.7 in an anaconda environment. For anaconda instalation click here.To make new environment in anaconda run following commands in your Anaconda Prompt.
conda create -n your_env_name python=3.7.x
After successfully creating anaconda environment, install the required packages and libraries by running this command in the project directory after cloning the repository:
pip install -r requirements.txt
then by running the following command, it will host this page in your local port and will also give you local link, which you can put in any web browser.
python app.py
Vist here for details.