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

Status Page

Custom Object Detection and Custom Object Types Using Nx Metadata SDK

Comments

1 comment

  • Ichiro
    • Network Optix team

    Hi, 

    Thanks for reaching out. Short answer: yes, all of this is supported through the Metadata SDK. So the first step is to check the SDK and knowledgebase.

     

    1/3. Custom classes: 

    Yes. Your plugin declares its own object types (e.g. `com.yourcompany.fire`) and event types in its manifest. You don't need to reuse the built-in Nx types. 

    2/4. Integration: 

    The plugin receives frames, runs your model (YOLO or anything else), and pushes ObjectMetadata packets with your type IDs. How you map YOLO classes to Nx types is up to you, usually 1:1 in the plugin code. 

     

    If you like to check the Nx AI Manger, which is a great developer tool that can have your own models work for you with the post-processor for customize data process and event trigger. Please do have a close look on Nx AI Manager. It may let you deploy your own ONNX/YOLO models directly.
     

    5. Search: 

    All custom object types show up in the Objects tab filter and are searchable like the standard types, including any attributes you attach. 

    6. Multiple models:

    In general yes. You may use separate/individual plugins and enable them per camera. However, the question and the use case matters. At the moment, we don't have much content from you post, so we will leave this as of now while we have clearer use cases.

    7. References: 

    - Metadata SDK and docs: https://meta.nxvms.com/developers/plugins - Step-by-step object detection plugin tutorial: https://github.com/networkoptix/nx_open_integrations/tree/master/cpp/vms_server_plugins/opencv_object_detection_analytics_plugin 

    - The md files in the SDK source: 
    it provides clear and specific requriements during implementation, such as a manifest sample , attributes and taxonomy samples. It is recommended to study it.

    - The SDK package includes `sample_analytics_plugin` and `stub_analytics_plugin`, which cover custom object types, events and attributes. 

     

    The support approach to general developer questions: 

    - This forum is the place to ask questions. Please keep each thread focused on one question or issue, with a title that describes it.

    - Nx does not troubleshoot external or third-party code. Debugging your plugin is suggested to be done in your own environment.

    When you post an issue, please include:

    • Mediaserver version (required)
    • Server debug log (required)
    • Plugin log (required)
    • Manifest configuration (required)
    • Detailed steps to reproduce the issue (required)
    • Other environment details and configuration (strongly recommended)
    • A screen recording of the issue (strongly recommended)

    Our support covers the Nx application itself. If it isn’t clear whether an issue comes from Nx or from your side, please help to narrow it down first and share your investigation as well if necessary.

     

    Thanks.

    0

Please sign in to leave a comment.