Color detection

My question pretty straightforward…

How to track color using ofxopencv ???

for example,

tracking the red dots in the video and return the coordinate of the dots…

On a basic level, you actually can do this without OpenCV, just loop through all the pixels in the frame returned from the camera and look for pixels that match the color profile you’re looking for. You can also look at the camshift demo in the .zip in this thread:

http://forum.openframeworks.cc/t/opencv-basics—sources-for-beginners/2738/1

what are the library that can be use to control the mouse movement on the screen ???