Git Product home page Git Product logo

deepankarvarma / rice-multiclass-image-classification-opencv-keras-tensorflow Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 19 KB

This repository contains Python code for rice type detection using multiclass classification. The project leverages the MobileNetV2 architecture to classify six different types of rice: Arborio, Basmati, Ipsala, Jasmine, and Karacadag. The dataset used for training and evaluation can be found on Kaggle and consists of categorized rice images.

Python 100.00%
classification dataset deep-learning image-classification image-processing keras machine-learning mobilenetv2 multiclass multiclass-classification

rice-multiclass-image-classification-opencv-keras-tensorflow's Introduction

Rice Type Detection using Multiclass Classification

This repository contains Python code for a rice type detection project using multiclass classification. The project utilizes MobileNetV2 as the underlying architecture. The dataset used for training and evaluation consists of images of six different rice types: Arborio, Basmati, Ipsala, Jasmine, and Karacadag.

Dataset

The dataset used for training and evaluation can be found on Kaggle: Rice Image Dataset. It contains images categorized into the following classes:

  • Arborio: Arborio rice images
  • Basmati: Basmati rice images
  • Ipsala: Ipsala rice images
  • Jasmine: Jasmine rice images
  • Karacadag: Karacadag rice images

Dependencies

To run the code in this repository, you'll need the following dependencies:

  • Python 3.x
  • TensorFlow
  • Keras
  • NumPy
  • Matplotlib

You can install the required packages using pip:

pip install tensorflow keras numpy matplotlib

Usage

  1. Clone this repository to your local machine:
git clone https://github.com/your-username/your-repository.git
cd your-repository
  1. Download the Rice Image Dataset from the provided link and place it in the appropriate directory.

  2. Run the script to predict the rice type from an image:

python predict_image.py --image path/to/your/image.jpg

Make sure to replace path/to/your/image.jpg with the actual path to your desired image file.

Results

The model trained on the Rice Image Dataset can accurately classify the type of rice among Arborio, Basmati, Ipsala, Jasmine, and Karacadag. You can modify the code and experiment with different architectures or hyperparameters to potentially improve the performance.

Acknowledgments

  • The Rice Image Dataset used in this project was sourced from Kaggle: Rice Image Dataset.

License

This project is licensed under the MIT License.

rice-multiclass-image-classification-opencv-keras-tensorflow's People

Contributors

deepankarvarma avatar

Watchers

 avatar  avatar  avatar

Forkers

abc0217

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.