Introduction - If you have any usage issues, please Google them yourself
opencv using color-based tracking algorithm camshift provide a good algorithm, but it is a semi-automatic algorithm, it requires users to track the interface set to track the target. How pre-set goals to come back tracking? I stole a lazy, add a picture to set the tracking target, at startup to load the image to generate the histogram of the tracking needs. This automated tracking.