Page 1 of 1

How to disable PTZ motion detection durning camera movement

Posted: Thu Jul 11, 2019 2:15 pm
by go0die
Hello,

Started with ZM and now time came to use HikVision PTZ camera. I can move cam from ZM and make some presets, but the question is:
As I need to use motion detection, is it possible to disable PTZ motion detection durning camera movement?

Re: How to disable PTZ motion detection durning camera movement

Posted: Thu Jul 11, 2019 4:15 pm
by rockedge
there could be a round about way to do it by using "run states" and set up 2 different monitors using the same camera....
monitor 1 has no PTZ control and does have motion detection active
monitor 2 has PTZ but motion detection turned off.

save a run state that has camera 1 set to "modect" and camera 2 "none"
then save a run state that has camera 1 set top "none" and camera 2 set to monitor so you can move it.
choose by selecting which run state ZM is operating under

only an idea..may work for you

Re: How to disable PTZ motion detection durning camera movement

Posted: Mon Jul 15, 2019 6:12 am
by go0die
rockedge wrote: Thu Jul 11, 2019 4:15 pm there could be a round about way to do it by using "run states" and set up 2 different monitors using the same camera....
monitor 1 has no PTZ control and does have motion detection active
monitor 2 has PTZ but motion detection turned off.

save a run state that has camera 1 set to "modect" and camera 2 "none"
then save a run state that has camera 1 set top "none" and camera 2 set to monitor so you can move it.
choose by selecting which run state ZM is operating under

only an idea..may work for you
Thank you for reply!
I will test it some day and write here results.

Re: How to disable PTZ motion detection durning camera movement

Posted: Mon Jul 15, 2019 6:21 am
by go0die
rockedge wrote: Thu Jul 11, 2019 4:15 pm there could be a round about way to do it by using "run states" and set up 2 different monitors using the same camera....
monitor 1 has no PTZ control and does have motion detection active
monitor 2 has PTZ but motion detection turned off.

save a run state that has camera 1 set to "modect" and camera 2 "none"
then save a run state that has camera 1 set top "none" and camera 2 set to monitor so you can move it.
choose by selecting which run state ZM is operating under

only an idea..may work for you
But problem is, that I need to use some assets when and where camera moves by itself, so I need better solution.

Re: How to disable PTZ motion detection durning camera movement

Posted: Wed Jul 17, 2019 3:11 pm
by rockedge
is the camera moving automatically to the point of motion detection?

Re: How to disable PTZ motion detection durning camera movement

Posted: Thu Jul 18, 2019 1:14 pm
by knight-of-ni
To avoid recording motion events when the ptz camera moves, set an appropriate value for the (up to three) max area fields in the camera's motion settings. You may also need/want to set a small value in the Frame Ignore Count fields too.

To determine that value, look at the motion statistics for a false trigger caused by the camera moving. If that number is 90%, for example, then set the overload frame ignore to 89%. If using pixels (better precision) instead of %, then the desired values will be in pixels.

This trick also works well to filter out when the camera switches from day -> night mode.

Re: How to disable PTZ motion detection durning camera movement

Posted: Fri Jul 19, 2019 4:44 pm
by Alec
Not 100% sure what you are doing, goodie, so I am likely missing something, but isn't that what zmu function -n is for? To temporarily cancel alarms while you are doing something like moving a camera? I also thought the API Disarm function would do this, but on review, maybe it will only cancel an existing alarm . . .

Re: How to disable PTZ motion detection durning camera movement

Posted: Fri Jul 19, 2019 5:32 pm
by knight-of-ni
@Alec
This thread asks the same question that the very first users of PTZ cameras had when combined with motion recording.... since basic motion detection is all about counting RGB color changes in pixels over time, a false trigger is created any time a move command is sent to a ptz camera. This is a problem with any VMS.

Back when PTZ cameras were popular in the industry, a common approach was to either ignore the false triggers or just let the camera record continuously. Fortunately, zoneminder has a function that allows you to ignore an alarm if too much motion is generated, which is what happens in this case.

Re: How to disable PTZ motion detection durning camera movement

Posted: Sun Jul 21, 2019 5:08 am
by Baylink
Hey, waitaminnit.

Didn't I see, while poring over the config options on my recently upgraded 1.32, that there's a "number of seconds not to throw an alarm after a PTZ move on a camera" setting?

In short, isn't this problem already fixed?