Skip to content

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

Notifications You must be signed in to change notification settings

Harrison-Mitchell/Framed-Movies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages