![travis ci:](https://travis-ci.org/Smorodov/Multitarget-tracker.svg?branch=master)
# Multitarget-tracker
Hungarian algorithm + Kalman filter multitarget tracker implementation.
#### Demo Videos
* MobileNet SSD and tracking for low resolution and low quality videos from car DVR:
[![Tracking:](https://img.youtube.com/vi/Qssz6tVGoOc/0.jpg)](https://youtu.be/Qssz6tVGoOc)
* Mouse tracking:
[![Tracking:](https://img.youtube.com/vi/2fW5TmAtAXM/0.jpg)](https://www.youtube.com/watch?v=2fW5TmAtAXM)
* Motion Detection and tracking:
[![Motion Detection and tracking:](https://img.youtube.com/vi/GjN8jOy4kVw/0.jpg)](https://www.youtube.com/watch?v=GjN8jOy4kVw)
* Multiple Faces tracking:
[![Multiple Faces tracking:](https://img.youtube.com/vi/j67CFwFtciU/0.jpg)](https://www.youtube.com/watch?v=j67CFwFtciU)
#### Parameters
1. Background substraction: built-in Vibe, SuBSENSE and LOBSTER; MOG2 from opencv; MOG, GMG and CNT from opencv_contrib
2. Foreground segmentation: contours
3. Matching: Hungrian algorithm or algorithm based on weighted bipartite graphs
4. Tracking: Linear or Unscented Kalman filter for objects center or for object coordinates and size
5. Use or not local tracker (LK optical flow) for smooth trajectories
6. KCF, MIL, MedianFlow, GOTURN or MOSSE tracking for lost objects and collision resolving
7. Haar face detector from OpenCV
8. HOG and C4 pedestrian detectors
9. SSD detector from OpenCV and models from chuanqi305/MobileNet-SSD
10. YOLO and Tiny YOLO detectors from https://pjreddie.com/darknet/yolo/
#### Build
1. Download project sources
2. Install CMake
3. Install OpenCV (https://github.com/opencv/opencv) and OpenCV contrib (https://github.com/opencv/opencv_contrib) repositories
4. Configure project CmakeLists.txt, set OpenCV_DIR. If opencv_contrib don't installed then set disable options USE_OCV_BGFG, USE_OCV_KCF and USE_OCV_UKF
5. Go to the build directory and run make
**Usage:**
Usage:
./MultitargetTracker <path to movie file> [--example]=<number of example 0..3> [--start_frame]=<start a video from this position> [--end_frame]=<play a video to this position> [--end_delay]=<delay in milliseconds after video ending> [--out]=<name of result video file> [--show_logs]=<show logs> [--gpu]=<use OpenCL>
./MultitargetTracker ../data/atrium.avi -e=1 -o=../data/atrium_motion.avi
Press:
* 'm' key for change mode: play|pause. When video is paused you can press any key for get next frame.
* Press Esc to exit from video
Params:
1. Movie file, for example ../data/atrium.avi
2. [Optional] Number of example: 0 - MouseTracking, 1 - MotionDetector, 2 - FaceDetector, 3 - PedestrianDetector, 4 - Hybrid face and motion detectors, 5 - MobileNet SSD detector, 6 - YOLO detector
-e=0 or --example=1
3. [Optional] Frame number to start a video from this position
-sf=0 or --start_frame==1500
4. [Optional] Play a video to this position (if 0 then played to the end of file)
-ef=0 or --end_frame==200
5. [Optional] Delay in milliseconds after video ending
-ed=0 or --end_delay=1000
6. [Optional] Name of result video file
-o=out.avi or --out=result.mp4
7. [Optional] Show Trackers logs in terminal
-sl=1 or --show_logs=0
8. [Optional] Use built-in OpenCL
-g=1 or --gpu=0
#### Thirdparty libraries
* OpenCV (and contrib): https://github.com/opencv/opencv and https://github.com/opencv/opencv_contrib
* Vibe: https://github.com/BelBES/VIBE
* SuBSENSE and LOBSTER: https://github.com/ethereon/subsense
* GTL: https://github.com/rdmpage/graph-template-library
* MWBM: https://github.com/rdmpage/maximum-weighted-bipartite-matching
* Pedestrians detector: https://github.com/sturkmen72/C4-Real-time-pedestrian-detection
* Non Maximum Suppression: https://github.com/Nuzhny007/Non-Maximum-Suppression
* MobileNet SSD: https://github.com/chuanqi305/MobileNet-SSD
* YOLO: https://pjreddie.com/darknet/yolo/
* GOTURN models: https://github.com/opencv/opencv_extra/tree/c4219d5eb3105ed8e634278fad312a1a8d2c182d/testdata/tracking
#### License
GNU GPLv3: http://www.gnu.org/licenses/gpl-3.0.txt
没有合适的资源?快使用搜索试试~ 我知道了~
Hungarian algorithm + Kalman filter multitarget tracker implemen
共163个文件
h:66个
cpp:55个
in:4个
需积分: 0 1 下载量 116 浏览量
2023-10-30
16:26:43
上传
评论
收藏 95.99MB ZIP 举报
温馨提示
Hungarian algorithm + Kalman filter 采用匈牙利算法和卡尔曼滤波实现多个目标的跟踪,实现跟踪目标的交叉
资源推荐
资源详情
资源评论
收起资源包目录
Hungarian algorithm + Kalman filter multitarget tracker implemen (163个子文件)
Makefile.am 1KB
Makefile.am 1KB
Makefile.am 428B
atrium.avi 21.72MB
vs_garbage_del.bat 25B
fheap.c 12KB
MobileNetSSD_deploy.caffemodel 22.08MB
tiny-yolo.cfg 1KB
BackgroundSubtractorSuBSENSE.cpp 43KB
planarity.cpp 41KB
ratio_cut_partition.cpp 37KB
pq_tree.cpp 34KB
fm_partition.cpp 27KB
Kalman.cpp 25KB
graph.cpp 23KB
HungarianAlg.cpp 20KB
maxflow_pp.cpp 17KB
BackgroundSubtractorLOBSTER.cpp 16KB
track.cpp 13KB
LBSP.cpp 12KB
bid_dijkstra.cpp 12KB
gport.cpp 10KB
maxflow_sap.cpp 10KB
rings.cpp 10KB
c4-pedestrian-detector.cpp 9KB
Ctracker.cpp 9KB
node.cpp 9KB
pq_node.cpp 8KB
maxflow_ff.cpp 8KB
mygraph.cpp 8KB
gml_scanner.cpp 7KB
dijkstra.cpp 7KB
gml2nestedsql.cpp 7KB
SSDMobileNetDetector.cpp 6KB
YoloDetector.cpp 6KB
gml_parser.cpp 6KB
edge.cpp 5KB
biconnectivity.cpp 5KB
st_number.cpp 5KB
embedding.cpp 5KB
mwbmatching.cpp 5KB
vibe.cpp 5KB
dfs.cpp 4KB
BackgroundSubtract.cpp 4KB
mincut.cpp 4KB
bfs.cpp 4KB
script.cpp 4KB
min_tree.cpp 3KB
main.cpp 3KB
MotionDetector.cpp 3KB
LocalTracker.cpp 3KB
components.cpp 3KB
bellman_ford.cpp 3KB
PedestrianDetector.cpp 2KB
BaseDetector.cpp 2KB
gml2dot.cpp 2KB
BackgroundSubtractorLBSP.cpp 2KB
components.cpp 2KB
mytree.cpp 2KB
FaceDetector.cpp 2KB
topsort.cpp 1KB
debug.cpp 1KB
tokenise.cpp 623B
GTL_dynamic.dsp 8KB
GTL_static.dsp 7KB
GTL.dsw 727B
.gitignore 27B
VideoExample.h 29KB
ratio_cut_partition.h 25KB
graph.h 24KB
fm_partition.h 19KB
planarity.h 18KB
bfs.h 17KB
dfs.h 17KB
c4-pedestrian-detector.h 13KB
pq_node.h 13KB
symlist.h 13KB
DistanceUtils.h 12KB
dijkstra.h 11KB
pq_tree.h 10KB
bid_dijkstra.h 9KB
node.h 9KB
gport.h 8KB
bin_heap.h 8KB
st_number.h 8KB
biconnectivity.h 8KB
embedding.h 8KB
LBSP.h 7KB
BackgroundSubtractorSuBSENSE.h 7KB
maxflow_pp.h 6KB
mygraph.h 6KB
nms.h 6KB
maxflow_sap.h 6KB
bellman_ford.h 6KB
ne_map.h 5KB
maxflow_ff.h 5KB
track.h 4KB
fheap.h 4KB
RandUtils.h 4KB
gml_scanner.h 4KB
共 163 条
- 1
- 2
资源评论
hcdl
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 模拟试题三.zip
- Ditto-粘贴板工具
- 毕设基于人脸识别的实验室智能考勤系统设计与开发MFC源码含模型onnx文件.zip
- 数字字母组合字典常用top7000
- 使用Python-OpenCV对多张图片进行全景图像拼接消除鬼影消除裂缝源码.zip
- 百度贴吧12.57.5.0.apk
- JavaScript,简称JS,是一种在Web开发中举足轻重的客户端脚本语言 它最初由Netscape公司的布兰登·艾奇在199
- 什么是智慧司库?什么是智慧司库?
- PHP(Hypertext Preprocessor,超文本预处理器)是一种流行的服务器端脚本语言,尤其适用于Web开发 它诞生
- 基于GD32F103C8T6的USBD工程实例
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功