Lucas Kanade Optical Flow
Lucas Kanade Optical Flow
Abstract: This paper presents a novel velocity estimation method for ground vehicles. The task here is to automatically estimate
vehicle speed from video sequences acquired with a fixed mounted camera. The vehicle motion is detected and tracked along the
frames using Lucas-Kanade algorithm. The distance traveled by the vehicle is calculated using the movement of the centroid over the
frames and the speed of the vehicle is estimated. The average speed of cars is determined from various frames. The application is
developed using MATLAB and SIMULINK.
Video Sequence
Scenes
www.ijcat.com 32
International Journal of Computer Applications Technology and Research
Volume 2– Issue 1, 32-36, 2013, ISSN: 2319–8656
www.ijcat.com 33
International Journal of Computer Applications Technology and Research
Volume 2– Issue 1, 32-36, 2013, ISSN: 2319–8656
Fig 4.1: Original Video The experiment was repeated for multiple videos and 8
cars and the result is tabulated. Below are the output results in
the form of Speeds and motion vectors of cars.[9]
cars 5 6 7 8
cars 5 6 7 8
Motion 0.3671 0.3672 0.3753 0.3798
vector
www.ijcat.com 35
International Journal of Computer Applications Technology and Research
Volume 2– Issue 1, 32-36, 2013, ISSN: 2319–8656
9. He, Z., Liu, Y., Yu, H., and Ye, X., E.F. ( 2008 ),
“Optimized algorithms for traffic information collecting in
an embedded system”, Proc. Congress on Image and
Signal Processing, Vol. 4, pp. 220-223.
Fig 5: Vehicle Trajectory using Lucas- 12. Savan Chhaniyara, Pished Bunnun, Lakmal D.
Seneviratne and Kaspar Althoefer, E.F.( MARCH 2008),
Kanade algorithm
“Optical Flow Algorithm for Velocity Estimation of
Ground Vehicles: A Feasibility Study”, International
Journal on smart sensing and intelligent systems, VOL. 1,
6 REFERENCES PP. 1.
1. Y. Wang, J.Ostermann, Y.O.Zhang, E.F. (1995), “Video
Processing and Communications”, Prentice Hall. 13. J.L. Barron, D.J. Fleet, S.S.Beauchemin, T.A. Burkitt,
E.F. (1992), “Performance of Optical Flow Techniques”,
2. Mehrubeoglu, M. and McLauchlan, L., E.F. ( 2006 ), Computer Society Conference on Computer Vision and
“Determination of traffic intensity from camera images Pattern Recognition, pp. 236-242.
using image processing and pattern recognition
techniques”, Proc. SPIE-IS&T Electronic Imaging, SPIE 14. A. M Tekalp, E.F(1995), “Digital Video Processing
Vol. 6063, 60630Q-1 -60630Q-12. Englewood Cliffs”, NJ: Prentice-Hall.
3. An, X., Qin, X. and Bao, H., E.F.( 2006 ), “Automatic and
robust classification of independent motions in video
sequences”, Proc. SPIE-IS&T Electronic Imaging, Vision
Geometry XIV, SPIE 6066, 60660B-1 – 60660B-8.
8. Li, Y., Yin, L., Jia, Y., and Wang, M., E.F.( 2008 ),
“Vehicle speed measurement based on video images”,
Proc. 3rd International Conf. Innovative Computing
Information and Control, pp.439-442.
www.ijcat.com 36