Tuning motion detection for speed and accuracy.
Posted: Wed Aug 22, 2012 6:28 pm
I'm using a Foscam IP camera with zoneminder that can deliver 640x480 at 15fps in mjpeg. Zoneminder can use it just fine and I've gotten it up with motion detection. There are a couple of things I'd like to improve:
1) Motion detection is consuming a very substantial amount of CPU (around 20% for just this one camera). Since I'm planning to have a few more cameras and the machine is used for more than zoneminder I'd love to be able to do the motion detection at 5fps instead of the full 15. Skipping 2 out of 3 frames would be fine by me. I'd still want the monitor and the recordings to use the full 15fps just not the motion detection code.
2) Any time there's a uniform brightness change because the camera has adjusted the image automatically the motion detection detects an event. Is there any way to avoid this?
3) Sometimes bugs fly around the camera and set off a motion event. Is there any threshold I can change to avoid that, like the number of frames of motion required to form an event?
Thanks,
Pedro
1) Motion detection is consuming a very substantial amount of CPU (around 20% for just this one camera). Since I'm planning to have a few more cameras and the machine is used for more than zoneminder I'd love to be able to do the motion detection at 5fps instead of the full 15. Skipping 2 out of 3 frames would be fine by me. I'd still want the monitor and the recordings to use the full 15fps just not the motion detection code.
2) Any time there's a uniform brightness change because the camera has adjusted the image automatically the motion detection detects an event. Is there any way to avoid this?
3) Sometimes bugs fly around the camera and set off a motion event. Is there any threshold I can change to avoid that, like the number of frames of motion required to form an event?
Thanks,
Pedro