引言:本人最近在学习目标跟踪时,遇到的一些问题,于此博客记录下来,方便自己以后使用,也方便有需要的朋友来参考学习
1.opencv代码示例
tracker = cv2.TrackerBoosting_create()
tracker = cv2.TrackerMIL_create()
tracker = cv2.TrackerKCF_create()
tracker = cv2.TrackerTLD_create()
tracker = cv2.TrackerMedianFlow_create()
tracker = cv2.TrackerGOTURN_create()
tracker = cv2.TrackerMOSSE_create()
tracker = cv2.TrackerCSRT_create()
2.环境配置
(1)python=3.6 (2)pip install opencv-contrib-python==3.4.3.29 -i https://pypi.tuna.tsinghua.edu.cn/simple (3)pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
3.成功测试
|