maintaining target persistencehomepages.inf.ed.ac.uk/rbf/avinverted/behave/av3_persistb.pdf · add...

4
Persistent Tracking Slide 1/15 Maintaining Persistence when Tracking Robert B. Fisher School of Informatics University of Edinburgh c 2014, School of Informatics, University of Edinburgh Persistent Tracking Slide 2/15 NORMAL TARGET TRACKING General problem: in first image have R targets {F i } In next image have L targets {N i } How to pair the targets out of the (R + 1) L possibilities? Video rate fast targets don’t move much Kalman Filter predicts position ? with detected target makes correspondences c 2014, School of Informatics, University of Edinburgh Persistent Tracking Slide 3/15 TARGET 1 & 2 ? c 2014, School of Informatics, University of Edinburgh Persistent Tracking Slide 4/15 MAINTAINING TARGET PERSISTENCE Issue: tracking targets breaks down when close or occluded Solution: need identity ? through occlusion Jorge et al: Bayesian network c 2014, School of Informatics, University of Edinburgh

Upload: others

Post on 28-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MAINTAINING TARGET PERSISTENCEhomepages.inf.ed.ac.uk/rbf/AVINVERTED/BEHAVE/av3_persistb.pdf · Add ? nodes R i enforcing mutual exclusion between sibling nodes c 2014, School of Informatics,

Persistent Tracking Slide 1/15

Maintaining Persistence when Tracking

Robert B. Fisher

School of Informatics

University of Edinburgh

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 2/15

NORMAL TARGET TRACKING

General problem: in first image have R targets {Fi}In next image have L targets {Ni}How to pair the targets out of the (R + 1)L possibilities?

Video rate fast → targets don’t move muchKalman Filter predicts position

? with detected target makescorrespondences

c©2014, School of Informatics, University of EdinburghPersistent Tracking Slide 3/15

TARGET 1 & 2 ?

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 4/15

MAINTAINING TARGET

PERSISTENCE

Issue: tracking targets breaks down when close or

occluded

Solution: need identity ? through occlusion

Jorge et al: Bayesian network

c©2014, School of Informatics, University of Edinburgh

Page 2: MAINTAINING TARGET PERSISTENCEhomepages.inf.ed.ac.uk/rbf/AVINVERTED/BEHAVE/av3_persistb.pdf · Add ? nodes R i enforcing mutual exclusion between sibling nodes c 2014, School of Informatics,

Persistent Tracking Slide 5/15

PROBLEM REPRESENTATION

Break trajectories at occlusions

Create ? nodes Xi for each track Si,

also inheriting previous tracks

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 6/15

? tracks Initial hypothesis

Nodes

c©2014, School of Informatics, University of EdinburghPersistent Tracking Slide 7/15

MATCHING COLOUR TARGETS I

Assume binary mask of target

Use mask to select target pixels {(ri, gi, bi)}

Compute RGB ? over all pixels in

region and all frames in segment (eg. maybe

20K values):

∀i h1(ri, gi, bi) = h1(ri, gi, bi) + 1

How well does distribution h1(ri, gi, bi) matchdistribution h2(ri, gi, bi)?

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 8/15

MATCHING COLOUR TARGETS II

Normalize:

Hj(r, g, b) = hj(r, g, b)/Σr,g,b(hj(r, g, b))

Use ? distance:

d(H1, H2) = −ln(∑r,g,b

√H1(r, g, b)×H2(r, g, b))

If d(h1, h2) small then likely same target

Group colour levels together (eg. 0-31, 32-64, ...224-255) because so few pixels

c©2014, School of Informatics, University of Edinburgh

Page 3: MAINTAINING TARGET PERSISTENCEhomepages.inf.ed.ac.uk/rbf/AVINVERTED/BEHAVE/av3_persistb.pdf · Add ? nodes R i enforcing mutual exclusion between sibling nodes c 2014, School of Informatics,

Persistent Tracking Slide 9/15

EXTENDING NETWORK

Create label nodes Xi for each segment section

Si

Add data matching nodes Yi (color histogram

of target appearance)

Add ? nodes Ri enforcing mutual

exclusion between sibling nodes

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 10/15

c©2014, School of Informatics, University of EdinburghPersistent Tracking Slide 11/15

EVALUATING PERSISTENCE

Find labeling ~X that ?

p( ~X | ~Y , ~R)

Probability of labeling ~X given data ~Y and

restrictions ~R

Gives probability that each person Pi isobserved in track Xj

Use standard conditional probabilitypropagation algorithm

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 12/15

PROBLEM 1: REAL-TIME ANSWERS

Full network evaluation is expensive

? evaluation, using Bayes rule after

the kth block of T frames:

p(xi | ~Y t0 , ~R

t0) = αp(~Y t

kT , ~RtkT | xi)p(xi | ~Y kT

0 , ~RkT0 )

c©2014, School of Informatics, University of Edinburgh

Page 4: MAINTAINING TARGET PERSISTENCEhomepages.inf.ed.ac.uk/rbf/AVINVERTED/BEHAVE/av3_persistb.pdf · Add ? nodes R i enforcing mutual exclusion between sibling nodes c 2014, School of Informatics,

Persistent Tracking Slide 13/15

PROBLEM 2: GROWTH OF

NETWORK

Each new track inherits labels plus adds a newone: network grows large

Solution: freeze all but N ? nodes

Freeze: fix most probable identity for track Si

rather than keep all possible ids (which couldchange with future evidence)

c©2014, School of Informatics, University of Edinburgh

Persistent Tracking Slide 14/15

ACTIVE NODES AT ?

c©2014, School of Informatics, University of EdinburghPersistent Tracking Slide 15/15

SUMMARY

Problem with occlusion: lose identity

Formulate matching problem as a Bayesiannetwork

Use ? matching for image evidence

Propagate probability of identity throughnetwork

Periodically ‘freeze’ network to limitcomputational complexity

c©2014, School of Informatics, University of Edinburgh