Skip to content

RanwahSadik/Project-1-Deep-Learning-Image-Classification-with-CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Animal Classification Using Deep Learning 🦁

This project implements a deep learning-based image classification model to classify animals into various categories using Convolutional Neural Networks (CNN), ResNet50V2, and MobileNet for feature extraction.

πŸ“Œ Dataset

We used the Animals-10 Dataset, a publicly available dataset on Kaggle that contains images of 10 different animal species.

πŸ“Œ Dataset Source: Animals-10 Dataset on Kaggle

πŸ“‚ Dataset Overview

The dataset consists of ~26,000 images categorized into 10 animal classes, originally labeled in Italian.
We renamed them to English for consistency.

πŸš€ Features

  • Custom CNN Model trained for image classification
  • MobileNet Transfer Learning model for improved accuracy
  • ResNet50V2 for high-performance classification
  • Multi-class classification with 10 animal categories
  • Handles a dataset of 26,000+ images

πŸ“Š Model Performance

We trained three different models on the dataset and obtained the following accuracies:

Model Accuracy
CNN 67%
MobileNet 94%
ResNet50V2 90%
  • MobileNet performed the best due to transfer learning, achieving 94% accuracy.
  • ResNet50V2 also showed strong performance with 90% accuracy.
  • The CNN model, trained from scratch, achieved 67% accuracy.

ResNet50V2 Model and Presentation Links

Due to the large size of the ResNet50V2 model and presentation file, they are hosted on Google Drive. You can access them using the links below:

πŸ“‚ Project Structure

πŸ“¦ Deep Learning Animal Classifier
β”‚-- πŸ“œ README.md - Project documentation
β”‚-- πŸ“œ Homepage.py - Main script for running the app
β”‚-- πŸ“œ Deep Learning Animal classifier.ipynb - Jupyter Notebook with training code
β”‚-- πŸ“œ CNN.h5 - Trained CNN model
β”‚-- πŸ“œ MobileNet.h5 - Trained MobileNet model
β”‚-- πŸ“‚ test_image/ - Sample images for testing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published