It was asked several years ago, but I didn´t find any solution to this:
Since a PT Camera can have several position presets, is it possible to have zones for each position-preset?
Can the zones be activated or deactivated manually with a controlscript like the cameras can panned or tilted using zmcontrol.pl ?
Maybe the solution then could be move the camera to position by script and then activate the desired zones and deactivate all others?
Cheers
Roadster
Different zones for each PTZ presets
Re: Different zones for each PTZ presets
Since the zones are stored in the database what about this idea:
Defining a dummy monitor with no function... just to have a monitor id to keep all unneeded zones.
Defining all zones of interethe st at the different camera positions for the real cameras.
Then in database change all defined zone MonitorID of the cameras that are unneeded actually to the ID of the dummy monitor by a commandline script.
Now all monitors should only have the desired zones, all others belong to the dummy monitor
Cycle cameras through desired position and change zone by script...
That should work shouldn´t it?
By this way I could also train scripting and mysql skills
Defining a dummy monitor with no function... just to have a monitor id to keep all unneeded zones.
Defining all zones of interethe st at the different camera positions for the real cameras.
Then in database change all defined zone MonitorID of the cameras that are unneeded actually to the ID of the dummy monitor by a commandline script.
Now all monitors should only have the desired zones, all others belong to the dummy monitor
Cycle cameras through desired position and change zone by script...
That should work shouldn´t it?
By this way I could also train scripting and mysql skills