Intruder Detection and Recording

Intruder detection and recording with live video and audio display.

You are now following this Submission

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 (2026). Intruder Detection and Recording (https://uk.mathworks.com/matlabcentral/fileexchange/15272-intruder-detection-and-recording), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: IMAQMOTION - Image acquisition motion detection

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.1

Updated license

1.2.0.0

Generated the alarm.wav file using MATLAB's wavwrite command.

1.0.0.0

Shorten the length of the audible alarm so that it doesn't trigger a new alarm in some cases.