Giter Club home page Giter Club logo

leaffliction's Introduction

Leaffliction ๐ŸŒฟ

๐Ÿ“ Description

This is a computer vision project for plant leaf diseases. In this project we'll be doing image dataset analysis, data augmentation, image transformations and image classification.

๐Ÿ“ฆ Installation

To setup the project, you need to launch the following command:

git clone https://github.com/arlaine4/Leaffliction && cd Leaffliction
bash setup.sh
source venv/bin/activate

๐Ÿ“‘ Summary

๐Ÿง Data analysis

A program named Distribution.py is created to extract and analyze the image dataset of plant leaves. Pie charts and Bar charts are generated for each plant type, using images available in the subdirectories of the given input directory.

image

โž• Data Augmentation

To balance the data set, we have a second program called Augmentation.py. It uses data augmentation techniques such as rotating, flipping, cropping, etc. To create 6 types of augmented images for each original image.

image

๐Ÿ–ผ๏ธ Image Transformation

In this part, the Transformation.py program is created to directly extract features from plant leaf images. Transformations like Gaussian blur, ROI (Region of Interest) objects, object analysis, etc., are applied to images to facilitate key information extraction. For this part we use the PlantCV library.

image

๐Ÿค– Classification

The final step involves developing two programs: train.py and predict.py.

The train program uses augmented images to learn the characteristics of specified leaf diseases, utilizing a CNN through Keras. The learning results are saved and returned in a .zip archive.

The predict program takes a leaf image as input, displays it along with its transformations, and predicts the type of disease specified in the leaf.

leaffliction's People

Contributors

tsannie avatar arlaine4 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.