-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathREADME.md~
72 lines (36 loc) · 2.48 KB
/
README.md~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ObjLeft
Abandoned Object Detection via Temporal Consistency Modeling and Back-Tracing Verification for Visual Surveillance
Created by Kevin Lin, Shen-Chi Chen, Chu-Song Chen, Daw-Tung Lin, Yi-Ping Hung at National Taiwan University.
_FYI: This is an industry-oriented project. Most of the algorithms are implemented using C/C++. We use OpenCV only for video input and visualization. I am improving the readability of this code. Will update it soon!_
## Introduction
This paper presents an effective approach for detecting abandoned luggage in surveillance videos. We combine short- and long-term background models to extract foreground objects, where each pixel in an input image is classified as a 2-bit code. Subsequently, we introduce a framework to identify static foreground regions based on the temporal transition of code patterns, and to determine whether the candidate regions contain abandoned objects by analyzing the back-traced trajectories of luggage owners. Experimental results show that our method performs more favorable against the others.
The details can be found in the following [IEEE TIFS 2015 paper](http://www.csie.ntu.edu.tw/~r01944012/TIFS15_LIN.pdf)
## Citing the detection works
If you find our works useful in your research, please consider citing:
Abandoned Object Detection via Temporal Consistency Modeling and Back-Tracing Verification for Visual Surveillance
K. Lin, S.-C. Chen, C.-S. Chen, D.-T. Lin, and Y.-P. Hung
IEEE Transactions on Information Forensic and Security (TIFS), 2015
Left-Luggage Detection from Finite-State-Machine Analysis in Static-Camera Videos
K. Lin, S.-C. Chen, C.-S. Chen, D.-T. Lin, and Y.-P. Hung
International Conference on Pattern Recognition (ICPR), 2014
## Prerequisites
0. OpenCV
## Setup
Simply run the following commands:
$ cmake .
$ make
$ ./download_video.sh
## Demo
This demo detect abandoned luggage in the video
$ ./ObjLeft
Select the input source (1: video, 2: camera)
$ 1
Input the filename if you choose video
$ pets2006_1.avi
Click a rectangular Region of Interest (ROI) for detection
<img src="https://www.csie.ntu.edu.tw/~r01944012/objleft_fig1.png" width="800">
Double-press any key and start detection
<img src="https://www.csie.ntu.edu.tw/~r01944012/objleft_fig2.jpg" width="800">
This demo will detect the abandoned luggage and display the owner trajectory.
## Contact
Please feel free to leave suggestions or comments to Kevin Lin ([email protected])