Skip to content

A Python based program, that can generate color palettes for a specified number of video frames and ultimately combine them into a final color palette group image.

Notifications You must be signed in to change notification settings

feixiao/python-color-palette-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video frame color palette generator

A Python based program, which consists of a VLC player instance, that can generate color palettes for a specified number of video frames and ultimately combine them into a final color palette group image. (See the visual example below)

Example of the result image

Screenshot

Prerequisites

In order to run this program, several Python packages must be installed first using pip and Homebrew:

brew install cartr/qt4/pyqt@4
brew install cask/sip

conda activate py38
pip install python-vlc

pip install matplotlib
pip install numpy
pip install scikit-learn
pip install opencv-python

Note: This project is using the 4th version of PyQt - PyQt4, because this project is built on top of the existing PyQt VLC player instance example, which uses PyQt4 specifically.

Run the program

python3 main.py

License

MIT

About

A Python based program, that can generate color palettes for a specified number of video frames and ultimately combine them into a final color palette group image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%