What is the function of "DurationUS" in ObjectMetadataPacket.

Answered

Comments

3 comments

  • Avatar
    Andrey Terentyev

    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
    Comment actions Permalink
  • Avatar
    Scott Chiang

    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
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    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 from the Server to GUI client should be less than 2 seconds. Otherwise, though 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 possible to see how delays influence metadata and bounding box appearance.

    0
    Comment actions Permalink

Please sign in to leave a comment.