Skip to content

A script that takes a video and creates a hue-ordered mosaic of frame captures.

Notifications You must be signed in to change notification settings

kfrn/rainbow-video

Repository files navigation

rainbow-video

This script takes a video file and outputs a mosaic of frame captures which have been ordered according to hue.

How cool it looks depends on the characteristics of the input file. The more saturated and varied colours, the better!

The composite image is output into a folder named after the video file.

Dependencies

To use:

  • Make file executable: chmod +x makerainbow.sh
  • Run script: ./makerainbow.sh input_video

Example

英雄 aka Hero (Zhang Yimou, CN 2002):
Hero (2002) image mosaic

See more examples here.

⚠ Caveats & to-dos

  • Script should have more error handling! Beware!
  • Blend of Bash and Python - refactor to Python at some stage.

About

A script that takes a video and creates a hue-ordered mosaic of frame captures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published