For those which have PTZ cameras and use presets, you know it’s boring to set another privacy mask or detection zone of an another preset. You lose the previous one parameter and set another one. here a method to set privacy masks or detection zones depend on the preset (without losing the others)
It’s based on a bash script (from jasonk’s bash script) which it’s an awesome script.
To find how to do this, go to my github webpage to have details.
EDIT : !! IMPORTANT !! These scripts work with standalone cameras (not tested on NVR or binocular cameras) . Let me a issue on my github webpage if it won’t work for you.
Any way to change the command to get around this?
One way would be to send the command 2 or 3 times with an interval of about 40 seconds and hide the errors from the log, but if there is a cleaner way it would be better
Animal detection is active for this cam?
Also, instead of this error, are these command doing the job and it change for what you want? It’s concern the detection zone not the privacy mask?
If the error occurs, the change is not applied. I have to send the command again. Then on the second try I don’t get any errors and the change is applied.
That’s it, detection zone. I don’t use the privacy mask, but I can test it if you want.