An open API service indexing awesome lists of open source software.

https://github.com/lanzani/videocolorsbarcode

🎞️🎨 Generates a colors barcode by plotting the dominant color of each frame of a video.
https://github.com/lanzani/videocolorsbarcode

image-processing python streamlit video-processing

Last synced: 5 months ago
JSON representation

🎞️🎨 Generates a colors barcode by plotting the dominant color of each frame of a video.

Awesome Lists containing this project

README

          

![Logo](docs/imgs/logo_small.png)

# Video Colors Barcode

![Image](docs/imgs/cover.png)

## Description
This is a simple python script that generates a barcode from a video file. The barcode is created by extracting the
average color of each frame in the video and plotting it on a canvas. This visual representation of the video
provides a unique way to visualize its color distribution over time.

## Installation
Download or clone the repository.
```bash
git clone https://github.com/lanzani/VideoColorsBarcode
```

Install the dependencies with poetry.
```bash
poetry install
```

Or use pip.
```bash
pip install -r requirements.txt
```

## Streamlit UI

To run the streamlit UI, run the following command.
```bash
streamlit run VideoColorsBarcode/app.py
```

![Image](docs/imgs/ui1.png)