tags:

views:

77

answers:

2

Hi ,

Does anyone know where i can find object detection sample code in OpenCV ? i want to track an object with a specified clolor

Thanks

+1  A: 

There are bunch of examples in OpenCV distribution (samples folder).

There you can find camshiftdemo.c — exactly what you searching for.

Cfr
+1  A: 

Try this article: http://www.aishack.in/2010/07/tracking-colored-objects-in-opencv/ It's exactly what you want.

Utkarsh Sinha