Skip to content

Da125673/CS4337FinalPoject

Repository files navigation

CS4337 Final Project

This repository contains the complete source code for the CS4337 Final Project.
All Python scripts used for the project are included and organized for easy execution.
A requirements.txt file is provided listing every library needed to run the code.


Source Code Repository

Scroll to top of page and locate the green "code" button click it and copy the given HTTPS URL


Setup Instructions

Follow these steps to install everything required to run the project:

  1. Create a Virtual Enviorment It is recommended to create a virtual enviorment before installing dependencies

    # Create a virtual environment named projectenv
    python -m venv projectenv
    
    # Activate the environment
    # On macOS/Linux:
    source projectenv/bin/activate
    # On Windows:
    projectenv\Scripts\activate
    
    
    # If running into issues for ultralytics do the following 
    # Install the ultralytics package from GitHub
    pip install git+https://github.com/ultralytics/ultralytics.git@main
    
  2. Download database and insert into /dataset

    https://www.kaggle.com/datasets/jaypradipshah/the-complete-playing-card-dataset
    
    
  3. Clone the repository

    git clone https://github.com/Da125673/CS4337FinalPoject.git
    cd <CS4337FinalPoject>
    pip install -r requirements.txt
    
    
  4. training one-stagecode and running

    python one-stagecode/train_single_stage.py
    
    Once training complete run live demo by: 
    
    python one-stagecode/realtime_single_stage.py
    
    
  5. training two-stagecode and running

    python two-stagecode/CNN_training.py
    
    Once training complete run live demo by: 
    
    python two-stagecode/Live_camara.py
    

About

this is the final project for CS4337

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages