Presentation is loading. Please wait.

Presentation is loading. Please wait.

Object Detection with Discriminatively Trained Part Based Models

Similar presentations


Presentation on theme: "Object Detection with Discriminatively Trained Part Based Models"— Presentation transcript:

1 Object Detection with Discriminatively Trained Part Based Models
Pedro F. Felzenszwalb, Ross B. Girshick, David McAllester and Deva Ramanan IEEE Trans. Pattern Analysis and Machine Intelligence, vol. 32, no. 9, pp , September 2010

2 Overview Motivation Introduction Proposed Method Experiment Result
Deformable Part Models Latent SVM Training Models Experiment Result Conclusion

3 Motivation Object category detection:
Detect all objects with the same category in an image For example horse detection:

4 Motivation Objects in rich categories exhibit significant variability
Viewpoint variation Intra-class variability bicycles of different types (e.g., mountain bikes, tandems...) People wear different clothes and take different poses

5 Introduction Part Model Mixture Model Histogram of Gradient
Feature Pyramid Support Vector Machine

6 Part Model Definition: Displacement :
Root : Catch Roughly appearance of object Part : Catch local appearance of object Spring : spatial connections between parts Displacement : Using minimizing energy function to find the optimal displacement [1] Pictorial Structures for Object Recognition, Daniel P. Huttenlocher,1973

7 Mixture Model We build a Mixture Model which include different components of the same class

8 Mixture Model Component 1 Component 2

9 Histogram of Gradient Step: 1.Compute gradient every pixel
2.Group 8*8 pixels into a cell, and 4*4 cells into a block. Build histogram of each cells about 9 orientation bins (00~1800)

10 Histogram of Gradient Step:
3.A block contain 4*9 feature vector for local information, and a bounding box which contain n’s blocks has n*4*9 feature vector 4.Training by SVM

11 Feature Pyramid Develop a representation to decompose images into multiple scales by smoothing and subsampling to extract features of interest and avoid noise Test image Human model

12 Feature Pyramid Subsampling and smoothing: Gaussian pyramid

13 Support Vector Machine
Build a hyper plane separate positive examples from negative In this case, we want the score is positive when human exist in the bounding box

14 Proposed Method Deformable Part Models Latent SVM Training Models
Build Models Matching Mixture Models Latent SVM Training Models

15 Deformable Part Models
Build a model for an object with n parts : root filters coarse resolution part filters finer resolution deformation models real-valued bias term root filter a model for the i-th part (Fi, vi, di) coefficients of a quadratic function a filter for the i-th part for part i relative to the root position

16 Deformable Part Models
Object hypothesis: p0 : location of root p1,..., pn : location of parts

17 Deformable Part Models
Part filters are placed at twice the spatial resolution of the placement of the root z specifies the location of each filter in feature pyramid Pi specifies the level and position of the ith filter

18 Deformable Part Models
Score of hypothesis= sum of filter score - deformation cost displacements filters deformation parameters feature map

19 Deformable Part Models
Rewrite the equation:

20 Deformable Part Models
Given a root position find the best placement of parts: Using sliding window approach, high score of root score define detections

21 Matching process

22 Matching Response of filter in l-th pyramid level
Transformed response: finding best part displacement relate to root

23 Matching Overall root scores :

24 Mixture Models A mixture model with m components 1<=c<=m

25 Mixture Models Detect objects using a mixture model, we use matching algorithm to find root positions independently for each component

26 Latent SVM(LSVM) Classifiers that score an example x (bounding box):
β are model parameters, z are latent values We want fB(x)>0 when positive fB(x)<0 when negative

27 Latent SVM(LSVM) Minimize : Hinge loss

28 Latent SVM(LSVM) Semi-convex:
is convex for negative examples for positive examples, convex if latent values fixed Solution fixed latent values by coordinate decent:

29 Training Models We initial k component with a specific class, sort the bounding boxes by aspect ratio and intraclass variation then split into k group Initial root filters and use coordinate decent to update Initial part filters by greedily place parts to cover high energy regions of the root filter Training by SVM

30 Experiment Result PASCAL VOC 2006,2007,2008 comp3 challenge datasets
Some statistics: It takes 2 seconds to evaluate a model in one image (4952 images in the test dataset) It takes 4 hours to train a model MUCH faster than most systems. All of the experiments were done on a 2.8Ghz 8-core Intel Xeon Mac Pro computer running Mac OS X 10.5.

31 Experiment Result Measurement: predicted bounding box is correct if it overlaps more than 50 percent with ground truth bounding box; otherwise, considered false positive

32 Experiment Result

33 Experiment Result

34 Experiment Result Best Average Precision score in 9 out of 20, second in 8

35 Experiment Result

36 Conclusion Deformable Part Model
Fast matching algorithm handle Viewpoint variation, and Intra-class variability problems Still have some problem need to solve: Fixed box size Fixed number of components Future Work Build grammar based models that represent objects with variable hierarchical structures Sharing part models between components


Download ppt "Object Detection with Discriminatively Trained Part Based Models"

Similar presentations


Ads by Google