Objects are no longer groupped by plugins in 4.3. What does it mean?
CompletedHello,
I've installed Nx 4.3 and I don't understand how the new interface is supposed to be used.
Different plugins may use different ID's for the same object type. For instance there is a 'Face' object in the stub_analytics_plugin and 'Human face' in my version of plugin.
In the current version of Nx, I could choose objects based on the plugin, like in the following image
However, now there is a single area with all types of objects with repeating names:
Even though I have only 2 plugins installed it's not clear how to differentiate object types. Do I need a 'Vehicle' or 'Vehicle', 'Human face' or 'Face'?
Does it mean that developers should use the same id for the certain type of object, like 'nx.stub.humanFace' for faces, so it will be easier to manage objects?
Or it's supposed that user will not have the same object types in different plugins?
Or I should make more specific names, like '<My company> Faces' ?
Or it's not a problem and an end-user should use the system as it is in the second picture?
-
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 -
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 -
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/new0 -
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 -
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 00 -
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 -
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.
Comments
7 comments