Ask Your Question

ishralene09's profile - activity

2013-11-21 20:02:05 -0600 commented answer Count the pixel (black or white) in real time.

@lenteken have you solved it already? (I assume after 3 months you should have). You only pass the Mat object on the countNonZero function, and it will return the number of nonzero (anything not black) pixels. Subtract that to the total number of pixels, and you get your black pixel count.

2013-11-21 19:55:11 -0600 commented question Count the pixel (black or white) in real time.

5 peso coin cool.