Moving Object Detection by a Mounted Moving Camera

Sincan O. M., Ajabshir V. B., Keles H., TOSUN S.

International Conference on Computer as a Tool (EUROCON), IEEE, Salamanca, Mexico, 8 - 11 September 2015, pp.334-339 identifier identifier

  • Publication Type: Conference Paper / Full Text
  • Doi Number: 10.1109/eurocon.2015.7313714
  • City: Salamanca
  • Country: Mexico
  • Page Numbers: pp.334-339
  • Hacettepe University Affiliated: Yes


Accurate moving object detection is one of the most important topic for surveillance systems. Background subtraction works well for videos acquired by stationary mounted camera. However, it does not work for mounted moving cameras since the background objects also move in two consecutive frames. In this paper, we propose an optical flow based moving object detection algorithm for video sequences obtained by a mounted moving camera. Our algorithm first finds the interest points in the consecutive video frames and then tracks them with pyramidal Lucas-Kanade method. After matching interest points in two frames, it generates optical flow vectors. We assume that the majority of the optical flow vectors are based on camera motion. Our algorithm determines the camera motion vector by averaging these vectors. It then crops frames for removing camera motion to determine overlapping areas of two frames. Finally, we calculate the frame differences to detect moving objects. We tested our algorithm on several video frames and observed that our algorithm determines moving objects with a very high accuracy.