|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Announcements
Want a new Job?
Chapters
Services
Feature Zones
|
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 :
thanks to the author of this articles. Below is what this app does:
IntroductionWorking 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. BackgroundApp uses the optimized motion detection algorithm by Andrew to alert (beep) , jumps pixels defined by user. UsagePut 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. AdvicesChange 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 ;)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||