Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?