Skip to content

This repository deals with building a classification machine learning model which classifies and recognizes the class of butterfly out of the 50 classes it was trained on with a test accuracy of 96.70%

Notifications You must be signed in to change notification settings

Hrushi11/Butterfly_Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Butterfly Recognition

The datset for this project is taken from - Butterfly Image Classification.
The test accuracy recieved was 96.70%

Live link for the web app - Butterfly Recognition

Train, Test. Validation data set for 50 butterfly species. All images are 224 X 224 X 3 in jpg format . Train set consists of 4955 images partitioned into 50 sub directories one for each species. Test set consists of 250 images partitioned into 50 sub directories with 5 test images per species. Valid set consists of 250 images partitioned into 50 sub directories with 5 validation images per species. 1 CSV file is included with 3 columns filepaths, labels and dataset. filepaths is the relative path to an image. labels is the string name of the species associate with the image file. dataset species the directory (train, test, valid) that contains the image file.

IMG

The model classifies for the given classes - 'adonis','american snoot','an 88','banded peacock','beckers white','black hairstreak', 'cabbage white','chestnut','clodius parnassian','clouded sulphur','copper tail','crecent','crimson patch','eastern coma','gold banded', 'great eggfly','grey hairstreak','indra swallow','julia','large marble','malachite','mangrove skipper','metalmark','monarch','morning cloak', 'orange oakleaf','orange tip','orchard swallow','painted lady','paper kite','peacock','pine white','pipevine swallow','purple hairstreak','question mark', 'red admiral','red spotted purple','scarce swallow','silver spot skipper','sixspot burnet','skipper','sootywing','southern dogface','straited queen', 'two barred flasher','ulyses','viceroy','wood satyr','yellow swallow tail','zebra long wing'.

Model 2 is the best model and is the one used in the app.

Random images from the dataset :

IMG

Predictions made by the model :

IMG

Wrongly predicted images :

IMG

About

This repository deals with building a classification machine learning model which classifies and recognizes the class of butterfly out of the 50 classes it was trained on with a test accuracy of 96.70%

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published