Here's my experiment with the motion patch.
CAM:
Delta:
As you can see I have a lot of noise motion from the tree shadows in the afternoon hours.
It ran about 4-5 hours and seemed to be getting false triggers, but less so than the standard motion detection. When I got home the box seemed to have locked up and had to use the power switch to bring it back (no remote SSH or local shell login possible).
I examined the log and found that it never really settles out and that my averages are somewhat higher than the numbers others report.
mor, any suggestions for fine tuning? I had considered increasing the threshold value in the code up from 2.5. I really need to dig into the code to understand better how it works and what to tweak. Maybe tonight when I get home.
A little info on my setup. I have a Bluecherry PV-149 4-port capture card and one
Topica TP-936WIR-30C camera configured to capture at 10 fps. I have two zones setup - one for the sidewalk and another for the yard area, because I had to reduce sensitivity in the yard area due to the shadows.
Here's a snip of my log:
Code: Select all
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 3.960525, pixels 322 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 6.320946, pixels 349 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 6.843143, pixels 421 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 7.592459, pixels 426 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 7.825874, pixels 442 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 8.020421, pixels 411 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 8.232079, pixels 394 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 7.386624, pixels 403 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 7.260729, pixels 441 (-1, -1, -1)]
May 19 22:32:48 mythbox zma_m1[3265]: INF [Average 5.270748, pixels 413 (-1, -1, -1)]
May 19 22:32:49 mythbox zma_m1[3265]: INF [Average 5.161253, pixels 336 (-1, -1, -1)]
May 19 22:32:49 mythbox zma_m1[3265]: INF [Average 4.065164, pixels 351 (-1, -1, -1)]
May 19 22:32:49 mythbox zma_m1[3265]: INF [Average 3.897654, pixels 332 (-1, -1, -1)]
May 19 22:32:49 mythbox zma_m1[3265]: INF [Average 2.750268, pixels 299 (-1, -1, -1)]
May 19 22:32:49 mythbox zma_m1[3265]: INF [Front_Door: 712 - Gone into alert state]
May 19 22:32:50 mythbox zma_m1[3265]: INF [Average 2.836850, pixels 252 (-1, -1, -1)]
May 19 22:32:50 mythbox zma_m1[3265]: INF [Front_Door: 719 - Gone back into alarm state]
May 19 22:32:50 mythbox zma_m1[3265]: INF [Average 3.098925, pixels 302 (-1, -1, -1)]
May 19 22:32:50 mythbox zma_m1[3265]: INF [Front_Door: 721 - Gone into alert state]
May 19 22:32:52 mythbox zma_m1[3265]: INF [Average 2.870692, pixels 608 (-2, -2, -2)]
May 19 22:32:52 mythbox zma_m1[3265]: INF [Front_Door: 746 - Gone back into alarm state]
May 19 22:32:52 mythbox zma_m1[3265]: INF [Average 3.353837, pixels 615 (-2, -2, -2)]
May 19 22:32:53 mythbox zma_m1[3265]: INF [Average 3.770747, pixels 709 (-2, -2, -2)]
May 19 22:32:53 mythbox zma_m1[3265]: INF [Average 4.901636, pixels 1071 (-2, -2, -2)]