Retrieve PTZ camera metadata using protocol

Hi,

Is it possible to retrieve PTZ metadata (pan/tilt/zoom values) of the current frame using protocol? How if possible?

We’d also like to push bounding box metadata after the frame is processed by our algorithm.

Thanks in advance!

There is no metadata for the PTZ, I imagine this could be very neat, that the information was always there and that you for any point in time could read information on how the camera was turned. But it is not there.

For cameras with support for absolute positioning you can at any time get a set of coordinates from the camera.

Use the PTZGetAbsoluteRequest -see -

http://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_messaging_1_1_message_id_1_1_control.html&tree=tree_search.html?search=ptzgetabs

You can see this in use in the PTZandPresets sample

http://doc.developer.milestonesys.com/html/index.html?base=samples/ptzandpresets_sample.html&tree=tree_2.html

To push bounding box metadata see the Bounding Box Metadata Provider sample -

http://doc.developer.milestonesys.com/html/index.html?base=samples/boundingboxmetadataprovider.html&tree=tree_2.html

Thanks Bo.

That means it is only possible to get the PTZ values of the current position, not recorded videos, right?

And for pushing bounding boxes, .NET SDK seems to be needed. Is there a protocol for doing this?

Correct.

Pushing bounding boxes and other metadata (MIP Driver), there is currently no protocol or protocol documentation for this. There is no plans for making this protocol in the close future.

Thanks.

I still have question about the BoundingBoxMetadataProvider. I set up everything according to the tutorial, enabled bounding box layer in the smart client and the new metadata device is in the “Bounding Box Providers” list, but while sending the bounding boxes, I see nothing other than a yellow box moving from upper left to bottom right corner. I can’t see what is sent by the BoundingBoxMetadataProvider.

My guess..

Create a link between a camera and the new metadata device by selecting the camera, then choose the “Client” tab and finally add the metadata device to the “Related metadata:” list.

This is a quote from - http://doc.developer.milestonesys.com/html/index.html?base=samples/boundingboxmetadataprovider.html&tree=tree_2.html

The yellow box you see is the Alaytics Overlay plugin sample, please remove that plugin while testing. The plugin should not cause the bounding boxes not to work but I find it confusing when has too many different overlays. In general I recommend to remove the plugins that you are not actively working with.