Author Topic: Automatic Rotating Camera  (Read 597 times)

0 Members and 1 Guest are viewing this topic.

Offline JaredC15

  • Senior Member
  • **
  • Posts: 77
    • Jack County Weather
Automatic Rotating Camera
« on: June 29, 2017, 11:50:55 PM »
I am watching this live stream and I noticed that the camera turns and zooms in on a programmed area. I am wondering if anyone knows what kind of setup can do this?

Offline WeatherHost

  • Forecaster
  • *****
  • Posts: 3068
Re: Automatic Rotating Camera
« Reply #1 on: June 30, 2017, 04:09:51 AM »
Most Pan/Tilt/Zoom cameras have a 'Home' position and many have additional programmable positions.  Some offer the remote/casual user to change positions, but most camera hosts will disable that option.

Banners, tags, widgets, etc. are why I have Signatures turned off.

Offline SLOweather

  • Administrator
  • Forecaster
  • *****
  • Posts: 3386
Re: Automatic Rotating Camera
« Reply #2 on: June 30, 2017, 02:48:27 PM »
Most, if not all, Panasonic PTZ network cameras can be controlled via http web browsing type commands. The one is my sig is operated by a php script that moves the camera and snaps images, which are then assembled into a panorama. If I am watching the live feed, I can see the camera move from preset to preset as the images are downloaded.

Offline FreeMan

  • Member
  • *
  • Posts: 19
Re: Automatic Rotating Camera
« Reply #3 on: July 02, 2017, 07:11:43 AM »
I have the Hikvision DS-2DE4220IW-DE PTZ camera and it's very easy to do this. You can use presets and patrols.
Other PTZ cameras probably have this functions. Read manual before buying.

Preset is a predefined image position. Patrol is a series of presets.

There is a annoying bug where you can't set time in patrols lower than 15 seconds. Hoping for a fix soon.

Here is some examples for Hikvision PTZ in command prompt/scripts.
Code: [Select]
Call preset 2
curl.exe -X PUT http://USERNAME:PASSWORD@IPADDRESS/PTZCtrl/channels/1/presets/2/goto

Start patrol id 2
curl.exe -X PUT http://USERNAME:PASSWORD@IPADDRESS/PTZCtrl/channels/1/patrols/2/start

Stop any patrols
curl.exe -X PUT http://USERNAME:PASSWORD@IPADDRESS/PTZCtrl/channels/1/patrols/1/stop

And it's more fun with a PTZ camera. Every 10. second a image is captured and the camera is moved 0.1 degree