deepakpurti / Home-Surveillance-System

Home Surveillance System in MATLAB with two functionalities : Fall Detection (https://github.com/harishrithish7/Fall-Detection) & Change Detection ; which can send E-mail alerts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This is a Home Surveillance System which has (only) 2 functionalities:

  1. Fall Detection
  2. Change Detection

It employs Image and Video Processing techniques on a video clip of a CCTV camera feed, and detects:
(a.) a person entering the scene, (b.) falling action of a person ; and sends email alerts to the user after a person or a fall is detected.

It then produces a summary of the changes taking place in the scene in the form of an avi file, and mails it to the user.

Requirements

  1. MATLAB - R2019b or higher
  2. MATLAB Toolboxes:
    a. Image Acquisition Toolbox
    b. Image Processing Toolbox
    c. Computer Vision Toolbox

Execution

  1. Run 'HomeSurveillance.m' . This would read and process 'video.mp4'.
  2. An e-mail alert would be send to user when a person is detected, with a snapshot of the detected person ('persondetected.jpg').
  3. An e-mail alert would be send to user after fall detection.
  4. An e-mail would be send to user with the summary of changes taking place ('changesummary.avi').

Modification

To edit sender's and receiver's email addresses, and password, message, and attachments; modify 'changedetectmail.m', 'persondetectmail.m', 'sendfallemail.m' .

Reference Papers

[1] Caroline Rougier, Jean Meunier, Alain St-Arnaud, Jacqueline Rousseau ; “Fall Detection from Human Shape and Motion History Using Video Surveillance”; 21st International Conference on Advanced Information Networking and Applications Workshops (AINAW’07), 2007.

[2] Peter Sand and Seth Teller; “Video Matching”; ACM Transactions on Graphics (TOG); 2004
[Citation of source code utilised in this repository which follows a similar implementation as this paper :
Jussi Mattila (2020). Detect Changes from a Video (https://www.mathworks.com/matlabcentral/fileexchange/42017-detect-changes-from-a-video), MATLAB Central File Exchange.]

About

Home Surveillance System in MATLAB with two functionalities : Fall Detection (https://github.com/harishrithish7/Fall-Detection) & Change Detection ; which can send E-mail alerts.

License:GNU General Public License v3.0


Languages

Language:MATLAB 100.0%