I am trying to analyse an mp4 video and convert it’s video content into some sort of array of numbers. where the numbers would represent the “global” color of the frame.
The frames are essentially grayscale frames.
Eventually would like to analyse the frequency of a the lightest global color in the image.
Can anyone suggest the best (simplest) solution?
Thanks very much for looking and any suggestions.
Have you tried looking into [OpenCV1, the computer vision library?
It has support for many video formats such as mp4.
The histogram functionality sounds very close to what you want.
I’m not sure what you mean by lightest color (does that mean lowest saturation in HSV color space?) etc. There’s plenty of color space conversion and other functionality that you can explore in OpenCV.