Skip to content

Sebas03446/Data-Compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Compression with Delta Encoding & WebSocket Communication

This project captures color data using an Arduino Nano 33 BLE Sense Lite with the APDS9960 sensor and applies delta encoding to reduce the size of transmitted data. The data is read via a serial connection in Python and updated on a web page using FastAPI WebSocket.

Installation Instructions

  1. Clone the repository:

    git clone https://github.com/Sebas03446/Data-Compression.git
    cd Data-Compression
  2. Create a virtual environment and activate it:

    python3 -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage Instructions

  1. Start the FastAPI server:

    fastapi run app/main.py
  2. Open your web browser and navigate to http://localhost:8000/api/v1/ to access the web interface.

  3. Use the web interface to visualize the data compression process.

Authors

  • Lee Xin Yee
  • Léo Vasseur
  • Jean Sebastian French

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors