#Spectrum
This is a personal project designed to be used to analyze color in films. It still has a long way to go, but it so far has the basic feature I was trying to accomplish: a "color timeline". Currently, you can compute, view, and save this image. I have many more ideas for how to improve and add to this program, some of which can be viewed in the issue tracker. ##How It Works Spectrum currently works by using OpenCV to analyze color in each frame of a video. The computed average color from this frame is used as one "line" in the color timeline. The process of computing the color timeline can be sped up by analyzing less than every frame (skipping frames), at the cost of having a lower resultion for the color timeline. Another major issue that effects performance is the resultion of the source video. When analyzing a full length HD movie, it can take hours to compute the color timeline. Currently this is solved by using a system call to run ffmpeg to compress the source video, which is then deleted after Spectrum has been run. There are plans to integrate ffmpeg into the program in the future, without requring system calls. Currently I am only aware of how to run on OS X and Linux. The Linux steps should be very similar, but the steps to do so are as follows on OS X: Using the Homebrew package manager: Install OpenCVbrew install opencv
Install ffmpeg
brew install ffmpeg
Install boost
brew install boost
Clone the repo (install git if you already haven't):
git clone https://github.com/mtonsmann/Spectrum.git Spectrum
From the cloned directory, make and run the program:
make
./spectrumTest