Giter Site home page Giter Site logo

coffee_moisturedetection's Introduction

logo

Python Tensorflow

Coffee Beans Moisture Detection with Fusioned Triple Deep Convolutional Neural Network

Graphical Abstract

graph_abs

Fig 1 Triple deep convolutional neural network model for moisture level detection

Dataset

The dataset for this work is manually collected by our team.

The dataset used for this work is images of green coffee beans with different moisture. There is 5 different classification:

dataset

There are total 416 images splitted into train_data, validation_data, and test_data. You can find the dataset here: Google Drive Prepared Dataset

Dataset Size : 411MB

Models

Transfer learning and model fusion is used in this work. There are 3 fusioned model :

  • InceptionV3
  • VGG16
  • DenseNet121

For an immediate simulation without the hassle of going over the previous instructions, refer to this link:

Pre-Trained Weights

PRE-TRAINED WEIGHTS FILESIZE: (344 MB)

How To Use

  1. Open the TDCNN_1.ipynb file in Co-ffee_MoistureDetection/Model Trainer/
  2. Import all the required libraries.
  3. Build the model with transfer learning of InceptionV3, VGG16, and DenseNet121.
  4. Fuse the previous three transfer learning model into one model and make sure when all this three is fused, they have the same input layer.
  5. Download the dataset from the link and load it into ImageDataGenerator with .flow_from_directory
  6. Start the training.
  7. After all T-DCNN models are built, you may now run the testing.py from the main Co-ffee_MoistureDetection/ folder.
  8. Follow through the given instructions and make sure to use the test sample from the provided /test/ folder

Results

drawing

Fig 2 Accuracy and loss graph after 25 epochs.

Co-ffee Github Repo Links

Machine Learning

Classification of Coffee Leaf Diseases

Green Coffee Beans Moisture Level Detection

Cloud Computing

Disease classification API

Coffee beans Moisture level detection API

Mobile Development

Project Android Studio

Acknowledgment

Thanks to Bangkit Academy. Without its support, this work would not have become possible.

coffee_moisturedetection's People

Contributors

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