File Exchange

image thumbnail

Intruder Detection and Recording

version (14.8 KB) by David Leffingwell
Intruder detection and recording with live video and audio display.


Updated 01 Sep 2016

View Version History

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This Intruder Detection example shows how the Image Acquisition and Data Acquisition Toolboxes can be used together.
This program displays live video and audio data acquired from a web cam and sound card. Whenever certain motion or sound thresholds are exceeded, an alarm will sound while the video and audio data are recorded to disk for 10 seconds.

Cite As

David Leffingwell (2021). Intruder Detection and Recording (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (13)

jing zhang

christopher domingo

can someone explain to me how to configure the rest of the codes please

Kemal Ça?r?




hey, it is nice application. however i have one query. i was using this code to detect motion using 1.3 MP camera... now i am using 5.0 MP camera i found some errors like size exceeded in command window of Matlab. Could you please let me know is it due to less RAM (512 MB) or camera hardware.. Could you please guide me for same. thanks in advance!!!


cool nice great !!

syamsul adly


Nikolay K

dharm khoker

Tahir Ahmad Talpur

extremely useful

zak gketsis

Really great!

Stéphane Cardin

thank you!

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: IMAQMOTION - Image acquisition motion detection

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!