4

WebCam Alarm

by Alexandru Lungu 19. octombrie 2010 12:26

 

Almost a year ago I had to make a small project for school in which to work with either images or sound or video (or altogether).

I chose to create something more interesting: a webcam alarm. It should work like this: if you’re away and something goes in front of the camera, then there is an intruder (unless it’s your cat Smile) and an alarm must be raised.


The main settings:

Frames ahead (or behind) – The number of frames that will pass before comparing the changes with the current frame. (for example comparing the 10th frame behind with the current frame). This is to detect if someone is moving extremely slow.
Sensitivity – How much must change before starting the alarm (ex: 0.05 – 5% - if more than sensitivity of the image has changed from the frames ahead then the alarm starts.
If the difference between the current frame and the frames ahead is above sensitivity then the alarm is started.

The attached solution has 2 projects: the client, which is the main application that uses the camera and starts the alarm and the server which the client informs about the intruder: it is just concept – my server just logs the info – but it can be extended to do more: notify the police, send the owner a SMS, etc.

Download WebCam Alarm.zip (621.69 kb)

Tags: , ,

Programming

Comments (4) -

George
George Romania
20.10.2010 14:22:46 #

Wow, this is really useful. I can transform my laptop in an alarm.

allex
allex Romania
20.10.2010 16:15:18 #

Yes, the laptop I also had in mind.
But it is far from being an efficient product against intruders until you connect it to the police or to a security company, or to call you or send an SMS or MMS with the pictures/videos taken when the alarm started.

George
George Romania
20.10.2010 19:08:29 #

There is no need for all that. I'll set the sound to max and only the sound of an alarm will make the thief run away.

allex
allex Romania
20.10.2010 19:13:06 #

Yes, I guess that bluffing is also a solution Smile.

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading






Powered by BlogEngine.NET 2.0.0.36
Original Design by Laptop Geek, Adapted by onesoft