Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Objects are no longer groupped by plugins in 4.3. What does it mean?

Completed

Comments

7 comments

  • Tagir Gadelshin
    • Network Optix team

    Hi, Hendrik Baekeland

    That's a great question, thanks!

    Our idea here is to introduce our Nx library of Object types, which will be used by all plugins. So if there will be 2 plugins, that detect Cars, all Cars will appear under the same Object Type with Attributes conforming to a common standard. Stub plugin declares its own "Car" object. This will be possible, but we will recommend it only for declaring object types that are not covered by our library. 

    For now, this library is not documented - it is going to be published in the upcoming Meta VMS releases.

    And this won't be "nx.stub.humanFace" -- this is not how we expect it to be used, this example in the Stub plugin is also going to be fixed. 

    We've mentioned this in release notes and this part is under active development, so sorry for any inconvenience. 

    0
  • Hendrik Baekeland

    Thanks, Tagir

    It's in the metadata SDK indeed. Declaration of plugin's objects is switched by the `declareStubObjectTypes` property. Object types are defined in the samples/stub_analytics_plugin/src/nx/vms_server_plugins/analytics/stub/modules/standard_taxonomy/module.cpp

    Do I understand correctly that 4.1 plugins doesn't work with 4.3 and vice versa? I get errors when I'm using my 4.1 plugin with Nx Meta 4.3 and I get the segmentation fault when I'm trying to use the new 4.3 stub_analytics_plugin with the current version of Nx.

    0
  • Tagir Gadelshin
    • Network Optix team

    Hendrik Baekeland, yep, this file contains types, that I'm talking about. I guess you can try using them, but I'd recommend waiting for 2-3 weeks, till the next Meta, we'll try implementing exhaustive examples in the Stub by that time.

    Do I understand correctly that 4.1 plugins doesn't work with 4.3 and vice versa? 

    Binary compatibility should not be broken. It might happen, that the plugin was not working correctly in 4.1, but 4.1 was not showing errors about that. Or 4.3 has some bug. Please, can I ask you to create a support ticket so our guys can look deeper into these errors?
    https://support.networkoptix.com/hc/en-us/requests/new

     

    0
  • Hendrik Baekeland

    Tagir, of course
    I will re-check it one more time in near days and will create a support ticket if it's not my error.

    0
  • Hendrik Baekeland

    Tagir, can only submit a licence-related question in the provided link. That's why I describe the issue here.

     

    You can reproduce this error with the stub_analytics_plugin SDK. Nx 4.3 works well with compressed frames. However, when I set needUncompressedVideoFrames to yuv420 in stub_analytics_plugin_ini.h, it fails to provide correct frames:

    May 06 08:35:01 devbox1 mediaserver[1501091]: [stub_analytics_plugin_device_{b716a17c-343f-44b4-d993-91ddf90edd69}] checkVideoFramePlane() ERROR: data(/*plane*/ 0) is null
    May 06 08:35:01 devbox1 mediaserver[1501091]: [stub_analytics_plugin_device_{b716a17c-343f-44b4-d993-91ddf90edd69}] checkVideoFramePlane() ERROR: lineSize(/*plane*/ 0) is 0

    0
  • Tagir Gadelshin
    • Network Optix team

    Hendrik Baekeland sorry for the inconvenience, you are not able to create tickets, but I can create them for you. I did it. We will post a summary here after the ticket is solved.

    0
  • Tagir Gadelshin
    • Network Optix team

    Hendrik Baekeland regarding your initial question about grouping objects. Take a look at our new Nx Meta 4.3 R2 we've rolled out recently. We've also updated SDK, added plugin examples for base library types usage, and exhaustive documentation on this new feature called Analytics Taxonomy. 

    0

Please sign in to leave a comment.