Vol 13, No 1 (2009) > Articles >

Implementation of Web Cam as Motion Detector with DirectShow Interfacing

Yonatan Santoso 1 , Iwan Setiyawan 1 , Victor Papilaya 1


  1. Fakultas Teknik Elektro dan Komputer, Universitas Kristen Satya Wacana, Salatiga 50711, Indonesia



One of many ways to take control a web cam is by using DirectShow which is integrated in DirectX. DirectShow acts like an API therefore it is easier to use. Afterwards, web cam will be implemented to detect object’s motion as well as camera surveillance. The method is by comparing a reference image with other image which is taken lately. If there are differences between those image it means motion has been detected.

Keywords: motion detection, surveillance camera
Published at: Vol 13, No 1 (2009) pages: 15-18

Access Counter: 2364 views, 1 Untitled downloads, 1919 PDF downloads, .

Full PDF Download


G. Watson, Webcam Motion Detection: Using the BitmapData API in Flash 8, Adobe Developer Connection,

www.adobe.com/devnet/flash/articles/webcam_motion.html, 2005.

M.D. Pesce, Programming Microsoft®DirectShow® for Digital Video, Microsoft Press, Washington, 2003, p.29

E. Rudolph, How To Get Data from a Microsoft DirectShow Filter Graph, MSDN, http://msdn.microsoft.com/enus/windows/bb190313.aspx, 2003.

H.R. Myler, A.R. Weeks, The Pocket Handbook of Image Processing Algorithms, Prentice Hall,

California, 1993, p.120.

C. Grauss, Image Processing For Dummies With C# and GDI+ Part 1 - 3, The Code Project, http://www.codeproject.com/KB/GDIplus/csharpgraphicfilters11.aspx, 2002.

A. K. Jain, Fundamentals of Digital Image Processing, Prentice Hall International, California, 1989, p.246.

Y. Amit, 2D Object Detection and Recognition, Massachusetts Institute of Technology, Massachusetts, 2002, p.18.