Introduction - If you have any usage issues, please Google them yourself
The program is through the camera in real-time detection of the red target, and Mark, the calculated centroid coordinates, make sure before running matlab installed the appropriate camera driver