Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.05 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.05 KB

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.