Histogram of Oriented Gradients for Human...

18
Histogram of Oriented Gradients for Human Detection Navneet Dalal and Bill Triggs (presented by Lupeng and Yuduo)

Transcript of Histogram of Oriented Gradients for Human...

Page 1: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Histogram of Oriented Gradients for Human Detection

Navneet Dalal and Bill Triggs(presented by Lupeng and Yuduo)

Page 2: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Introduction

Appearance / ClothingBackgroundIlluminationScalesPoses...

Page 3: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Objective: Feature sets for robust visual object recognition used in detecting human in images

Method: Linear SVM as classifier based human detection grids of Histograms of Oriented Gradient (HOG) descriptors

Introduction

Page 4: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Descriptor Processing ChainPerson / non-person Input Image

Normalize gamma & colour

Weighted vote into spatial & orientation cells

Contrast normalize over overlapping spatial blocks

Collect HOG’s over detection window

Linear SVM

Person / non-person classification Navneet Dalal and Bill Triggs

Compute gradients

Page 5: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Descriptor Processing Chain

Tested with - RGB- LAB (three axis color system)- Grayscale

Gamma Compression- Square root- Logarithm

Person / non-person Input Image

Normalize gamma & colour

Weighted vote into spatial & orientation cells

Contrast normalize over overlapping spatial blocks

Collect HOG’s over detection window

Linear SVM

Person / non-person classification Navneet Dalal and Bill Triggs

Compute gradients

Page 6: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Descriptor Processing ChainPerson / non-person Input Image

Normalize gamma & colour

Weighted vote into spatial & orientation cells

Contrast normalize over overlapping spatial blocks

Collect HOG’s over detection window

Linear SVM

Person / non-person classification Navneet Dalal and Bill Triggs

Compute gradients

Page 7: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Descriptor Processing ChainPerson / non-person Input Image

Normalize gamma & colour

Weighted vote into spatial & orientation cells

Contrast normalize over overlapping spatial blocks

Collect HOG’s over detection window

Linear SVM

Person / non-person classification Navneet Dalal and Bill Triggs

Compute gradients

Page 8: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Descriptor Processing ChainPerson / non-person Input Image

Normalize gamma & colour

Weighted vote into spatial & orientation cells

Contrast normalize over overlapping spatial blocks

Collect HOG’s over detection window

Linear SVM

Person / non-person classification Navneet Dalal and Bill Triggs

Compute gradients

Page 9: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Data Sets

- MIT Pedestrian Database:509 training and 200 test imagesFront and back views with limited poses

- INRIA:1805 imagesNo particular bias on poses Navneet Dalal and Bill Triggs

Page 10: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Methodology- selected 2478 images as positive training set- randomly sampled 12080 person-free - negative - retraining using 12080 + “hard examples”

From wikipedia

retraining

Page 11: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Results

Navneet Dalal and Bill Triggs

Page 12: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Implementation

Page 13: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Implementation

Page 14: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Implementation

Page 15: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Performance Analysis 1. fine-scale gradients2. fine orientation binning3. relatively coarse spatial binning4. high-quality local contrast normalization in

overlapping descriptor blocks

Page 16: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Conclusion- Locally Normalized HOG Orientation Features

- good results for person detection- significantly reduce false positive rate

- Influence of Descriptor Parameters- gradients- orientation / spatial binning- local contrast normalization in descriptor blocks

- More Challenging Pedestrian Database- publicly available

Page 17: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Future Work

- Optimize speed for efficiency

- Incorporate motion information

- Include parts-based model for performance

Page 18: Histogram of Oriented Gradients for Human Detectionweb.cs.ucdavis.edu/~yjlee/teaching/ecs289h-fall2014/... · 2014. 10. 16. · Histogram of Oriented Gradients for Human Detection

Q & AThank you!