Movie Barcode generator
Generate a picture from a movie by taking one frame every second condensed into a line.
I got the idea from a picture in a Reddit post, and I thought to myself that I might be able to create on of those. It was only after I did, and began writing up this post, that I found, there exist dozens of implementations out there. It was still fun though, and I learned a bit along the way.
I identified three steps:
- Extract frames from movie file
- Make a stripe from frame
- Concatenate stripes into new image.
Image manipulation is not my daily business, so I had to google. Stackoverflow pointed to OpenCV.