robust nighttime vehicle detection by tracking and grouping headlights qi zou, haibin ling, siwei...

50
Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Upload: joshua-melton

Post on 06-Jan-2018

231 views

Category:

Documents


0 download

DESCRIPTION

Outline INTRODUCTION RELATED WORKS OFFLINE PROCESS ONLINE PROCESS EXPERIMENT CONCLUSION

TRANSCRIPT

Page 1: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Robust Nighttime Vehicle Detection by Tracking

and Grouping HeadlightsQi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Page 2: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Outline• INTRODUCTION• RELATED WORKS• OFFLINE PROCESS• ONLINE PROCESS• EXPERIMENT• CONCLUSION

Page 3: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Outline• INTRODUCTION• RELATED WORKS• OFFLINE PROCESS• ONLINE PROCESS• EXPERIMENT• CONCLUSION

Page 4: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

INTRODUCTION

vehicle counting and velocity estimation traffic behavior analysis and prediction

Reflections?

Page 5: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

INTRODUCTION

Maximal Weighted Independent Set

Page 6: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Outline• INTRODUCTION• RELATED WORKS• OFFLINE PROCESS• ONLINE PROCESS• EXPERIMENT• CONCLUSION

Page 7: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

RELATED WORKS• Headlight Detection Methods• Rule-based methods• Huang et al. [2] : block-based contrast• Chen et al. [8] : width-height-ratios and areas

• Physical-model-based methods• Zhang et al. [10] : light attenuation law

• Machine learning techniques• AdaBoost

[2] K. Huang, L.Wang, T. Tan, and S.Maybank, “A real-time object detectingand tracking system for outdoor night surveillance,” Pattern Recognit.,vol. 41, no. 1, pp. 432–444, Jan. 2008.

[8] Y.-L. Chen, B.-F. Wu, H.-Y. Huang, and C.-J. Fan, “A real-time visionsystem for nighttime vehicle detection and traffic surveillance,” IEEETrans. Ind. Electron., vol. 58, no. 5, pp. 2030–2044, May 2011.

[10] W. Zhang, Q. M. J. Wu, G. Wang, and X. You, “Tracking and pairingvehicle headlight in night scenes,” IEEE Trans. Intell. Transp. Syst.,vol. 13, no. 1, pp. 140–153, Mar. 2012.

Page 8: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

RELATED WORKS• Headlight Pairing Methods• Motion based pairing• Chen et al. [8]

• Vanishing points + Bidirectional reasoning• Zhang et al. [10]

• Graphical model

Page 9: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 10: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Learning Headlight Detector• AdaBoost+Haar object detection framework [20]• Discriminates headlights from non-headlights• 180 dimensional feature vector • 5 types of Haar features at 4 scales and 9 positions on a patch

• Contrast patterns between center and periphery

[20] P. Viola and M. J. Jones, “Robust real-time face detection,” Int. J. Comp.Vis., vol. 57, no. 2, pp. 137–154, May 2004.

Page 11: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 12: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Learning Geometric Model• Perspective projection of the 3D world onto a 2D plane• Between-headlight distance is large when they are close to the

camera• OXYZ is camera-centered• Two headlights of the same vehicle are (, , ) and (, , ) • Their projected image coordinates are (, ) and (, )

Page 13: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Learning Geometric Model

• The two headlights of a vehicle are at the same height as well as the same vertical distances H from the camerai.e. Y1 ≈ Y2 = H, so y1 ≈ y2 = y

Δx and y are linear

Page 14: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 15: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Detection• ROI : a region of interest• Reduce the disturbances from street lamps and environments• Automatic ROI detection is feasible using offline learning

In this paper, however, we skip this part and focus on robust headlight pairing and tracking

Page 16: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Detection• First step :• Get all possible headlight candidates1. Extract bright blobs from ROIs by thresholding the luminance2. Some postprocessing by morphological operations is performed

to remove noises• Second step :• Classify the extracted bright blobs as headlights or not [20]

Page 17: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 18: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking• An image sequence : {}• The headlight candidates detected in frame : {}• Each headlight feature vector : {, , , }

• To cope with false detections and missing objects, for each headlight we add a dummy element into the association affinity matrix

position area shape(ratios)

Page 19: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking• FindΠ={} ϵ to maximize certain energy function :

Page 20: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking

• The prediction is based on either a constant velocity model or a constant acceleration model• If velocity is unavailable such as in the first two frames or when new

objects enter the scene, we predict positions using a velocity prior that is learned from training data

Page 21: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking

• The optimization in (6) can be solved by the Hungarian algorithm [22]• However, in a congested traffic or high-speed situation, ambiguity in

association increases greatly

Page 22: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 23: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking

assignment

Page 24: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking large γ is used for vehicles with large velocity change

Page 25: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking by Context-Based MultipleObject Tracking• Context based association (CA)• Association without context (NoCA)• Association by overlapping area based tracking

(OAA, the tracking strategy used in [8])

Page 26: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

cannot be matched in ↓

Keep constant velocity↓

Die out if larger than a threshold

cannot be matched↓

Start new trajectories

Page 27: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 28: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set

Page 29: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set

Page 30: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set• The set of headlights ={}• Candidate pairs =(, ), , Є = {}• G = {V, E, W}• V= • E= {}

M subsets with connecting only conflicting pairsi.e. a conflict subset with respect to • W={:(i,j) ЄV}

Page 31: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set

small λ is used when headlight size is less reliable

Page 32: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set

• Greedy Randomized Adaptive Search Procedure (GRASP) [23]

vertex packing

Page 33: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set• Since our assumption that a pair of headlights form a vehicle, it does

not account for vehicles which possess four headlights• We groups two pairs into one pair if these two pairs are well aligned

and the distance between them is smaller than the length of a vehicle

Page 34: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Pairing by Maximum Weighted Independent Set

Page 35: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

About 5 iterations

Page 36: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Outline• INTRODUCTION• RELATED WORKS• OFFLINE PROCESS• ONLINE PROCESS• EXPERIMENT• CONCLUSION

Page 37: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

EXPERIMENT• Five videos :• a congested highway (Seq.1)• an urban traffic scene (Seq.2)• a busy street (Seq.3a:without rain; Seq.3b:rain)• a bridge traffic in a rainy night (Seq.4)• another rain night traffic (Seq.5)

Page 38: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

EXPERIMENT• Measurement :• Jaccard coefficient :

• CLEAR metrics :• Miss Rate (MR)• False Positive Rate (FPR)• Mismatch Rate (MMR)

Page 39: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Detection

Reflection Intensity Maps

[8] [10]

Page 40: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Detection

Page 41: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Headlight Tracking and Pairing

Page 42: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

[8]

[2]

allows unpaired single headlights(motorbikes)

local contrast

Page 43: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 44: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 45: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 46: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 47: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian
Page 48: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Outline• INTRODUCTION• RELATED WORKS• OFFLINE PROCESS• ONLINE PROCESS• EXPERIMENT• CONCLUSION

Page 49: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

CONCLUSION• We proposed a nighttime traffic tracking system :

• The main contribution of the proposed system lies in its learning-based detection

Page 50: Robust Nighttime Vehicle Detection by Tracking and Grouping Headlights Qi Zou, Haibin Ling, Siwei Luo, Yaping Huang, and Mei Tian

Thanks for listening!