Motion detection algorithm issue/bug

Report and discuss bugs here!

Motion detection algorithm issue/bug

Postby veselin4 » Mon Feb 18, 2008 5:00 am

First I was thinking it was a Java interpretation issue, very delayed response from detection to trigger. I read aroud the forum but the only thing I found was this http://www.yawcam.com/forum/viewtopic.php?t=768
So I played around with "Motion detectin"window->"Settings"->"Variations"->"Interval" and I got it to a value that was quite responsive, that's when i found the issue in the algorithm.

When the motion goes above the threshold/"Tolerance" it triggers the selected "Action" ...(I set "Play Sound" and picked my own shorter-than-the-default .wav file to make sure it doesnt have blank at the end which may in some cases delay the next play)... but then on next comparison if the motion is still above the threshold the algorithm won't trigger the sound again. It waits for the motion to go below the threshold and then back up above it again to trigger an "Action".
I hope I explained it the best i could :?
That is what I think is making YAWCAM's "Motion detection" look unresponsive/slow to others(cited above) when there is high motion present actualy.

right now it seams to be working something like this:
ON "Interval"-timeout IF (OLDMOTION<THRESHOLD)AND(NEWMOTION>THRESHOLD) THEN ACTION

I think this should be changed to something like:
ON "Interval"-timeout IF NEWMOTION>THRESHOLD THEN ACTION

malun I don't know much of programming so it might be something else.
Thanks !
P4 3.6 GHz, 2 GB
2 MPix Cam USBv2.0
~720 Kbps Uplink
http://24.196.133.185:8081/
veselin4
 
Posts: 1
Joined: Mon Feb 18, 2008 2:55 am

Advertisement

Postby tomlouie » Fri Mar 02, 2012 2:54 pm

This is a great description of the problem with the current motion detection implementation.

Malun, how hard would it be to offer this behavior as a choice to the user in addition to the current motion detection?

Tom
tomlouie
 
Posts: 1
Joined: Fri Mar 02, 2012 2:34 pm

Postby kbezold » Tue Jul 03, 2012 10:11 pm

This is a great suggestion.
kbezold
 
Posts: 6
Joined: Tue Jul 03, 2012 9:51 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests