Skip to content

This repo contains the assignment and provided code base for Project 3 of the graduate Computational Biomimicry class.

Notifications You must be signed in to change notification settings

dhimant2299/UTPB-COSC-6389-Project3

 
 

Repository files navigation

📷 CNN Visualization for Glasses Classification

🧠 A Convolutional Neural Network (CNN) project to classify images of glasses vs. no-glasses with a real-time visualization interface created without using any libraries related to neural networks.


✨ Features

📊 Interactive GUI

A Tkinter-based GUI that showcases:

  • The CNN Structure:
    • Input, Convolutional, Pooling, and Fully Connected layers.
  • Real-Time Training Metrics:
    • Loss and Accuracy graphs that update dynamically.
  • Dynamic Weight Visualization:
    • Connections are color-coded to represent weight strength after each epoch.

🛠 Comprehensive CNN Architecture

  1. Convolutional Layer: Extracts spatial features from the input using filters.

  2. MaxPooling Layer: Reduces the spatial dimensions while retaining the most important features.

  3. Fully Connected Layer: Maps high-level features to class probabilities.


📂 Dataset

A collection of labeled images, classified into two categories:

  • Glasses
  • No-Glasses

📌 Customizable

  • Hyperparameters:
    • Learning rate
    • Number of epochs
  • Network Layers:
    • Easily modify the number of filters, pooling size, and fully connected neurons.

🚀 Getting Started

1️⃣ Prerequisites

  • Required libraries: numpy, scipy, pillow, matplotlib, tkinter, scikit-learn

About

This repo contains the assignment and provided code base for Project 3 of the graduate Computational Biomimicry class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%