As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you开发者_开发问答 feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Does anyone know where can I 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.
精彩评论