I have the following tasks:
-
determine if the camera is moving now or not
-
if the camera is in motion or on patrol, then determine if the patrol is on schedule or manually, and get the name of its profile (ideally, the start time)
-
if the camera stopped at some point in the presets, define its number and (or) name
-
if the camera is in one of the presets, for which I have acceptable temperature and sound values for comparison, and it is possible to generate a trigger event about the triggering of the “sensor”
-
automate the development of points 1-4 continuously
my cameras don’t support absolute coordinates. Rather it is a q7411 axis encoder and a Videotec movable camera.
I need help in choosing classes and functions of working with PTZ to implement the described tasks in the MIP SDK
-
There is no functionality in the VMS to get this information from the camera.
-
You cannot get this information from the recording server.
-
This is not directly supported. If you have absolute positioning on the device you might be able to see that it is the same position as a preset.’
-
You can make an advanced trigger of an event based on logic applied to a number of inputs. I guess only if you have turned the camera by code and nobody else has turned the camera can you know the preset.
-
As I have answered no to all points this must be no too.
PS: I found this but I actually don’t think it will be much help given the situation.. https://developer.milestonesys.com/s/article/Find-out-if-a-camera-is-controlled-when-performing-manual-PTZ
thanks for the help, but the problem is still there.
I did not answer for a long time, since I was dealing with the reason for the absence of absolute coordinates from the dahua camera in conjunction with the axis encoder.
To clarify the situation: the camera and encoder work with absolute coordinates,
according to the list of my tasks, I need help in choosing functions / procedures / classes for recording motion events and stopping cameras,
preset coordinates / point names …
Could you please suggest a way to subscribe to an event from a PTZ camera when it is set to one of the known positions in patrol mode
I am afraid there is no such method.
The camera will not report to the recording server when it has reached the position and the recording server cannot offer an event you can subscribe to.
Whether a workaround where you simply ask for absolute coordinates is feasible I cannot say, I am not very optimistic. You can try it out.
Absolute coordinates from the encoder do not come already from the second analog camera operating under the pelco-d protocol
(with the MOXA Vport 461A encoder, the situation is the same, so while I conclude that something is not correct or not configured enough in Milestone itself)
Need help setting up.
training cameras hikvision DS-2AE5123TI-A and dahua DH-SD59225I-HC
On RS-485 both are set to 2400 speed, as well as the encoder.
While I create presets from the encoder’s web-face and import them into VMS, they work fine.
As soon as I create presets in the Smart client or in the Management client, only the names of the presets are saved in which there is probably no information about PTZ positioning and the camera does not move at all over them.
But presets (names, numbers) are not particularly critical to me - the main thing is coordinates.
Please tell me if there are MIP SDK functions for importing presets from such cameras / encoders where they can only be correctly created in the device and then imported through the management client
No.
The Configuration API (and the MIP SDK in general) does not support the import presets from device.
Unfortunately the only workaround I see is to do this manually using the Management Client.