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
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
There are bunch of examples in OpenCV distribution (samples folder).
There you can find camshiftdemo.c
— exactly what you searching for.
Try this article: http://www.aishack.in/2010/07/tracking-colored-objects-in-opencv/ It's exactly what you want.