Human-Computer Interaction Human-Computer Interaction Tracking Hanyang University Jong-Il Park.

Slides:



Advertisements
Similar presentations
Motivating Markov Chain Monte Carlo for Multiple Target Tracking
Advertisements

State Estimation and Kalman Filtering CS B659 Spring 2013 Kris Hauser.
CSCE643: Computer Vision Bayesian Tracking & Particle Filtering Jinxiang Chai Some slides from Stephen Roth.
Dynamic Bayesian Networks (DBNs)
Introduction To Tracking
Reducing Drift in Parametric Motion Tracking
Monte Carlo Localization for Mobile Robots Karan M. Gupta 03/10/2004
Human-Computer Interaction Human-Computer Interaction Segmentation Hanyang University Jong-Il Park.
Prof. Trevor Darrell Lecture 19: Tracking
Tracking Objects with Dynamics Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 04/21/15 some slides from Amin Sadeghi, Lana Lazebnik,
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
1 Face Tracking in Videos Gaurav Aggarwal, Ashok Veeraraghavan, Rama Chellappa.
Ensemble Tracking Shai Avidan IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE February 2007.
Nonlinear and Non-Gaussian Estimation with A Focus on Particle Filters Prasanth Jeevan Mary Knox May 12, 2006.
Particle filters (continued…). Recall Particle filters –Track state sequence x i given the measurements ( y 0, y 1, …., y i ) –Non-linear dynamics –Non-linear.
1 Integration of Background Modeling and Object Tracking Yu-Ting Chen, Chu-Song Chen, Yi-Ping Hung IEEE ICME, 2006.
Today Introduction to MCMC Particle filters and MCMC
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
© 2003 by Davi GeigerComputer Vision November 2003 L1.1 Tracking We are given a contour   with coordinates   ={x 1, x 2, …, x N } at the initial frame.
Tracking with Linear Dynamic Models. Introduction Tracking is the problem of generating an inference about the motion of an object given a sequence of.
Bayesian Filtering for Location Estimation D. Fox, J. Hightower, L. Liao, D. Schulz, and G. Borriello Presented by: Honggang Zhang.
Overview and Mathematics Bjoern Griesbach
Crash Course on Machine Learning
Bayesian Filtering for Robot Localization
Particle Filtering in Network Tomography
Markov Localization & Bayes Filtering
BraMBLe: The Bayesian Multiple-BLob Tracker By Michael Isard and John MacCormick Presented by Kristin Branson CSE 252C, Fall 2003.
TP15 - Tracking Computer Vision, FCUP, 2013 Miguel Coimbra Slides by Prof. Kristen Grauman.
Computer vision: models, learning and inference Chapter 19 Temporal models.
From Bayesian Filtering to Particle Filters Dieter Fox University of Washington Joint work with W. Burgard, F. Dellaert, C. Kwok, S. Thrun.
A General Framework for Tracking Multiple People from a Moving Camera
3D SLAM for Omni-directional Camera
Computer vision: models, learning and inference Chapter 19 Temporal models.
Recap: Reasoning Over Time  Stationary Markov models  Hidden Markov models X2X2 X1X1 X3X3 X4X4 rainsun X5X5 X2X2 E1E1 X1X1 X3X3 X4X4 E2E2 E3E3.
Computer Vision - A Modern Approach Set: Tracking Slides by D.A. Forsyth The three main issues in tracking.
Probabilistic Robotics Bayes Filter Implementations.
Young Ki Baik, Computer Vision Lab.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Forward-Scan Sonar Tomographic Reconstruction PHD Filter Multiple Target Tracking Bayesian Multiple Target Tracking in Forward Scan Sonar.
Tracking People by Learning Their Appearance Deva Ramanan David A. Forsuth Andrew Zisserman.
Vision-based human motion analysis: An overview Computer Vision and Image Understanding(2007)
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
Tracking CSE 6367 – Computer Vision Vassilis Athitsos University of Texas at Arlington.
Mobile Robot Localization (ch. 7)
Stable Multi-Target Tracking in Real-Time Surveillance Video
ISOMAP TRACKING WITH PARTICLE FILTER Presented by Nikhil Rane.
Expectation-Maximization (EM) Case Studies
MURI Annual Review, Vanderbilt, Sep 8 th, 2009 Heterogeneous Sensor Webs for Automated Target Recognition and Tracking in Urban Terrain (W911NF )
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
NCAF Manchester July 2000 Graham Hesketh Information Engineering Group Rolls-Royce Strategic Research Centre.
Boosted Particle Filter: Multitarget Detection and Tracking Fayin Li.
Sequential Monte-Carlo Method -Introduction, implementation and application Fan, Xin
EECS 274 Computer Vision Tracking. Motivation: Obtain a compact representation from an image/motion sequence/set of tokens Should support application.
Chapter 20 Classification and Estimation Classification – Feature selection Good feature have four characteristics: –Discrimination. Features.
Final Review Course web page: vision.cis.udel.edu/~cv May 21, 2003  Lecture 37.
OBJECT TRACKING USING PARTICLE FILTERS. Table of Contents Tracking Tracking Tracking as a probabilistic inference problem Tracking as a probabilistic.
Tracking with dynamics
The Unscented Particle Filter 2000/09/29 이 시은. Introduction Filtering –estimate the states(parameters or hidden variable) as a set of observations becomes.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
R. Kass/W03 P416 Lecture 5 l Suppose we are trying to measure the true value of some quantity (x T ). u We make repeated measurements of this quantity.
11/25/03 3D Model Acquisition by Tracking 2D Wireframes Presenter: Jing Han Shiau M. Brown, T. Drummond and R. Cipolla Department of Engineering University.
Motion and Optical Flow
Tracking Objects with Dynamics
Particle Filtering for Geometric Active Contours
Probabilistic Robotics
Dynamical Statistical Shape Priors for Level Set Based Tracking
Optical flow and keypoint tracking
Tracking Many slides adapted from Kristen Grauman, Deva Ramanan.
Nome Sobrenome. Time time time time time time..
Presentation transcript:

Human-Computer Interaction Human-Computer Interaction Tracking Hanyang University Jong-Il Park

Tracking in computer vision Definition Problem of generating an inference about the motion of an object given a sequence of images Application  Motion capture  Recognition from motion  Surveillance  Who is doing what?  Eg. Security, HCI(Kinect…)

Tracking Establish state of object using time sequence  state could be:  position; position+velocity; position+velocity+acceleration  or more complex, Eg. all joint angles for a person  Biggest problem -- Data Association  which image pixels are informative, which are not? Key ideas  Tracking by detection  if we know what an object looks like, that selects the pixels to use  Tracking through flow  if we know how an object moves, that selects the pixels to use

Appearance vs. Flow

Tracking by Detection Assume  a very reliable detector (e.g. faces; back of heads)  detections that are well spaced in images (or have distinctive properties)  e.g. news anchors; heads in public Link detects across time  only one - easy  multiple - weighted bipartite matching  but what if one is missing? Better: create abstract tracks  link detects to track  create tracks, reap tracks as required  clean up spacetime paths

Tracking by Known Appearance Even if we don’t have a detector Know rectangle in image (n) Want to find corresponding rectangle in (n+1) Search over nearby rectangles  to find one that minimizes SSD error where sum is over pixels in rectangle Application  stabilize players in TV sport

Buidling Tracks Start at scattered points in image 1  perhaps corner detector responses For each in image (n), compute position in (n+1)  as in previous slide Now check tracks  patch in (n+1) should look like an affine transform of patch in 1  Prune bad tracks

What if the patch deforms? Eg a football player’s jersey  Colors are “similar” but SSD won’t work Idea: patch histogram is stable To track:  repeat  predict location of new patch  search nearby for patch whose histogram matches original the best

When are motions easy? Current procedure  predict state  obtaining measurement from prediction by search  correct state Easy  When the object is close to where you expect it to be  eg Object guaranteed to move a little Large motions can be easy  When they’re “predictable”  e.g. ballistic motion  e.g. constant velocity Need a theory to fuse this procedure with motion model

General Model We assume there are moving objects, which have an underlying state X There are measurements Y, some of which are functions of this state Eg. There is a clock  at each tick, the state changes  at each tick, we get a new observation  object is ball, state is 3D position+velocity, measurements are stereo pairs  object is person, state is body configuration, measurements are frames, clock is in camera (30 fps)

Tracking as an Abstract Inference Problem Internal state: X Measurement: Y Major Steps: 1. Prediction 2. Data association: determining which data are informative 3. Correction

Independence Assumption Only the immediate past matters * X: Markov process Measurements depend only on the current state

Bayes Rule

Prediction

Correction

Linear Dynamic Model Model D: Transition matrix M: Measurement matrix Kalman filter is well-suited for this type of tracking Read Ch.11.3, Forsyth & Ponce, Computer Vision, 2012.

Kalman filter

Eg. Kalman filter *: predicted x: measured +: estimated o: true bar: 3 

Nonlinear Dynamics Problems  tend not to be normal  may not be Gaussian(quite common in vision problem)  multiple, well-separated modes

Eg. Nonlinear model

Eg. Nonlinear model Time Evolution & pdf

Difficulties in Complicated Models In order to maintain  handling multiple peaks  handling multi-dimensional state vector Particle filtering is a useful approach. How?

Sampled Representation Representation of pdf is  NOT for representing a pdf itself  BUT for computing some expectation Computing expectation using sampled representation

Monte Carlo Integration where : sampling distribution : weight

Obtaining a sampled representation of probability distribution

Computing an expectation using a set of samples

Transformation Transforming a sampled representation of a prior into that of a posterior Transforming a sampled representation of a prior into that of a posterior

Naive particle filter

Eg. Naive particle filter Poor results due to sample impoverishment!  Most of the weights get small very fast The way to get accurate estimates = to have samples lie where the p is likely to be large

Overcoming Sample Impoverishment Equivalent to maintaining a set of good particles Then, how? Resampling the prior 1. expand the sample set non-uniformly using the weights  Form a new set of samples consisting of a union of N k copies of (s k,1) for each k. 2. Subsample the sample set uniformly

Practical particle filter Initialization Prediction Correction Resampling:  Normalise the weights so that  Compute the variance of the normalised weights. If(var >Th) construct a new set of samples by drawing, with replacement, N samples from the old set, using the weights as the probability that a sample will be drawn. The weight of each sample is now 1/N. Naive particle filter

Consequence of resampling Particles that tend to reflect the state rather well usually reappear in the resampled set Many particles lie within one standard deviation of the mean of the posterior

Particle filters Different community -> different name statisticsparticle filter AIsurvival of the fittest computer visioncondensation

Tracking people Essential components  Motion model  Likelihood model P(image features|person present at given configuration) Motion model  Strong motion model: markers, angles,…  Weak motion model: drift model Likelihood model  SSD, edges, other features,…

Likelihood computation Boundary information Non-background information Sample points

Annealed particle filter To overcome the problems of  High dimensionality of the state  Many local peaks in the likelihood Annealing  Starts from smooth approximations to the likelihood to less smooth approximation  Repeats weighting and resampling [Deutscher,Blake,Reid, CVPR2000]

Finding people As an initialization of people tracker There is no person tracker that represents the configuration of the body and can start automatically Known approaches 1. Template matching 2. Finding faces 3. Search over correspondence * Challenging topic: learning models from data