How to filter balck color ?
farazirfan47 opened this issue · comments
Faraz Irfan commented
I am detecting most representative color from an image but I also want to detect if detected color is white or black. Is there any way we can do that ?
Colin O'Dell commented
Black is 0
and white is 16777215
, so you could compare the colors to see if they match those (or are within a small distance away).