Jump to content

JCNeves

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. JCNeves

    HIKVISION SDK problem

    Thank you for your answer, but my problem is not the connection. I have configured the IP of the camera to access it in a local network. My question is which c++ code should I use to send PTZ commands through the network so that I can move the camera. Thank you in advance
  2. JCNeves

    PTZ Control

    For example, imagine that you have an image of a scene with a 1080x1920 resolution. And imagine also that it is something interesting on the lower right corner, i.e, pixel (1080,1920). Considering that the pixel (540,960) is the center of the image, I need to know much do I have to rotate (the pan and the tilt) the PTZ camera so that the new image is centered in that point. Thank you in advance
  3. I have a HIKVISION PTZ Camera (the model is DS 2DF5286) and I would like to control camera movements using a c++ application. For that purpose, I have used the HIKVISION SDK available in this address http://www.hikvision.com/en/download_more.asp?id=1266 . The description of the SDK clearly says that it supports several functions (including the one I want): · 1. Live view, playback, remote file download, PTZ control, arm/disarm, voice talk, log query, decoding card function, etc By using this code I was able to read the stream and capture a shot (the GetStream and CapPicture functions), however I could not find a way to control the PTZ since some functions have been commented, such as PTZ control, in the main.cpp file. As such, I would like to ask if you know what I am missing or if there is another way to control a PTZ camera using a c++ application.
  4. Hello guys, How can know the pan and tilt angle necessary to center a PTZ camera in a specific pixel in the image? For example, consider that the center of the image provided by the PTZ camera has the coordinates (0,0). My question is how to determine the pan and tilt angle that I have to rotate the camera to center the camera in the pixel (30,40) ( it is an example). I am almost sure that the mapping forrmula will require the horizontal angle of view and image resolution, in my case 58,9º and 1080x1920 Thank you for your help
×