What is the function of "DurationUS" in ObjectMetadataPacket.
AnsweredHi, I want to develop a plugin using metadata SDK, but I am confused about the attributes in the SDK and the sample plugin, can you give me some comment?
Here is the attribute I want to know:
1.ObjectMetadataPacket - DurationUs
2.sample plugin - Additional frame processing delay
3.sample plugin - Overall metadata delay
What are those attributes used for?
thanks for your attention.
-
Hello Scott Chiang,
I'm really sorry. I can't find any of these strings "Additional frame processing delay", "Overall metadata delay" in sample_anlytics_plugin.
Could you please kindly update to the latest MetaVMS and SDK v4.1.0.31193 R8, revise the code and update your question?
0 -
I have changed to use the latest version SDK and I'm sorry about I did not describe my question clear.
Here are the attributes I want to know their function:
stub_analytics_plugin - std::string Engine::manifestString():
{
"type": "SpinBox",
"name": ")json" + kOverallMetadataDelayMsSetting + R"json(",
"caption": "Overall metadata delay, ms",
"defaultValue": 0,
"minValue": 0,
"maxValue": 1000000000
}and
{
"type": "SpinBox",
"name": ")json" + kAdditionalFrameProcessingDelayMsSetting + R"json(",
"caption": "Additional frame processing delay, ms",
"defaultValue": 0,
"minValue": 0,
"maxValue": 1000000000
}my plugin uses the third-party platform to detect the object in the frame and send the metadata back to the Nx server through the plugin, but it seems like the processing delay of the third-party platform make the bounding box can not show in the live stream on the Nx client (I already assign the timestamp for the metadata packet), is that two deviceAgentSettings above will be helpful for me?
thank you for your comment.
0 -
Hello,
> but it seems like the processing delay of the third-party platform make the bounding box can not show in the live stream on the Nx client
The time delay limit in order the bounding box to be displayed in live stream is 2 seconds. It means the delay in which a frame is sent to third-party platform, processed, the metadata is sent back to the plugin and then passed from the Server to GUI client should be less than 2 seconds. Otherwise, though an object with metadata will appear in right-hand panel, the bounding box won't be displayed in live stream,
The limit 2 seconds can not be changed.
Mentioned parameters are introduced to stub plugin just for demonstration purposes. They don't influence the 2 seconds limit, but make it possible to see how delays influence metadata and bounding box appearance.
0
Please sign in to leave a comment.
Comments
3 comments