aniass / Plant-pathology

Kaggle Competition: The recognition diseases on apple leaves based on their photos by using CNN and MobileNet V2 model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plant pathology classification

General info

The project concerns recognition diseases on apple leaves based on their images by using Convolutional Neural Networks (CNN) algorithms. The analysis includes data analysis, data preparation and build model CNN with data augmentation and transfer learning (MobileNet V2) to recognition of leaves diseases.

The dataset comes from Kaggle competition (Plant Pathology 2020 - FGVC7) and can be found here.

Motivation

The aim of the project was recognition diseases of apple leaves. Based on apple leaf photos I have tried accurately assess its health. There are four types of categories corresponding to different leaves like healthy, those which are infected with apple rust, apple scab and with more than one disease. In the analysis I have build model to distinguish between leaves which are healthy from those with diseases and I have used Convolutional Neural Networks algorithm to get more accurate predictions. In the second approach I have used transfer learning with MobileNet V2 model.

Project includes:

  • plant classification with CNN model - Plant_pathology_classification.ipynb
  • plant classification with transfer learning - plant_tf.ipynb

Technologies

The project is created with:

  • Python 3.8
  • libraries: tensorflow, keras, scikit-learn, pandas, numpy, seaborn, pillow, OpenCV, imbalanced-learn.

Running the project:

To run this project use Jupyter Notebook or Google Colab.

References:

About

Kaggle Competition: The recognition diseases on apple leaves based on their photos by using CNN and MobileNet V2 model.

License:MIT License


Languages

Language:Jupyter Notebook 100.0%