overview
play

Overview Introduction Object Tracking Vehicle Tracking Theory - PowerPoint PPT Presentation

Overview Introduction Object Tracking Vehicle Tracking Theory & Implementation Segmentation Tracking Results Q & A Introduction Object Tracking Object Tracking Object representation Feature


  1. Overview � Introduction � Object Tracking � Vehicle Tracking � Theory & Implementation � Segmentation � Tracking � Results � Q & A

  2. Introduction – Object Tracking � Object Tracking � Object representation � Feature Selection � Object Detection � Tracking

  3. Introduction – Object Tracking � Object Representation

  4. Introduction – Object Tracking � Feature Selection for Tracking � Colour � Edges � Optical Flow � Texture

  5. Introduction – Object Tracking � Object Detection Moravec’s Detector Point detectors Harris Detector Scale Invariant Feature Transform Affine Invariant Point Detector Segmentation Mean-Shift Graph-Cut Active Contours Mixture of Gaussians Background Modeling Eigenbackground Wall Flower Dynamic Texture Background Supervised Classifiers Support Vector Machines Neural Networks Adaptive Boosting

  6. Introduction – Object Tracking � Tracking � Point Tracking (a) � Kernel Tracking (b) � Silhouette Tracking (c) & (d)

  7. Introduction – Object Tracking � Tracking Challenges � Correspondence � Occlusion

  8. Introduction – Vehicle Tracking Vehicle Tracking � Motivation � Traffic information � Reduce urban transportation industry costs � Future: Develop “intelligent” transportation system � Surveillance (I’d rather not mention) � Public Sector � Private Sector

  9. Introduction – Vehicle Tracking � Object � Track vehicles on a highway � Count them � Implementation � Real-time � OpenCV & C++

  10. Theory Overview � Segmentation � Noise removal (minimization) � Background subtraction � Contour isolation � Rectangle fitting � Tracking � Correspondence � Adding & removing vehicles � Persistence � Prediction

  11. Theory – Segmentation Noise minimization � Gaussian Blur � Linear Convolution Filter

  12. Theory – Segmentation � Convolution where A (and G) is the kernel and I is the image � Gaussian Kernel is Separable

  13. Theory – Segmentation � Gaussian Kernel is Separable

  14. Theory – Segmentation Background Subtraction � KaewTraKulPong, P. and Bowden, R. (2001). “An Improved Adaptive Background Mixture Model for Real-time Tracking with Shadow Detection” � OpenCV implementation (without shadow detection)

  15. Theory – Segmentation Background Subtraction (continued) � Adaptive Gaussian Mixture Model Each pixel is modelled by a mixture of K Gaussian � distributions BG Pixel <= T stdev � FG Pixel > T stdev � where T is the threshold

  16. Theory – Segmentation Background Subtraction (continued) � Online Expectation-Maximization (EM) Iterative parameter estimation � Benefits � Mathematica demonstration �

  17. Theory – Segmentation � Finding Outside Contours � Find Enclosed box � Classification (simple for vehicles) � Keep boxes with size > Threshold (prevents noise from being detected as a car)

  18. Theory – Vehicle Tracking � Correspondence � Compare each new segmented object to each tracked object with the distance cost function: = − + − i i i 2 i i 2 d ( a b ) ( a b ) x x y y i i where a is the new object and b is the tracked object � Add each comparison that is less than T to a list � Order list (lowest cost first) � Match first and remove all match with i i a and b

  19. Theory – Vehicle Tracking � Adding Vehicles � Mark all detected unmatched vehicles as potential � If found in next g frames then add � Subtracting Vehicles [ ] g h ∈ , 1,2,...,10 � All vehicles not found in h � Persistence � Object not found within h then not updated but still considered tracked � Occlusion

  20. Theory – Vehicle Tracking Prediction � Kalman Filter � Estimates a system’s state (optimal) � Maximizes a posteriori probability � Assumptions: � system’s dynamics are linear � noise is additive, white, and Gaussian

  21. Theory – Vehicle Tracking Kalman Filter (continued) � Current state vector x k � F : transfer matrix � B : relates the controls to x k � u k : control vector � w k : the process noise vector � noise in state of the system. � w k : random variable N(0; Q k ).

  22. Theory – Vehicle Tracking Kalman Filter (continued) � Measurement states z k � H k : relates x k to z k � v k : measurement noise � random variable with N(0; R k ).

  23. Theory – Vehicle Tracking Kalman Filter (continued) � Predict � P k : error covariance

  24. Theory – Vehicle Tracking Kalman Filter (continued) � Update � K k : Kalman gain � weight to assign to new information

  25. Theory – Vehicle Tracking Kalman Filter Implementation Details ⎡ ⎤ ⎡ ⎤ x 1 0 d t 0 ⎢ ⎥ ⎢ ⎥ y 0 1 0 d t ⎢ ⎥ ⎢ ⎥ = = x , F ⎢ ⎥ ⎢ ⎥ v 0 0 1 0 x ⎢ ⎥ ⎢ ⎥ v ⎣ ⎦ ⎣ ⎦ 0 0 0 1 y ⎡ ⎤ 1 0 ⎢ ⎥ ⎡ ⎤ z 0 1 ⎢ ⎥ = = x ⎢ ⎥ z , H ⎢ ⎥ z ⎣ ⎦ 0 0 y ⎢ ⎥ ⎣ ⎦ 0 0

  26. Results

  27. Questions and Discussion

Recommend


More recommend