-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Source/filter types
- Face Tracker PTZ (a filter to control PTZ camera)
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
We are using low budget HikVision PTZ cameras. They accept HTTP PUT commands for PTZ controls. Example (in PowerShell):
$url = "http://$ipaddress/ISAPI/PTZCtrl/channels/1/continuous"
$buffer = $wc.UploadString($url, "PUT", '<?xml version: "1.0" encoding="UTF-8"?><PTZData><pan>'+$pan+'</pan><tilt>'+$tilt+'</tilt><zoom>'+$zoom+'</zoom></PTZData>')$pan, $tilt is the camera speed -100..+100 (we us speeds up to 15). $zoom is -3..+3 (we basically use -1, +1). 0 is stop.
Describe alternatives you've considered
There are no alternatives at this moment, other than buying tracking capable camera.
Additional context
Authentication is required:
$wc = [System.Net.WebClient]::new()
$wc.Credentials = new-object System.Net.NetworkCredential("username", (New-Object System.Management.Automation.PSCredential -ArgumentList "username", (ConvertTo-SecureString -AsPlainText -Force "password")).GetNetworkCredential().Password)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request