SlideShare a Scribd company logo
1 of 38
Information Processing Lab
Electrical Engineering
1
Object Tracking, Trajectory Analysis
and Event Detection in Intelligent
Video Systems
Student: Hsu-Yung Cheng
Advisor: Jenq-Neng Hwang, Professor
Department of Electrical Engineering
University of Washington
Information Processing Lab
Electrical Engineering
2
Outlines
 Motivation
 Object Tracking
 Trajectory Analysis
 Event Detection
 Conclusions and Future Work
Information Processing Lab
Electrical Engineering
3
Motivation
 Advantage of Video-based systems
 Being able to capture a large variety of information
 Relatively inexpensive
 Easier to install, operate, and maintain
 Applications
 Security surveillance
 Home care surveillance
 Intelligent transportation systems
 There is an urgent need for intelligent video systems
to replace human operators to monitor the areas under
surveillance.
Information Processing Lab
Electrical Engineering
4
System Modules for Intelligent Event
Detection Systems
Information Processing Lab
Electrical Engineering
5
Challenges for Robust Tracking
 Segmentation errors
 Change of lighting conditions
 Shadows
 Occlusion
Information Processing Lab
Electrical Engineering
6
Inter-Object Occlusion
Information Processing Lab
Electrical Engineering
7
Initial Occlusion
Information Processing Lab
Electrical Engineering
8
Background Occlusion
Information Processing Lab
Electrical Engineering
9
Proposed Tracking Mechanism
Image
Frames
Moving
Object
Segmentation
Tracking Result
for Previous Frame
Tracking
List
Construction
Data
Association
and Update
Prediction
Background
Estimation
and Updating
Background
Image
Tracking Result
for Current Frame
Measurement
Candidate List
Current
Frame
Constructing
measurement
candidate List
for Each Target
Information Processing Lab
Electrical Engineering
10
Background Estimation and Updating
 Based on Gaussian mixture models [Stauffer 1999]
 Model the recent history of each pixel by a mixture of K
Gaussian distributions.
 Every pixel value is checked among the existing K Gaussian
distributions for a match.
 Update the weights for the K distributions and the parameters
of the matched distribution
 The kth Gaussian is ranked by ( )
 The top-ranked Gaussians are selected as the background models.
 Pixel values that belong to background models are accumulated
and averaged as the background image.
 The background image is updated for every certain interval of
time.
k
k
w 
/ I
k
k
2



Information Processing Lab
Electrical Engineering
11
Moving Object Segmentation
 Based on background subtraction
 Fourth order moment
[S. Colonnese et al. Proc. of SPIE 2003]
 Thresholding




)
,
(
)
,
(
4
)
4
(
)
ˆ
)
,
(
_
(
1
)
,
(
y
x
t
s
d
d m
t
s
img
diff
N
y
x













)
,
(
,
0
)
,
(
,
1
)
,
( )
4
(
)
4
(
y
x
if
y
x
if
y
x
S
d
d
Information Processing Lab
Electrical Engineering
12
Kalman Filter
 Kalman filters are modeled on a Markov chain
built on linear operators perturbed by Gaussian
noises.

k
k
k
k w
x
F
x 
 1
At time k, each target has state
k
k
k
k v
x
H
y 

and observation (measurement)
k
x
k
y
)
,
0
(
~ k
k Q
w 
, where
, where )
,
0
(
~ k
k R
v 
Kalman, R. E. "A New Approach to Linear Filtering and Prediction Problems,“
Transactions of the ASME - Journal of Basic Engineering Vol. 82: pp. 35-45, 1960.
Information Processing Lab
Electrical Engineering
13
Kalman Filter Phases
Predict
Update
Predicted State
Observed
Measurements
1
ˆ 
k
k
x
k
y
Updated
State
Estimate
k
k
x |
ˆ













1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
1
k
H













1
0
0
0
0
1
0
0
1
0
1
0
0
1
0
1
k
F
T
k
k
k
k
k
k v
u
v
u
y
x ]
[ 



Information Processing Lab
Electrical Engineering
14
Kalman Filter Phases
Predict Phase
Update Phase
k
T
k
k
k
k
k
k
k
k
k
k
k
Q
F
P
F
P
x
F
x









1
1
1
1
1
1
ˆ
ˆ
• Predicted Estimate
Covariance
• Predicted State k
k
k
k
k
k y
K
x
x ~
ˆ
ˆ 1
|
| 
 
• Updated State Estimate
• Updated Estimate Covariance
• Kalman Gain
• Innovation (Measurement) Residual
• Innovation Covariance
1
1
|


 k
T
k
k
k
k S
H
P
K
1
|
| )
( 

 k
k
k
k
k
k P
H
K
I
P
k
T
k
k
k
k
k R
H
P
H
S 
 1
|
1
|
ˆ
~


 k
k
k
k
k x
H
y
y
Information Processing Lab
Electrical Engineering
15
Constructing Measurement
Candidate List
Information Processing Lab
Electrical Engineering
16
Searching for measurement
candidate representation points
• Search for q1 and q2 in the two nxn
windows centered around p1 and p2,
respectively.
)
)
(
(
max
arg
)
,
(
1
1
c
y
x
q
S
q
O
Area
q 



)
)
(
(
max
arg
)
,
(
2
2
c
y
x
q
S
q
O
Area
q 



• Compute the dissimilarities
between the target object and
the potential measurement
candidates.
Information Processing Lab
Electrical Engineering
17
Data Association
 To associate measurements with targets when
performing updates
 Nearest Neighbor Data Association
For all the measurement in the validation gate of a
target, select the nearest measurement.
 Probabilistic Data Association (PDA)
 Joint Probabilistic Data Association (JPDA)
2
1
]
[
]
[ 




k
k
k
k
T
k
k
k x
H
y
S
x
H
y
Information Processing Lab
Electrical Engineering
18
Probabilistic Data Association
x
y1
y2
y3
Y . Bar-Shalom and E. Tse, “Tracking in a cluttered environment
with probabilistic data association,” Automatica, vol. 11, pp. 451-460, Sept. 1975.
}
|
{ k
j
j Y
X
P


1

2

3

Consider a single target independently
of others
denotes the event that the j th
measurement belongs to that target.
j


 





m
j
k
k
k
kj
j
m
j
kj
j
k x
H
y
y
y
1
1
|
1
)
ˆ
(
~
~ 

Combined (Weighted) Innovation
Information Processing Lab
Electrical Engineering
19
1
0 

Modified PDA for
Video Object Tracking
)
)
(
)(
)
(
(
)
)(
(
2
2








m n
mn
m n
mn
m n
mn
mn
R
B
B
A
A
B
B
A
A
C

 


 m
i
i
j
m
i
i
j
a
OverlapAre
a
OverlapAre
Similarity
Similarity
1
1
)
1
( 

• To handle video objects (regions), incorporate the
following factor when computing j

• Similarity measure: cross correlation function
Information Processing Lab
Electrical Engineering
20
Experimental Videos
Information Processing Lab
Electrical Engineering
21
Vehicle Tracking Results 1
Information Processing Lab
Electrical Engineering
22
Vehicle Tracking Results 2
Information Processing Lab
Electrical Engineering
23
Human Tracking Results
Information Processing Lab
Electrical Engineering
24
Object Tracking Statistics
Occluded Object Tracking Success Rate: 0.855
Video Sequence 1 Sequence 2 Sequence 3 Sequence 4
Ground Truth 71 64 92 130
Object Detected 72 61 93 128
Miss 0 3 0 5
False Alarm 1 0 1 3
Correctly Detected 71 61 92 125
Correctly Tracked 70 58 92 120
Detection Precision 0.986 1.000 0.989 0.977
Detection Recall 1.000 0.953 1.000 0.962
Tracking Success Rate 0.986 0.951 1.000 0.960
Detected
Object
Detected
Correctly
recision
P
Detection 
Truth
Ground
Detected
Correctly
ecall
R
Detection 
Detected
Correctly
Tracked
Correctly
Rate
Success
Tracking 
Information Processing Lab
Electrical Engineering
25
Trajectory Analysis
Class 1
Class 2
Class 3
Class 4
Class 5
Class 6
Information Processing Lab
Electrical Engineering
26
Trajectory Smoothing
• Sample the
trajectory
• Perform cubic
spline interpolation
Information Processing Lab
Electrical Engineering
27
Angle Feature Extraction
)
~
~
,
~
~
(
1 k
t
t
k
t
t y
y
x
x
v 
 



)
~
~
,
~
~
(
2 t
k
t
t
k
t y
y
x
x
v 

 









 
 
2
1
2
1
1
cos
v
v
v
v
p 











 
 
2
2
1
cos
v
v
v
v
h
h
h 




Relative Angle Absolute Angle
Information Processing Lab
Electrical Engineering
28
Hidden Markov Model
Sunny Cloudy Rainy
P(walk) = 0.5
P(bike) = 0.4
P(bus) = 0.1
P(walk) = 0.4
P(bike) = 0.3
P(bus) = 0.3
P(walk) = 0.2
P(bike) = 0.1
P(bus) = 0.7
 N states Si , i=1,…, N
 Transition probability aij
 Initial probability pi
 Observation symbol probability bj(k)
 A complete model l=(A,B,P)
 A={aij}
 B={bjk}
 P={pi}
Information Processing Lab
Electrical Engineering
29
Example of HMM
Observation sequence O = { walk, bike, bus, bus, bike, walk, … }
Information Processing Lab
Electrical Engineering
30
Three Problems in HMM
 Given l, compute the probability that O is
generated by this model
How likely did O happen at this place?
 Given l, find the most likely sequence of
hidden states that could have generated O
How did the weather change day-by-day?
 Given a set of O, learn the most likely l
Train the parameters of the HMM
forward-backward algorithm
Viterbi algorithm
Baum-Welch algorithm
Information Processing Lab
Electrical Engineering
31
Left-to-right HMM for
Trajectory Classification
Information Processing Lab
Electrical Engineering
32
K-means Clustering of
Feature Points
Information Processing Lab
Electrical Engineering
33
Number of Training
and Test sequences
Trajectory
Class
Training
Trajectories
Testing
Objects
Testing
Trajectories
Class 1 12 64 307
Class 2 11 18 66
Class 3 13 27 27
Class 4 5 20 20
Class 5 8 26 32
Class 6 8 29 45
Video for both training and testing
Video for testing only
Information Processing Lab
Electrical Engineering
34
Trajectory Classification Statistics
C 1 C 2 C 3 C 4 C 5 C 6 Accuracy
Class 1 307 0 0 0 0 0 100%
Class 2 0 64 0 0 0 2 97.4%
Class 3 2 0 25 0 0 0 92.6%
Class 4 0 0 0 20 0 0 100%
Class 5 1 0 0 0 31 0 96.8%
Class 6 0 2 0 0 0 43 95.5%
Information Processing Lab
Electrical Engineering
35
Anomalous Trajectories
Information Processing Lab
Electrical Engineering
36
Event Detection
 Type I Events
 Simple rule-based decision logic
 Entering a dangerous region
 Stopping in the scene
 Driving on the road shoulder
 Type II Events
 Based on trajectory classification results via HMM using angle features
 Illegal U-turns or left turns
 Anomalous trajectories
 Type III Events
 Based on trajectory classification results via HMM using speed features
 Speed change
Information Processing Lab
Electrical Engineering
37
Conclusions and Future Works
 Tracking
 Kalman filtering for prediction
 Modified PDA for data association
 Basic Events
 Simple rule-based decision logic
 HMM
 Higher Level Events
 Combining basic events
 More flexible models
Trajectories
HMMs
Basic Events
DBNs
Angle Features,
Speeds,
Positions,
Other Features
Intermediate
Events
HMMs
Type II,
Type III
Events
Type I
Events
Rule-based
Detection Logic
High
Level
Events
Information Processing Lab
Electrical Engineering
38

More Related Content

Similar to tracking.ppt

Design of Vibration Test Fixture for Opto-Electronic Equipment
Design of Vibration Test Fixture for Opto-Electronic EquipmentDesign of Vibration Test Fixture for Opto-Electronic Equipment
Design of Vibration Test Fixture for Opto-Electronic EquipmentIJMERJOURNAL
 
Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis ivanokitov
 
Morgan uw maGIV v1.3 dist
Morgan uw maGIV v1.3 distMorgan uw maGIV v1.3 dist
Morgan uw maGIV v1.3 distddm314
 
HYPERSIM Relay Protection Webinar
HYPERSIM Relay Protection WebinarHYPERSIM Relay Protection Webinar
HYPERSIM Relay Protection WebinarEtienne Leduc
 
IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...
IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...
IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...Vignesh V Menon
 
Vu_HPSC2012_02.pptx
Vu_HPSC2012_02.pptxVu_HPSC2012_02.pptx
Vu_HPSC2012_02.pptxQucngV
 
Towards Functional Safety compliance of Matrix-Matrix Multiplication
Towards Functional Safety compliance of Matrix-Matrix MultiplicationTowards Functional Safety compliance of Matrix-Matrix Multiplication
Towards Functional Safety compliance of Matrix-Matrix MultiplicationJavier Fernández Muñoz
 
"An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ..."An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ...butest
 
MS_thesis_presentation
MS_thesis_presentationMS_thesis_presentation
MS_thesis_presentationDeepak Agarwal
 
Surveillance scene classification using machine learning
Surveillance scene classification using machine learningSurveillance scene classification using machine learning
Surveillance scene classification using machine learningUtkarsh Contractor
 
Modeling Uncertainty For Middleware-based Streaming Power Grid Applications
Modeling Uncertainty For Middleware-based Streaming Power Grid ApplicationsModeling Uncertainty For Middleware-based Streaming Power Grid Applications
Modeling Uncertainty For Middleware-based Streaming Power Grid ApplicationsJenny Liu
 
A walk through the intersection between machine learning and mechanistic mode...
A walk through the intersection between machine learning and mechanistic mode...A walk through the intersection between machine learning and mechanistic mode...
A walk through the intersection between machine learning and mechanistic mode...JuanPabloCarbajal3
 
B Eng Final Year Project Presentation
B Eng Final Year Project PresentationB Eng Final Year Project Presentation
B Eng Final Year Project Presentationjesujoseph
 
FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING ARTIFICIAL NEURAL NET...
 FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING ARTIFICIAL NEURAL NET... FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING ARTIFICIAL NEURAL NET...
FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING ARTIFICIAL NEURAL NET...Politeknik Negeri Ujung Pandang
 
Amplification, ROADM and Optical Networking activities at CPqD
Amplification, ROADM and Optical Networking activities at CPqDAmplification, ROADM and Optical Networking activities at CPqD
Amplification, ROADM and Optical Networking activities at CPqDCPqD
 
Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...
Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...
Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...cscpconf
 

Similar to tracking.ppt (20)

ICSRS_R038.pptx
ICSRS_R038.pptxICSRS_R038.pptx
ICSRS_R038.pptx
 
Design of Vibration Test Fixture for Opto-Electronic Equipment
Design of Vibration Test Fixture for Opto-Electronic EquipmentDesign of Vibration Test Fixture for Opto-Electronic Equipment
Design of Vibration Test Fixture for Opto-Electronic Equipment
 
PhD Qualifying Exam Slides
PhD Qualifying Exam SlidesPhD Qualifying Exam Slides
PhD Qualifying Exam Slides
 
Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis Multivariate dimensionality reduction in cross-correlation analysis
Multivariate dimensionality reduction in cross-correlation analysis
 
Morgan uw maGIV v1.3 dist
Morgan uw maGIV v1.3 distMorgan uw maGIV v1.3 dist
Morgan uw maGIV v1.3 dist
 
HYPERSIM Relay Protection Webinar
HYPERSIM Relay Protection WebinarHYPERSIM Relay Protection Webinar
HYPERSIM Relay Protection Webinar
 
IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...
IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...
IEEE ICIP'22:Efficient Content-Adaptive Feature-based Shot Detection for HTTP...
 
Vu_HPSC2012_02.pptx
Vu_HPSC2012_02.pptxVu_HPSC2012_02.pptx
Vu_HPSC2012_02.pptx
 
Towards Functional Safety compliance of Matrix-Matrix Multiplication
Towards Functional Safety compliance of Matrix-Matrix MultiplicationTowards Functional Safety compliance of Matrix-Matrix Multiplication
Towards Functional Safety compliance of Matrix-Matrix Multiplication
 
"An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ..."An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ...
 
MS_thesis_presentation
MS_thesis_presentationMS_thesis_presentation
MS_thesis_presentation
 
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
2014 PV Performance Modeling Workshop: Outdoor Module Characterization Method...
 
ODVSML_Presentation
ODVSML_PresentationODVSML_Presentation
ODVSML_Presentation
 
Surveillance scene classification using machine learning
Surveillance scene classification using machine learningSurveillance scene classification using machine learning
Surveillance scene classification using machine learning
 
Modeling Uncertainty For Middleware-based Streaming Power Grid Applications
Modeling Uncertainty For Middleware-based Streaming Power Grid ApplicationsModeling Uncertainty For Middleware-based Streaming Power Grid Applications
Modeling Uncertainty For Middleware-based Streaming Power Grid Applications
 
A walk through the intersection between machine learning and mechanistic mode...
A walk through the intersection between machine learning and mechanistic mode...A walk through the intersection between machine learning and mechanistic mode...
A walk through the intersection between machine learning and mechanistic mode...
 
B Eng Final Year Project Presentation
B Eng Final Year Project PresentationB Eng Final Year Project Presentation
B Eng Final Year Project Presentation
 
FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING ARTIFICIAL NEURAL NET...
 FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING ARTIFICIAL NEURAL NET... FAULT DETECTION ON OVERHEAD TRANSMISSION LINE  USING ARTIFICIAL NEURAL NET...
FAULT DETECTION ON OVERHEAD TRANSMISSION LINE USING ARTIFICIAL NEURAL NET...
 
Amplification, ROADM and Optical Networking activities at CPqD
Amplification, ROADM and Optical Networking activities at CPqDAmplification, ROADM and Optical Networking activities at CPqD
Amplification, ROADM and Optical Networking activities at CPqD
 
Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...
Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...
Park’s Vector Approach to detect an inter turn stator fault in a doubly fed i...
 

Recently uploaded

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Recently uploaded (20)

Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

tracking.ppt

  • 1. Information Processing Lab Electrical Engineering 1 Object Tracking, Trajectory Analysis and Event Detection in Intelligent Video Systems Student: Hsu-Yung Cheng Advisor: Jenq-Neng Hwang, Professor Department of Electrical Engineering University of Washington
  • 2. Information Processing Lab Electrical Engineering 2 Outlines  Motivation  Object Tracking  Trajectory Analysis  Event Detection  Conclusions and Future Work
  • 3. Information Processing Lab Electrical Engineering 3 Motivation  Advantage of Video-based systems  Being able to capture a large variety of information  Relatively inexpensive  Easier to install, operate, and maintain  Applications  Security surveillance  Home care surveillance  Intelligent transportation systems  There is an urgent need for intelligent video systems to replace human operators to monitor the areas under surveillance.
  • 4. Information Processing Lab Electrical Engineering 4 System Modules for Intelligent Event Detection Systems
  • 5. Information Processing Lab Electrical Engineering 5 Challenges for Robust Tracking  Segmentation errors  Change of lighting conditions  Shadows  Occlusion
  • 6. Information Processing Lab Electrical Engineering 6 Inter-Object Occlusion
  • 7. Information Processing Lab Electrical Engineering 7 Initial Occlusion
  • 8. Information Processing Lab Electrical Engineering 8 Background Occlusion
  • 9. Information Processing Lab Electrical Engineering 9 Proposed Tracking Mechanism Image Frames Moving Object Segmentation Tracking Result for Previous Frame Tracking List Construction Data Association and Update Prediction Background Estimation and Updating Background Image Tracking Result for Current Frame Measurement Candidate List Current Frame Constructing measurement candidate List for Each Target
  • 10. Information Processing Lab Electrical Engineering 10 Background Estimation and Updating  Based on Gaussian mixture models [Stauffer 1999]  Model the recent history of each pixel by a mixture of K Gaussian distributions.  Every pixel value is checked among the existing K Gaussian distributions for a match.  Update the weights for the K distributions and the parameters of the matched distribution  The kth Gaussian is ranked by ( )  The top-ranked Gaussians are selected as the background models.  Pixel values that belong to background models are accumulated and averaged as the background image.  The background image is updated for every certain interval of time. k k w  / I k k 2   
  • 11. Information Processing Lab Electrical Engineering 11 Moving Object Segmentation  Based on background subtraction  Fourth order moment [S. Colonnese et al. Proc. of SPIE 2003]  Thresholding     ) , ( ) , ( 4 ) 4 ( ) ˆ ) , ( _ ( 1 ) , ( y x t s d d m t s img diff N y x              ) , ( , 0 ) , ( , 1 ) , ( ) 4 ( ) 4 ( y x if y x if y x S d d
  • 12. Information Processing Lab Electrical Engineering 12 Kalman Filter  Kalman filters are modeled on a Markov chain built on linear operators perturbed by Gaussian noises.  k k k k w x F x   1 At time k, each target has state k k k k v x H y   and observation (measurement) k x k y ) , 0 ( ~ k k Q w  , where , where ) , 0 ( ~ k k R v  Kalman, R. E. "A New Approach to Linear Filtering and Prediction Problems,“ Transactions of the ASME - Journal of Basic Engineering Vol. 82: pp. 35-45, 1960.
  • 13. Information Processing Lab Electrical Engineering 13 Kalman Filter Phases Predict Update Predicted State Observed Measurements 1 ˆ  k k x k y Updated State Estimate k k x | ˆ              1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 k H              1 0 0 0 0 1 0 0 1 0 1 0 0 1 0 1 k F T k k k k k k v u v u y x ] [    
  • 14. Information Processing Lab Electrical Engineering 14 Kalman Filter Phases Predict Phase Update Phase k T k k k k k k k k k k k Q F P F P x F x          1 1 1 1 1 1 ˆ ˆ • Predicted Estimate Covariance • Predicted State k k k k k k y K x x ~ ˆ ˆ 1 | |    • Updated State Estimate • Updated Estimate Covariance • Kalman Gain • Innovation (Measurement) Residual • Innovation Covariance 1 1 |    k T k k k k S H P K 1 | | ) (    k k k k k k P H K I P k T k k k k k R H P H S   1 | 1 | ˆ ~    k k k k k x H y y
  • 15. Information Processing Lab Electrical Engineering 15 Constructing Measurement Candidate List
  • 16. Information Processing Lab Electrical Engineering 16 Searching for measurement candidate representation points • Search for q1 and q2 in the two nxn windows centered around p1 and p2, respectively. ) ) ( ( max arg ) , ( 1 1 c y x q S q O Area q     ) ) ( ( max arg ) , ( 2 2 c y x q S q O Area q     • Compute the dissimilarities between the target object and the potential measurement candidates.
  • 17. Information Processing Lab Electrical Engineering 17 Data Association  To associate measurements with targets when performing updates  Nearest Neighbor Data Association For all the measurement in the validation gate of a target, select the nearest measurement.  Probabilistic Data Association (PDA)  Joint Probabilistic Data Association (JPDA) 2 1 ] [ ] [      k k k k T k k k x H y S x H y
  • 18. Information Processing Lab Electrical Engineering 18 Probabilistic Data Association x y1 y2 y3 Y . Bar-Shalom and E. Tse, “Tracking in a cluttered environment with probabilistic data association,” Automatica, vol. 11, pp. 451-460, Sept. 1975. } | { k j j Y X P   1  2  3  Consider a single target independently of others denotes the event that the j th measurement belongs to that target. j          m j k k k kj j m j kj j k x H y y y 1 1 | 1 ) ˆ ( ~ ~   Combined (Weighted) Innovation
  • 19. Information Processing Lab Electrical Engineering 19 1 0   Modified PDA for Video Object Tracking ) ) ( )( ) ( ( ) )( ( 2 2         m n mn m n mn m n mn mn R B B A A B B A A C       m i i j m i i j a OverlapAre a OverlapAre Similarity Similarity 1 1 ) 1 (   • To handle video objects (regions), incorporate the following factor when computing j  • Similarity measure: cross correlation function
  • 20. Information Processing Lab Electrical Engineering 20 Experimental Videos
  • 21. Information Processing Lab Electrical Engineering 21 Vehicle Tracking Results 1
  • 22. Information Processing Lab Electrical Engineering 22 Vehicle Tracking Results 2
  • 23. Information Processing Lab Electrical Engineering 23 Human Tracking Results
  • 24. Information Processing Lab Electrical Engineering 24 Object Tracking Statistics Occluded Object Tracking Success Rate: 0.855 Video Sequence 1 Sequence 2 Sequence 3 Sequence 4 Ground Truth 71 64 92 130 Object Detected 72 61 93 128 Miss 0 3 0 5 False Alarm 1 0 1 3 Correctly Detected 71 61 92 125 Correctly Tracked 70 58 92 120 Detection Precision 0.986 1.000 0.989 0.977 Detection Recall 1.000 0.953 1.000 0.962 Tracking Success Rate 0.986 0.951 1.000 0.960 Detected Object Detected Correctly recision P Detection  Truth Ground Detected Correctly ecall R Detection  Detected Correctly Tracked Correctly Rate Success Tracking 
  • 25. Information Processing Lab Electrical Engineering 25 Trajectory Analysis Class 1 Class 2 Class 3 Class 4 Class 5 Class 6
  • 26. Information Processing Lab Electrical Engineering 26 Trajectory Smoothing • Sample the trajectory • Perform cubic spline interpolation
  • 27. Information Processing Lab Electrical Engineering 27 Angle Feature Extraction ) ~ ~ , ~ ~ ( 1 k t t k t t y y x x v       ) ~ ~ , ~ ~ ( 2 t k t t k t y y x x v                  2 1 2 1 1 cos v v v v p                 2 2 1 cos v v v v h h h      Relative Angle Absolute Angle
  • 28. Information Processing Lab Electrical Engineering 28 Hidden Markov Model Sunny Cloudy Rainy P(walk) = 0.5 P(bike) = 0.4 P(bus) = 0.1 P(walk) = 0.4 P(bike) = 0.3 P(bus) = 0.3 P(walk) = 0.2 P(bike) = 0.1 P(bus) = 0.7  N states Si , i=1,…, N  Transition probability aij  Initial probability pi  Observation symbol probability bj(k)  A complete model l=(A,B,P)  A={aij}  B={bjk}  P={pi}
  • 29. Information Processing Lab Electrical Engineering 29 Example of HMM Observation sequence O = { walk, bike, bus, bus, bike, walk, … }
  • 30. Information Processing Lab Electrical Engineering 30 Three Problems in HMM  Given l, compute the probability that O is generated by this model How likely did O happen at this place?  Given l, find the most likely sequence of hidden states that could have generated O How did the weather change day-by-day?  Given a set of O, learn the most likely l Train the parameters of the HMM forward-backward algorithm Viterbi algorithm Baum-Welch algorithm
  • 31. Information Processing Lab Electrical Engineering 31 Left-to-right HMM for Trajectory Classification
  • 32. Information Processing Lab Electrical Engineering 32 K-means Clustering of Feature Points
  • 33. Information Processing Lab Electrical Engineering 33 Number of Training and Test sequences Trajectory Class Training Trajectories Testing Objects Testing Trajectories Class 1 12 64 307 Class 2 11 18 66 Class 3 13 27 27 Class 4 5 20 20 Class 5 8 26 32 Class 6 8 29 45 Video for both training and testing Video for testing only
  • 34. Information Processing Lab Electrical Engineering 34 Trajectory Classification Statistics C 1 C 2 C 3 C 4 C 5 C 6 Accuracy Class 1 307 0 0 0 0 0 100% Class 2 0 64 0 0 0 2 97.4% Class 3 2 0 25 0 0 0 92.6% Class 4 0 0 0 20 0 0 100% Class 5 1 0 0 0 31 0 96.8% Class 6 0 2 0 0 0 43 95.5%
  • 35. Information Processing Lab Electrical Engineering 35 Anomalous Trajectories
  • 36. Information Processing Lab Electrical Engineering 36 Event Detection  Type I Events  Simple rule-based decision logic  Entering a dangerous region  Stopping in the scene  Driving on the road shoulder  Type II Events  Based on trajectory classification results via HMM using angle features  Illegal U-turns or left turns  Anomalous trajectories  Type III Events  Based on trajectory classification results via HMM using speed features  Speed change
  • 37. Information Processing Lab Electrical Engineering 37 Conclusions and Future Works  Tracking  Kalman filtering for prediction  Modified PDA for data association  Basic Events  Simple rule-based decision logic  HMM  Higher Level Events  Combining basic events  More flexible models Trajectories HMMs Basic Events DBNs Angle Features, Speeds, Positions, Other Features Intermediate Events HMMs Type II, Type III Events Type I Events Rule-based Detection Logic High Level Events