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.
- Colour Thief (this is really the engine of the script, super cool stuff)
- Make file executable:
chmod +x makerainbow.sh
- Run script:
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.