Clarifications regarding nvmsgconv

• Hardware Platform (Jetson / GPU) T4
• DeepStream Version deepstream-6.1-base
• NVIDIA GPU Driver Version (valid for GPU only) 515
• Issue Type( questions, new requirements, bugs) Question

I have a couple of questions regarding the nvmsgconv plugin.

  1. What do the sensorX, placeX, analyticsX parameters in the config file stand for? How do these map to streams?
    I get how one sensor might map to a stream, but what does the place property stand for?
    See deepstream_python_apps/dstest4_msgconv_config.txt at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub.

  2. How do I get the ROI information? I’m using the msg2p-newapi = 1 property to generate the payloads automatically, but this output doesn’t seem to contain any information about the ROI from the analytics module. However, this is displayed in the display output just fine (with an ROI next to the label).

{
  "messageid" : "75463717-0ce8-4725-8ffc-3c2ef3de2b35",
  "mdsversion" : "1.0",
  "@timestamp" : "2022-11-17T15:33:10.774Z",
  "place" : {
    "id" : "1",
    "name" : "",
    "type" : "eindhoven",
    "location" : {
      "lat" : 6.9440426243327043e-310,
      "lon" : 6.9527302074313974e-310,
      "alt" : 6.9527302074329784e-310
    },
    "place-sub-field" : {
      "id" : "",
      "name" : "",
      "level" : "",
      "coordinate" : {
        "x" : 6.9527302074345594e-310,
        "y" : 4.0921449562245752e-316,
        "z" : 6.9527302074302117e-310
      }
    }
  },
  "sensor" : {
    "id" : "ip_camera",
    "type" : "Camera",
    "description" : "\"Camera 1\"",
    "location" : {
      "lat" : 0.0,
      "lon" : 1.018557979673212e-312,
      "alt" : 0.0
    },
    "coordinate" : {
      "x" : 0.0,
      "y" : 0.0,
      "z" : 2.5251749918613155e-312
    }
  },
  "analyticsModule" : {
    "id" : "AONI",
    "description" : "\"Filtering by Areas of No Interest\"",
    "source" : "CVAT",
    "version" : "1.0"
  },
  "object" : {
    "id" : "5",
    "speed" : 0.0,
    "direction" : 0.0,
    "orientation" : 0.0,
    "person" : {
      "confidence" : 0.87863659858703613
    },
    "bbox" : {
      "topleftx" : 0,
      "toplefty" : 0,
      "bottomrightx" : 0,
      "bottomrighty" : 0
    },
    "location" : {
    },
    "coordinate" : {
    }
  },
  "event" : {
    "id" : "1edca851-c9ba-4d2f-8932-7243ccca188d",
    "type" : ""
  },
  "videoPath" : ""
} 

Furthermore, I only want to publish objects that are within the ROI. However, I’m getting payloads for all objects. How can I filter out objects outside the ROI?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one.
Thanks

1.place stands for location with {lat, lon, alt}, Please refer the open source code:

/opt/nvidia/deepstream/deepstream/sources/gst-plugins/gst-nvmsgconv
/opt/nvidia/deepstream/deepstream/sources/libs/nvmsgconv

2.About ROI information, you can refer the open source code: apps/sample_apps/deepstream-nvdsanalytics-test

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.