Skip to content

A CNN model to classify 12 categories of seedlings through their image

Notifications You must be signed in to change notification settings

Niteshks247/seedlingClassification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plant Seedling Classification

A CNN model to classify 12 categories of seedlings through their image

 

Dataset

The Aarhus University Signal Processing group, in collaboration with University of Southern Denmark, released a dataset containing images of approximately 960 unique plants belonging to 12 species at several growth stages.

CATEGORIES
  ['Loose Silky-bent',
  'Common Chickweed',
  'Black-grass',
  'Charlock',
  'Small-flowered Cranesbill',
  'Sugar beet',
  'Maize',
  'Fat Hen',
  'Cleavers',
  'Common wheat',
  'Scentless Mayweed',
  'Shepherds Purse']  

Kaggle has the complete dataset used for a competition here:

 

     https://www.kaggle.com/c/plant-seedlings-classification/data

 

Project reference

This project was created as a learning experience after 2 years of competition on tensorflow. It achieved an accuracy of 96% on the competition, here is a link to the notebook:

 

     https://www.kaggle.com/niteshksingh/plant-seedling-cnn-acc-0-96

 

Saved Model (including weights)

A saved Model that can be easily used with tensorflow has been included in the "Model" directory.
     example: model = tf.keras.models.load_model("saved_model")

 

Check the model out

I am also including a py script you can directly use to classify images as "run.py".
Use this syntax in the project directory:    python3 run.py <True path to image1> <True path to image2> <True path to image3> ...
Note: You will need cv2 and tensorflow 2+ installed in a python environment to run the script.

       

Thank you for your time.

About

A CNN model to classify 12 categories of seedlings through their image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages