Skip to content

adiaz-uf/Leaffliction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaffliction

Computer vision: Image classification by disease recognition on leaves

🚀 Getting Started

  1. Clone the repository
git clone https://github.com/adiaz-uf/Leaffliction.git
cd Leaffliction
  1. Create environment and install dependencies
make

Part 1: Analysis of the Data Set

python src/Part1/Distribution.py Apple/
Screenshot 2025-11-17 at 12 30 51

Part 2: Data augmentation

Displays different data augmentation techniques applied to the image or directory of images passed as argument.

make augment-one

make augment-apple

make augment-apple-train

make augment-grape

make augment-grape-train
Screenshot 2025-11-17 at 12 30 21

Part 3: Image transformations

make transform-one

make transform-apple

make transform-grape
Captura desde 2025-11-10 11-38-35 image

Part 4: Classification

Model predictions

This program takes as arguments a path to an image from our learnings, displays the original image and the transformed image, and gives the type of disease specified in the leaf.

Train uses the images passed as argument to train the model, and creates leaf_disease_model.h5 and class_indices.json files.

You must train the model first and then run the predictions.

make train

make predict
Captura desde 2025-11-13 19-22-30

Team work 💪

This project was a team effort. You can checkout the team members here:

About

Computer vision: Image classification by disease recognition on leaves

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •