Hi, anyone knows which is the best method to send metadata to a especific camera in XProtect?, I want to know if it is possible to send real time metadata to Xprotect using C++, or if it has a method in C#

Sending metadata will require using .Net Framework.

You can make a device driver than implements metadata provider.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_driverframework.html&tree=tree_4.html

https://doc.developer.milestonesys.com/html/index.html?base=samples/pluginsamples/demodriver/readme.html&tree=tree_1.html

You can make a metadata device that use the existing MIP driver.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_metadata.html&tree=tree_4.html

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

See also-

https://developer.milestonesys.com/s/article/DATA-FROM-ANALYTICS-HOW-TO-BEST-IMPLEMENT-A-SOLUTION

I already have a camera added to Xprotect, but how do I send metadata to this camera?, I was trying to send it with Multi Channel Provider project that was on the samples

You need to setup correctly. Please see this article, this is not the sample what you have used but you need to follow the setting instruction.

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

You might be missing following – “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.”

thanks for the recomendation, but I tried to run the sample (by the project code on Visual Studio) and it not works, I followed step by step, but it just do not work, I am running the sample, created the MIP driver device on port 52123, linked a camera to it, enable the bounding boxes on Smart Client, but nothing appears to my camera

Can you please follow the instruction with following pictures?

Start the sample. Click the “Accept Sessions” button.

Start the Management Client, Start the add hardware wizard and Choose Manual.

Add username and password to the search list: “root”, “password”

Select to use the “MIP Driver” under “Milestone”

Enter IP address of the machine this sample is running on (I use localhost), and port 52123

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.

And please make sure to click “Save”

Save it.

BoundingBoxMetadataProvider08Start the Smart Client and choose the camera. Make sure to check in setup mode that bounding boxes are enabled and that the new metadata device is in the “Bounding Box Providers” list.

BoundingBoxMetadataProvider09

(Next post)

Press the “Start Metadata” button on the sample application after a connection has been established.

See Live image on Smart Client.

Also Playback -

It didn’t worked, no bounding box

I added 2 posts on this thread, because it allows me to add only 10 pictures and I explained with 15 pictures. Again, can you please check it thoroughly again?

I’ve checked all the points in the tutorial, it is correct, all of them, but it don’t work

Either the data does get into the recording server or the Smart Client fails to show it. This test will determine if it gets to the server.

Run the MetadataLiveViewer sample and see if you can see the XML pertaining to the bounding boxes coming in.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/metadataliveviewer/readme.html&tree=tree_2.html

There is a troubleshooting knowledge base article mentioning this form for troubleshooting here: https://developer.milestonesys.com/s/article/how-to-view-device-metadata

it didn’t send the metadata

It is perfectly clear with the screen capture. Your Bounding Box provider is not connecting to the server (sessions=0), which means it can send no data.

Check licensing, check network, double-check port and password..

it is working now, thanks, the problem was that a license has expired and I didn’t notice

and here we are with the bounding boxes, Thanks to everyone!!