The chromavore provides a ros node which analyzes incoming imagery for color specific data.
There are edge cases regarding the distinction between opencv2 and opencv3 which will cause you trouble if you don't watch out. I'd consult http://wiki.ros.org/opencv3