Click here to Skip to main content
Click here to Skip to main content

Area Based Motion Detection- Boss Watcher

, 29 Mar 2007 CPOL
Rate this:
Please Sign up or sign in to vote.
Detect and alert according to predefined areas in motion pictures - Alert when somebody passes the door, etc.

This piece of application is a union of CodeProject articles:

Motion detection Algorithms Andrew Kirillov
Owner Drawn Resizable control Ray Cassick

Thanks to the authors of these articles. Below is what this app does:

Screenshot - article3.jpg

Introduction

Working in artificial 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 it behind. That is why I tried to write this application. But it can also be used for alerting when there is a motion in a special area.

Background

App uses the optimized motion detection algorithm by Andrew to alert (beep), jumps pixels defined by the 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 sensitivity.

Advices

Change the 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 the 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. Wink | ;)

History

  • 30th March, 2007: Initial post

License

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

Share

About the Author

mikailcetinkaya
Web Developer
Turkey Turkey
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

Comments and Discussions

 
QuestionProblem with specified area in motionDetector4 PinmemberHardghost10-Oct-11 4:46 
AnswerRe: Problem with specified area in motionDetector4 Pinmembermikailcetinkaya10-Oct-11 12:53 
GeneralLicensing PinmentorTrollslayer8-Jan-11 3:38 
GeneralThe sizable control ..... PinmemberMember 46937875-Oct-08 21:35 
GeneralI love it PinmemberMathiasW21-Aug-07 1:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141223.1 | Last Updated 30 Mar 2007
Article Copyright 2007 by mikailcetinkaya
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid