Overview Introduction Object Tracking Vehicle Tracking Theory - - PowerPoint PPT Presentation

overview
SMART_READER_LITE
LIVE PREVIEW

Overview Introduction Object Tracking Vehicle Tracking Theory - - PowerPoint PPT Presentation

Overview Introduction Object Tracking Vehicle Tracking Theory & Implementation Segmentation Tracking Results Q & A Introduction Object Tracking Object Tracking Object representation Feature


slide-1
SLIDE 1
slide-2
SLIDE 2

Overview

Introduction

Object Tracking Vehicle Tracking

Theory & Implementation

Segmentation Tracking

Results Q & A

slide-3
SLIDE 3

Introduction – Object Tracking

Object Tracking

Object representation Feature Selection Object Detection Tracking

slide-4
SLIDE 4

Introduction – Object Tracking

Object Representation

slide-5
SLIDE 5

Introduction – Object Tracking

Feature Selection for Tracking

Colour Edges Optical Flow Texture

slide-6
SLIDE 6

Introduction – Object Tracking

Object Detection

Point detectors

Moravec’s Detector Harris Detector Scale Invariant Feature Transform Affine Invariant Point Detector

Segmentation

Mean-Shift Graph-Cut Active Contours

Background Modeling

Mixture of Gaussians Eigenbackground Wall Flower Dynamic Texture Background

Supervised Classifiers

Support Vector Machines Neural Networks Adaptive Boosting

slide-7
SLIDE 7

Introduction – Object Tracking

Tracking

Point Tracking (a) Kernel Tracking (b) Silhouette Tracking (c) & (d)

slide-8
SLIDE 8

Introduction – Object Tracking

Tracking Challenges

Correspondence Occlusion

slide-9
SLIDE 9

Introduction – Vehicle Tracking

Vehicle Tracking

Motivation

Traffic information

Reduce urban transportation industry costs Future: Develop “intelligent” transportation system

Surveillance (I’d rather not mention)

Public Sector Private Sector

slide-10
SLIDE 10

Introduction – Vehicle Tracking

Object

Track vehicles on a highway Count them

Implementation

Real-time OpenCV & C++

slide-11
SLIDE 11

Theory Overview

Segmentation

Noise removal (minimization) Background subtraction Contour isolation Rectangle fitting

Tracking

Correspondence Adding & removing vehicles Persistence Prediction

slide-12
SLIDE 12

Theory – Segmentation

Noise minimization

Gaussian Blur

Linear Convolution Filter

slide-13
SLIDE 13

Theory – Segmentation

Convolution Gaussian Kernel is Separable

where A (and G) is the kernel and I is the image

slide-14
SLIDE 14

Theory – Segmentation

Gaussian Kernel is Separable

slide-15
SLIDE 15

Theory – Segmentation

Background Subtraction

KaewTraKulPong, P. and Bowden, R. (2001).

“An Improved Adaptive Background Mixture Model for Real-time Tracking with Shadow Detection”

OpenCV implementation (without shadow detection)

slide-16
SLIDE 16

Theory – Segmentation

Background Subtraction (continued)

Adaptive Gaussian Mixture Model

  • Each pixel is modelled by a mixture of K Gaussian

distributions

  • BG Pixel <= T stdev
  • FG Pixel > T stdev

where T is the threshold

slide-17
SLIDE 17

Theory – Segmentation

Background Subtraction (continued)

Online Expectation-Maximization (EM)

  • Iterative parameter estimation
  • Benefits
  • Mathematica demonstration
slide-18
SLIDE 18

Theory – Segmentation

Finding Outside Contours Find Enclosed box Classification (simple for vehicles)

Keep boxes with size > Threshold

(prevents noise from being detected as a car)

slide-19
SLIDE 19

Theory – Vehicle Tracking

Correspondence

Compare each new segmented object to each tracked

  • bject with the distance cost function:

Add each comparison that is less than T to a list Order list (lowest cost first) Match first and remove all match with

2 2

( ) ( ) where is the new object and is the tracked object

i i i i i x x y y i i

d a b a b a b = − + − and

i i

a b

slide-20
SLIDE 20

Theory – Vehicle Tracking

Adding Vehicles

Mark all detected unmatched vehicles as potential If found in next g frames then add

Subtracting Vehicles

All vehicles not found in h

Persistence

Object not found within h then not updated but still

considered tracked

Occlusion

[ ]

, 1,2,...,10 g h∈

slide-21
SLIDE 21

Theory – Vehicle Tracking

Prediction

Kalman Filter

Estimates a system’s state (optimal) Maximizes a posteriori probability

Assumptions:

system’s dynamics are linear noise is additive, white, and Gaussian

slide-22
SLIDE 22

Theory – Vehicle Tracking

Kalman Filter (continued)

Current state vector xk

F : transfer matrix B : relates the controls to xk uk : control vector wk : the process noise vector

noise in state of the system. wk : random variable N(0;Qk).

slide-23
SLIDE 23

Theory – Vehicle Tracking

Kalman Filter (continued)

Measurement states zk Hk : relates xk to zk vk : measurement noise

random variable with N(0; Rk ).

slide-24
SLIDE 24

Theory – Vehicle Tracking

Kalman Filter (continued)

Predict Pk : error covariance

slide-25
SLIDE 25

Theory – Vehicle Tracking

Kalman Filter (continued)

Update Kk : Kalman gain

weight to assign to new information

slide-26
SLIDE 26

Theory – Vehicle Tracking

Kalman Filter Implementation Details

1 1 , 1 1 1 1 ,

x y x y

x d t y d t x F v v z z H z ⎡ ⎤ ⎡ ⎤ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ = = ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥ ⎣ ⎦ ⎣ ⎦ ⎡ ⎤ ⎢ ⎥ ⎡ ⎤ ⎢ ⎥ = = ⎢ ⎥ ⎢ ⎥ ⎣ ⎦ ⎢ ⎥ ⎣ ⎦

slide-27
SLIDE 27

Results

slide-28
SLIDE 28

Questions and Discussion