5,530,111 members and growing! (16,686 online)
Email Password   helpLost your password?
General Programming » Algorithms & Recipes » General     Intermediate License: The Code Project Open License (CPOL)

Area Based Motion Detection- Boss Watcher

By mikailcetinkaya

Detect and alert according to predefined areas in motion pictures- Alert when smoebody passes the door, etc.
C# 2.0, VB 8.0, C#, VB, Windows, .NET, Visual Studio, Dev

Posted: 29 Mar 2007
Updated: 29 Mar 2007
Views: 12,881
Bookmarked: 31 times
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
8 votes for this Article.
Popularity: 2.24 Rating: 2.48 out of 5
4 votes, 50.0%
1
1 vote, 12.5%
2
0 votes, 0.0%
3
0 votes, 0.0%
4
3 votes, 37.5%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

This piece of application is a union of codeproject articles :

motion detection Algorithms Andrew Kirillov

Owner Drawn Resizable control Ray Cassick

thanks to the author of this articles. Below is what this app does:

Screenshot - article3.jpg

Introduction

Working in artifcial lighted , lifted ceiling , ice air conditioned IT office departments gives me a creepy feeling of being manipulated and watched from behind. Any way one should support its behind. That is why i tried to write this application. But can also be used for alerting when a motion in a special area.

Background

App uses the optimized motion detection algorithm by Andrew to alert (beep) , jumps pixels defined by user.

Usage

Put your camera where suitable and by green rectangle, point where any motion will be rejected for measure also highly sensitive area by red rectangle. App beeps when overall motion is higher than the sensivity.

Advices

Change Below lines if you want to do something different in MotionDetector3Optimized.cs

if (MainForm.vulRatio>0 && (diffCounter>(height*width/(100/MainForm.vulRatio ))))

{

System.Media.SystemSounds.Beep.Play() ;

}

change Below lines if you want to process only sensitive area in MotionDetector3Optimized.cs

if ((j > ns1 && j < ns2) && (i > ns3 && i < ns4))

{

currentFrameDilatated[k] = 0;

}

how to do it is your puzzle ;)

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

mikailcetinkaya


Mikail Çetinkaya

E-mail : mikailcetinkaya@yahoo.com

Education : University (Graduate)
Experience : 3 Year(s)
Working Status : Employed
Driving License : B (2004)
Military Service : Done-18.05.2004

University
01.10.1999 - 01.06.2003 Yildiz Technical University
Electric – Electronic Department, Computer Engineering 3,23 / 4

High School
01.06.1999 Selçuk Anadolu Lisesi
Fen 4,75 / 5

06.2005- Prosis Bilgi İşlem Danışmanlık
Analist Programcı İstanbul
Leader Programmer for Banking Applications working in Batch, Online or interactive • Developing Credit card Package for ABank,Universalbank,UKH,ŞekerBank,DışBank,Asya Finance. Using VB,VB.net,C# on Windows Platform. • Participating in MasterCard IPM transition project • Participating in Online Authorisation project as leader programmer. • Participating in BKM DatawareHouse project as leader programmer. • IPM and Visa Clearing Management Interfaces


04.2003-05.2004 Tuketici Gazetesi
Yazılım Geliştirme Uzmanı İstanbul
Taking part in many important projects with C# and .NET , my actual achievements are : Development of a Sms gateway for msg 2 notice processing Development of a pop3 client and server for automatic notice and notification services Development and administration of Tuketici information systems Development and administration of www.tuketicigazetesi.com (dynamic site of Tüketici newspaper for fee based notices)

05.2002-04.2003 Remak
Software Development Assistant Manager İstanbul
I have taken part in development of Information System for Tuzla Municipality

Foreign Languages English
Occupation: Web Developer
Location: Turkey Turkey

Other popular Algorithms & Recipes articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 2 of 2 (Total in Forum: 2) (Refresh)FirstPrevNext
Subject  Author Date 
GeneralThe sizable control .....memberMember 469378716hrs 13mins ago 
GeneralI love itmemberMathiasW1:56 21 Aug '07  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 29 Mar 2007
Editor:
Copyright 2007 by mikailcetinkaya
Everything else Copyright © CodeProject, 1999-2008
Web19 | Advertise on the Code Project