![]() |
General Programming »
Algorithms & Recipes »
General
Intermediate
License: The Code Project Open License (CPOL)
Area Based Motion Detection- Boss WatcherBy mikailcetinkayaDetect and alert according to predefined areas in motion pictures- Alert when smoebody passes the door, etc. |
C# 2.0, VB 8.0, Windows, .NET, Visual Studio, Dev
|
||||||||
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
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:
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.
App uses the optimized motion detection algorithm by Andrew to alert (beep) , jumps pixels defined by user.
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.
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 ;)
| You must Sign In to use this message board. | |||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 29 Mar 2007 Editor: |
Copyright 2007 by mikailcetinkaya Everything else Copyright © CodeProject, 1999-2009 Web21 | Advertise on the Code Project |