Skip to content
Get the average color of every frame in a video and create a lovely color timeline
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitignore
README.md
createImage.py

README.md

Framed Movies

Get the average colour of every frame in a video and create a lovely colour timeline.

Dependencies

  • Python >= 3.5
  • PIL (pip install pillow)
  • OpenCV2 (pip install opencv-python)
  • Numpy (pip install numpy)

Usage

For a single video: put the video in the directory, run createImage.py, follow the prompts and enter your resizing and frame skip settings to configure between speed and accuracy. For a directory of video, simply enter the directory when prompted Your image(s) will then be processed and placed in the same directory as your source.

Known issues

  • Block of black at the end of the image This is because credits with a black background with white text, when averaged, create a very dark grey, which creates this block.

Examples

Bee MovieBee Movie NemoNemo ShrekShrek

You can’t perform that action at this time.