I’m trying to develop a Milestone Metadata device and currently trying to get the Bounding Box Metadata Provider sample working first, but even after following the instruction to the letter, I couldn’t get the Smart Client to display the bounding box on the video. Did something change since the sample was written? Would there be anything that I may be doing wrong?
At first you need to ensure the XProtect Corporate Management Client is able to show the received Metadata.
- Make sure the metadata source is transmitting. This often requires loading or enabling this feature on-device. As an example for Axis cameras, you need to upload the “Axis Video content stream” and “Axis video motion detection” apps to generate the bounding box metadata.
- Then, in the Management Client, ensure the Metadata device is present (you can re-add or hardware replace the device if needed). There should be a stream (resembles raining ones and zeroes on the metadata device when viewed)
- Finally, ensure the Smart Client bounding box option is checked for the Camera → Properties.
1, 2: I’m using the Bounding Box Metadata Provider sample included in MIP SDK, so as long as it’s set to accept session and I click on Send Metadata, it should be transmitting, I suppose? Also I see the animation of 1s and 0s in management client.
3. I checked the “Show bounding box layer” checkbox and made sure that the MIP Driver is enabled as a Boundig Box Providers in Properties menu that shows up when I click Setup and then the video.
Is there anything else I need to be doing?
With the MetadataLiveViewer sample you can test whether the recording server receives the meta data. With the MetadataPlaybackViewer sample you can test whether the recording server receives and stores the meta data.
If this test shows the data coming in correctly, my best bet is that the camera does not have an association with the metadata. In the Management Client pick the camera the check properties in the Client tab, is Related metadata filled out with the correct metadata provider(s)? If you update this the Smart Client must be restarted to get the new configuration.
Yes. I did put the related metadata device in the camera’s Client tab. Any other idea?
With the MetadataLiveViewer sample you see the metadata you submit? (Please confirm.)
Yes. I see the “Sent metadata” field updating constantly and I see the animation of 0s and 1s pouring in on the Management client. Is it possible that the xml schema has updated or something like that?
Is something changed? Not anything that should break it. But let me know the version.. MIP SDK version? Smart Client version? XProtect test server; model and version?
Management Client: Version: 10.0a Build: 505
Smart Client: Version: 10.0a Build: 956
MIP SDK 2016 Build 262
I also have XProtect Corporate 2016 Test license. Expiration date unlimited.
Hi Jake, I fully agree with you. I tested your scenario:
- followed the documentation in Milestone\MIPSDK\Html\samples\BoundingBoxMetadataProvider.html to the letter.
- Could not see the bounding box in the client
- Restarted my machine (that has all Milestone services running)
- Then I downloaded and installed the new MIP SDK 2016R2 (just to test), available in:
https://www.milestonesys.com/solution-partners/milestone-integration-platform-sdk/download-mip-sdk/
- (note that you may have to uninstall the previous version first)
- and bingo! worked fine. Thus I suggest you try restarting the services and if you can not still get the bounding boxes to appear (and you have followed the instructions to the letter), then try 2016 R2.
Thanks Raul. Your instructions did it, although I’m not sure which one fixed it, the restaring of the service or installing 2016 R2. Thanks!