用到了opencv,VS2015,普通单目摄像头 参考如下链接: 地址
https://github.com/hoppss/ARIA/blob/master/BallFollower/BallFollower.cpp