Code covered by the BSD License  

Highlights from
Intruder Detection and Recording

5.0

5.0 | 8 ratings Rate this file 29 Downloads (last 30 days) File Size: 14.77 KB File ID: #15272
image thumbnail

Intruder Detection and Recording

by David Leffingwell

 

12 Jun 2007 (Updated 09 Jun 2009)

Intruder detection and recording with live video and audio display.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

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.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
IMAQMOTION - Image acquisition motion detection

Required Products Data Acquisition Toolbox
Image Acquisition Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Other requirements Microsoft Windows (32-bit). Web cam. Sound card, microphone, and speakers.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
05 Aug 2007 Stéphane Cardin

great!
thank you!

25 Oct 2007 zak gketsis

Really great!

05 Mar 2008 Tahir Ahmad Talpur

extremely useful

18 Sep 2008 dharm khoker  
21 Sep 2009 Nikolay K  
27 Feb 2010 syamsul adly

awesome!

27 May 2010 Shahab

cool nice great !!

13 Feb 2011 Sanket

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!!!

11 Jul 2011 Walid  
Please login to add a comment or rating.
Updates
12 May 2008

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

09 Jun 2009

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

Tag Activity for this File
Tag Applied By Date/Time
example David Leffingwell 22 Oct 2008 09:15:14
application David Leffingwell 22 Oct 2008 09:15:14
motion sound detection surveillance video audio recording David Leffingwell 22 Oct 2008 09:15:14
potw Cristina McIntire 07 Nov 2008 13:02:10
application syamsul adly 20 Mar 2010 17:10:40
pick of the week Jiro Doke 11 Feb 2011 20:11:12

Contact us at files@mathworks.com