Percentage of color in a frame of video
Hi!
I am trying to write a program that measures the percentage of black in the input taken from the webcam. How can I do this? I was thinking I should use histograms but have no idea on how to use it. Can you help me?