Skip to content

Butterfly and Moths Image Classification of 100 species using HOG and ResNet50

Notifications You must be signed in to change notification settings

ananya183/butterfly-moth-image-classification

Repository files navigation

Butterfly/Moth Image Classification Project (100 Species)

This project aims to classify butterfly and moth species using two distinct methods: traditional machine learning and deep learning. The goal is to compare the performance of these approaches in accurately identifying species from images. We compared traditional ML models and ResNet50 for butterfly and moth classification, with ResNet50 achieving higher accuracy.

Methodology

1. Traditional Machine Learning

  • Feature Extraction: Histogram of Oriented Gradients (HOG)
  • Classifiers:
    • Support Vector Machine (SVM)
    • Decision Tree
    • Logistic Regression

2. Deep Learning

  • Model: ResNet50 pre-trained model

Results

The ResNet50 model demonstrated superior performance in classifying butterfly and moth species:

  • Validation Set Accuracy: 77.80%
  • Testing Set Accuracy: 79.40%

These results highlight the efficacy of the ResNet50 model, suggesting that the preprocessing steps and chosen architecture were well-suited for this classification task.

Conclusion

This project provides valuable insights into the effectiveness of traditional machine learning versus deep learning for butterfly image classification. The high accuracy achieved by the ResNet50 model underscores its potential in accurately classifying butterfly and moth species.

About

Butterfly and Moths Image Classification of 100 species using HOG and ResNet50

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published