/Target-Trackers

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Target Trackers

  • meanshift_detector.py为基于MeanShift算法的手动框选目标跟踪器
  • frame_difference_detector.py为基于帧差法的目标跟踪器
  • optical_flow_LK_detector.py为基于Lucas-Kanade算法的稀疏光流法目标跟踪器
  • optical_flow_GF_detector.py为基于Gunner_Farneback算法的稠密光流法目标跟踪器

运行

几个程序运行方式都一样, 比如要运行optical_flow_GF_detector.py的话, 执行python optical_flow_GF_detector.py以默认摄像头为视频源运行; 执行python optical_flow_GF_detector.py ./test/test4.mkv以当前文件夹下test.mkv为视频源运行.

程序自动保存算法名及当前时间的视频及log文件在log文件夹下