Motion and Human Motion and Human Actions Actions Ivan Laptev - - PowerPoint PPT Presentation

motion and human motion and human actions actions
SMART_READER_LITE
LIVE PREVIEW

Motion and Human Motion and Human Actions Actions Ivan Laptev - - PowerPoint PPT Presentation

Object recognition and computer vision 2009/2010 Lecture 11 December 15 Lecture 11, December 15 Motion and Human Motion and Human Actions Actions Ivan Laptev ivan.laptev@ens.fr Equipe projet WILLOW ENS/INRIA/CNRS UMR 8548 Equipe-projet


slide-1
SLIDE 1

Object recognition and computer vision 2009/2010 Lecture 11 December 15 Lecture 11, December 15

Motion and Human Motion and Human Actions Actions

Ivan Laptev

ivan.laptev@ens.fr Equipe projet WILLOW ENS/INRIA/CNRS UMR 8548 Equipe-projet WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire d’Informatique, Ecole Normale Supérieure, Paris

slide-2
SLIDE 2
slide-3
SLIDE 3

Computer vision grand challenge: Computer vision grand challenge: Vid d t di Vid d t di Video understanding Video understanding

person indoors house

  • utdoors
  • utdoors

car enter person countryside exit through

  • utdoors

Objects: cars, glasses, people, etc… Actions: drinking, running, door exit, car

drinking car person kidnapping person e te car car crash a door building

enter, etc… constraints

glass car person car street road field people

Scene categories: indoors, outdoors, t t Geometry: Street wall field

candle car car street street car

street scene, etc… Street, wall, field, stair, etc…

slide-4
SLIDE 4

Class overview Class overview Class overview Class overview

Motivation

Historic review Modern applications

Overview of methods Overview of methods

Role of image measurements, prior knowledge and data association

Methods I Methods II Methods III

Silhouette methods

FG/BG separation; Motion history images,

Optical Flow

general OF, parametric dense OF models,

 

Discriminative models

Boosted ST feature models, realistic action

y g Human interfaces

Deformable models

Active shape models, articulated models

Space-time methods

ST-OF models, ST

 

detection in movies

Local features

Detectors, descriptors,

p motion priors, particle filters, gesture recognition correlation, ST self- similarity, irregular behavior p matching, Bag of Features represen- tations, recognition

slide-5
SLIDE 5

Motivation I: Artistic Representation Motivation I: Artistic Representation Motivation I: Artistic Representation Motivation I: Artistic Representation

Early studies were motivated by human representations in Arts Da Vinci:

“it is indispensable for a painter, to become totally familiar with the anatomy of nerves, bones, muscles, and sinews, such that he understands for their various motions and stresses, which sinews or which muscle causes a particular motion” “I ask for the weight [pressure] of this man for every segment of motion when climbing those stairs, and for the weight he places on b and on c. Note the vertical line below the center of mass of this man.”

Leonardo da Vinci (1452–1519): A man going upstairs, or up a ladder.

slide-6
SLIDE 6

Motivation II: Biomechanics Motivation II: Biomechanics Motivation II: Biomechanics Motivation II: Biomechanics

The emergence of biomechanics Borelli applied to biology the   analytical and geometrical methods, developed by Galileo Galilei He was the first to understand that bones serve as levers and muscles function according to mathematical  principles His physiological studies included  muscle analysis and a mathematical discussion of movements, such as running or jumping

Giovanni Alfonso Borelli (1608–1679)

g j p g

slide-7
SLIDE 7

Motivation III: Study of motion Motivation III: Study of motion Motivation III: Study of motion Motivation III: Study of motion

Etienne-Jules Marey: (1830 1904) d (1830–1904) made Chronophotographic experiments influential for the emerging field of for the emerging field of cinematography Eadweard Muybridge (1830–1904) invented a machine for displaying the recorded series of

  • images. He pioneered

motion pictures and applied his technique to applied his technique to movement studies

slide-8
SLIDE 8

Motivation III: Study of motion Motivation III: Study of motion

Gunnar Johansson [1973] pioneered studies on the use of image 

Motivation III: Study of motion Motivation III: Study of motion

Gunnar Johansson [1973] pioneered studies on the use of image sequences for a programmed human motion analysis  “Moving Light Displays” (LED) enable identification of familiar people  g g p y ( ) p p and the gender and inspired many works in computer vision. Gunnar Johansson, Perception and Psychophysics, 1973

slide-9
SLIDE 9

Human actions: Historic review Human actions: Historic review Human actions: Historic review Human actions: Historic review

15th

15th century studies of anatomy

 17th century

emergence of biomechanics

19th century emergence of

emergence of cinematography 1973 t di f h studies of human motion perception Modern computer vision

slide-10
SLIDE 10

Modern applications Modern applications: Animation Animation Modern applications Modern applications: : Animation Animation

Motion Synthesis from Annotations Okan Arikan, David A. Forsyth, James O'Brien, SIGGRAPH 2003

slide-11
SLIDE 11

Modern applications Modern applications: Animation Animation Modern applications Modern applications: : Animation Animation

Motion Synthesis from Annotations Okan Arikan, David A. Forsyth, James O'Brien, SIGGRAPH 2003

slide-12
SLIDE 12

Modern applications: Modern applications: Video editing Video editing Modern applications: Modern applications: Video editing Video editing

Space-Time Video Completion

  • Y. Wexler, E. Shechtman and M. Irani, CVPR 2004
slide-13
SLIDE 13

Modern applications: Modern applications: Video editing Video editing Modern applications: Modern applications: Video editing Video editing

Space-Time Video Completion

  • Y. Wexler, E. Shechtman and M. Irani, CVPR 2004
slide-14
SLIDE 14

Modern applications: Modern applications: Video editing Video editing Modern applications: Modern applications: Video editing Video editing

Recognizing Action at a Distance Alexei A. Efros, Alexander C. Berg, Greg Mori, Jitendra Malik, ICCV 2003

slide-15
SLIDE 15

Modern applications: Modern applications: Video editing Video editing Modern applications: Modern applications: Video editing Video editing

Recognizing Action at a Distance Alexei A. Efros, Alexander C. Berg, Greg Mori, Jitendra Malik, ICCV 2003

slide-16
SLIDE 16

Applications: Human Applications: Human-Machine Interfaces Machine Interfaces Applications: Human Applications: Human-Machine Interfaces Machine Interfaces

http://vismod.media.mit.edu/vismod/demos/kidsroom/kidsroom.html

slide-17
SLIDE 17

Applications: Unusual Activity Detection Applications: Unusual Activity Detection Applications: Unusual Activity Detection Applications: Unusual Activity Detection

e.g. for surveillance e.g. for surveillance

Detecting Irregularities in I d i Vid Images and in Video Boimana & Irani, ICCV 2005

slide-18
SLIDE 18

Applications: Applications: Search & Indexing Search & Indexing

Video search 

pp pp g

Home videos: e.g. “My daughter climbing” TV & Web: e.g. “Fight in a parlament” Surveillance: suspicious behavior f f

 Video mining 

Useful for TV production, entertainment, social studies, security,

Auto scripting (video2text)  Video mining

e.g. Discover age-smoking-gender correlations now

 Auto-scripting (video2text)

JANE I need a father who's a role model, not some horny geek-boy who's gonna spray his shorts whenever I bring a

correlations now

  • vs. 20 years ago

girlfriend home from school. (snorts) What a lame-o. Somebody really should put him out of his misery.

slide-19
SLIDE 19

Applications: Video Annotation Applications: Video Annotation pp pp

for video search, for video search, indexing, indexing, etc… etc…

Learning realistic human actions from movies Laptev, Marszalek, Schmid and Rozenfeld, CVPR 2008

slide-20
SLIDE 20

How to recognize actions? How to recognize actions?

slide-21
SLIDE 21

Action understanding: Key components Action understanding: Key components Action understanding: Key components Action understanding: Key components

Image measurements Prior knowledge

Foreground segmentation Image

Image measurements Prior knowledge

Deformable contour models g Image gradient

Association

models Optical flow 2D/3D body models Local space- time features Automatic (Semi-) Manual Motion priors Background models Space-time templates

  

= result = training annotation SVM classifiers   

slide-22
SLIDE 22

Foreground regions segmentation Foreground regions segmentation g g g g g g

Image differencing: one of the simplest ways to measure motion/change

  • > C

Better Background (BG) / Foreground (FG) separation methods are available: Modeling of color variation at each pixel with Gaussian Mixture Models

(GMMs). Dominant motion estimation and compensation for sequences with moving camera

Motion layer separation for scenes with non-static backgrounds

slide-23
SLIDE 23

Foreground regions segmentation Foreground regions segmentation g g g g g g

+ Simple and fast

Pros:

+ Gives acceptable results under restricted conditions

Cons:

  • Often unreliable due to shadows, low image contrast, etc.
  • Requires background model => not well suited for scenes

Cons: Requires background model => not well suited for scenes with dynamic BG and/or motion parallax

slide-24
SLIDE 24

Temporal Templates of Temporal Templates of Bobick Bobick & Davis & Davis p p p p

Idea: summarize motion in video in a Motion History Image (MHI): The Recognition of Human Movement Using Temporal Templates Aaron F. Bobick and James W. Davis, PAMI 2001

slide-25
SLIDE 25

Temporal Templates of Temporal Templates of Bobick Bobick & Davis & Davis p p p p

Compute MHI for each action  sequence Describe each sequence with the t l ti d l i i t  translation and scale invariant vector of 7 Hu moments Nearest Neighbor action l ifi ti ith M h l bi  classification with Mahalanobis distance between training and test descriptors d.

slide-26
SLIDE 26

Aerobics Dataset e ob cs se

slide-27
SLIDE 27

Temporal Templates: Summary Temporal Templates: Summary p p y p p y

Pros:

+ Simple + Fast

  • Assumes static camera static background

Cons: Assumes static camera, static background

  • Sensitive to segmentation errors
  • Silhouettes do not capture interior motion/shape
  • Silhouettes do not capture interior motion/shape

Possible improvements: Not all shapes are valid Restrict the space of admissible shapes to overcome segmentation errors 

slide-28
SLIDE 28

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al. p

Point Distribution Model Represent the shape of samples by a set  Represent the shape of samples by a set

  • f corresponding points or landmarks

 Assume each shape can be represented by the linear combination of basis shapes  by the linear combination of basis shapes such that for mean shape and some parameters

slide-29
SLIDE 29

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al. p

Basis shapes can be found as the main modes of variation of in the training data  in the training data. 2D Example: 2D Example:

(each point can be thought as a shape in N-Dim p space)

Principle Component Analysis (PCA): Covariance matrix Eigenvectors eigenvalues

slide-30
SLIDE 30

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al. p

Back project from shape space to image space  Back-project from shape-space to image space  Three main modes of lips-shape variation: Distribution of eigenvalues: A small fraction of basis A small fraction of basis shapes (eigenvecors) accounts for the most of shape variation (=> landmarks are variation (=> landmarks are redundant)

slide-31
SLIDE 31

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al. p

is orthonormal basis therefore  is orthonormal basis, therefore  Given estimate of we can recover shape parameters Projection onto the shape-space serves as a regularization  Projection onto the shape space serves as a regularization

slide-32
SLIDE 32

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al.

How to use Active Shape Models for shape estimation?

p

Given initial guess of model points estimate new positions using local image search, e.g. locate the closest edge point  Re-estimate shape parameters  Re-estimate shape parameters 

slide-33
SLIDE 33

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al.

To handle translation, scale and rotation, it is useful to normalize 

p

, , prior to shape estimation: using similarity transformation A simple way to estimate is to assign and to the iti d th t d d d i ti f i t i mean position and the standard deviation of points in respectively and set . For more sophisticated normalization techniques see: Note: model parameters have to be computed using http://www.isbe.man.ac.uk/~bim/Models/app_model.ps.gz normalized image point coordinates

slide-34
SLIDE 34

Active Shape Models of Active Shape Models of Cootes Cootes et al. et al. p

Iterative ASM alignment algorithm  1 I iti li ith th bl f d 1. Initialize with the reasonable guess of and 2. Estimate from image measurements 3. Re-estimate Example: face alignment Illustration of face shape space 4. Unless converged, repeat from step 2 Example: face alignment Illustration of face shape space Active Shape Models: Their Training and Application T.F. Cootes, C.J. Taylor, D.H. Cooper, and J. Graham, CVIU 1995

slide-35
SLIDE 35

Active Shape Model tracking Active Shape Model tracking p g p g

Aim: to track ASM of time-varying shapes, e.g. human silhouettes  Impose time-continuity constraint on model parameters. For example, for shape parameters :

Gaussian noise

For similarity transformation Update model parameters at each time frame using e.g. More complex dynamical models possible  Kalman filter

slide-36
SLIDE 36

Person Tracking Person Tracking

Learning flexible models from image sequences

  • A. Baumberg and D. Hogg, ECCV 1994
slide-37
SLIDE 37

Person Tracking Person Tracking

Learning flexible models from image sequences

  • A. Baumberg and D. Hogg, ECCV 1994
slide-38
SLIDE 38

Active Shape Models: Summary Active Shape Models: Summary p y p y

Pros:

+ Shape prior helps overcoming segmentation errors + Fast optimization

Fast optimization

+ Can handle interior/exterior dynamics

  • Optimization gets trapped in local minima

Cons:

  • Re-initialization is problematic

Possible improvements: Learn and apply specific motion priors for different actions 

slide-39
SLIDE 39

Motion priors Motion priors p

Accurate motion models can be used both to:  Help accurate tracking Recognize actions Goal: formulate motion models for different types of actions and use such models for action recognition g  and use such models for action recognition Example: line drawing Drawing with 3 action modes line drawing scribbling idl idle From M. Isard and A. Blake, ICCV 1998

slide-40
SLIDE 40

Incorporating motion priors Incorporating motion priors Incorporating motion priors Incorporating motion priors

Image measurements Data Association Prior knowledge

Foreground

Image measurements Data Association Prior knowledge

Foreground segmentation Image gradient Learning motion models for different actions Particle filters

  

different actions Optical Flow

slide-41
SLIDE 41

Bayesian Tracking Bayesian Tracking Bayesian Tracking Bayesian Tracking

General framework: recognition by synthesis; generati e models generative models; finding best explanation of the data N t ti Notation: image data at time model parameters at time (e.g. shape and its dynamics)

  • de pa a

e e s a e (e g s ape a d s dy a cs) prior density for likelihood of data for the given model configuration We search posterior defined by the Bayes’ rule For tracking the Markov assumption gives the prior Temporal update rule:

slide-42
SLIDE 42

Kalman Kalman Filtering Filtering Kalman Kalman Filtering Filtering

If all probability densities are uni-modal, specifically Gussians, the posterior can be evaluated in the closed form the posterior can be evaluated in the closed form

slide-43
SLIDE 43

Particle Filtering Particle Filtering Particle Filtering Particle Filtering

In reality probability densities are almost always multi-modal

slide-44
SLIDE 44

Particle Filtering Particle Filtering Particle Filtering Particle Filtering

In reality probability densities are almost always multi-modal Approximate distributions with weighted particles

slide-45
SLIDE 45

Particle Filtering Particle Filtering Particle Filtering Particle Filtering

T ki l Tracking examples: describes leave shape describes head shape p p CONDENSATION - conditional density propagation for visual tracking

  • A. Blake and M. Isard IJCV 1998
slide-46
SLIDE 46

Learning dynamic prior Learning dynamic prior Learning dynamic prior Learning dynamic prior

Dynamic model: 2nd order Auto-Regressive Process  State U d t l Update rule: Model parameters: p Learning scheme:

slide-47
SLIDE 47

Learning dynamic prior Learning dynamic prior Learning dynamic prior Learning dynamic prior

Learning point sequence Random simulation of the learned dynamical model Statistical models of visual shape and motion

  • A. Blake, B. Bascle, M. Isard and J. MacCormick, Phil.Trans.R.Soc. 1998
slide-48
SLIDE 48

Learning dynamic prior Learning dynamic prior Learning dynamic prior Learning dynamic prior

Random simulation of the learned gate dynamics

slide-49
SLIDE 49

Dynamics with discrete states Dynamics with discrete states Dynamics with discrete states Dynamics with discrete states

Introduce “mixed” state Continuous state Introduce mixed state Continuous state space (as before) Discrete variable identifying dynamical model Transition probability matrix

  • r more generally

Incorporation of the mixed-state model into a particle filter is straightforward simply use instead of and the straightforward, simply use instead of and the corresponding update rules

slide-50
SLIDE 50

Dynamics with discrete states Dynamics with discrete states Dynamics with discrete states Dynamics with discrete states

Example: Drawing Example: Drawing

line idle line scribbling

Transition

idle scribbling

Transition probability matrix Result: simultaneously improved tracking and line drawing gesture recognition scribbling idle A mixed-state Condensation tracker with automatic model-switching

  • M. Isard and A. Blake, ICCV 1998
slide-51
SLIDE 51

Dynamics with discrete states Dynamics with discrete states Dynamics with discrete states Dynamics with discrete states

Similar illustrated on gesture recognition in the context of a visual black-board interface black board interface A probabilistic framework for matching temporal trajectories: A probabilistic framework for matching temporal trajectories: CONDENSATION-based recognition of gestures and expressions M.J. Black and A.D. Jepson, ECCV 1998

slide-52
SLIDE 52

So far So far So far… So far…

D t A i ti

Foreground

Image measurements Data Association Prior knowledge

Background models g segmentation Deformable shape Temporal templates Particle filters Hu moments and Fourier descriptors NN classifiers Image edges p models Motion priors Fourier descriptors