MQTT question #2

OK, having now connectivity to my MQTT broker directly out of DeepStream.

But I have a little problem to understand the transmissions.

I can see, that there are way more detections (from the log of test4.py) then reports in MQTT.

Example: The log shows, that a couple of frames have been received with cars and people. However, the report which seems to digest that (??) does neither contain the cars nor all the people detected so far (I have commented all settings regarding sensor0, place0 and place1 as well as analytics0) in /opt/nvidia/deepstream/deepstream-6.4/sources/deepstream_python_apps/apps/deepstream-test4/dstest4_msgconv_config.txt:

Frame Number = 1381 Vehicle Count = 18 Person Count = 2
Frame Number = 1382 Vehicle Count = 15 Person Count = 3
Frame Number = 1383 Vehicle Count = 18 Person Count = 2
Frame Number = 1384 Vehicle Count = 18 Person Count = 2
Frame Number = 1385 Vehicle Count = 15 Person Count = 2
Frame Number = 1386 Vehicle Count = 17 Person Count = 2
Frame Number = 1387 Vehicle Count = 17 Person Count = 2
Frame Number = 1388 Vehicle Count = 16 Person Count = 2
Frame Number = 1389 Vehicle Count = 20 Person Count = 2
Frame Number = 1390 Vehicle Count = 20 Person Count = 2
Frame Number = 1391 Vehicle Count = 22 Person Count = 2
Frame Number = 1392 Vehicle Count = 21 Person Count = 3
Frame Number = 1393 Vehicle Count = 19 Person Count = 2
Frame Number = 1394 Vehicle Count = 17 Person Count = 3
Frame Number = 1395 Vehicle Count = 16 Person Count = 2
Frame Number = 1396 Vehicle Count = 16 Person Count = 3
Frame Number = 1397 Vehicle Count = 17 Person Count = 3
Frame Number = 1398 Vehicle Count = 24 Person Count = 2
Frame Number = 1399 Vehicle Count = 17 Person Count = 3
Frame Number = 1400 Vehicle Count = 18 Person Count = 3
Frame Number = 1401 Vehicle Count = 20 Person Count = 3
Frame Number = 1402 Vehicle Count = 16 Person Count = 3
Frame Number = 1403 Vehicle Count = 17 Person Count = 2
Frame Number = 1404 Vehicle Count = 19 Person Count = 3
Frame Number = 1405 Vehicle Count = 17 Person Count = 3
Frame Number = 1406 Vehicle Count = 20 Person Count = 3
Frame Number = 1407 Vehicle Count = 19 Person Count = 3
Frame Number = 1408 Vehicle Count = 18 Person Count = 2
Frame Number = 1409 Vehicle Count = 19 Person Count = 2
Frame Number = 1410 Vehicle Count = 18 Person Count = 2
payload{
  "messageid" : "109b215e-5b0d-407b-bf07-39297fcd3a43",
  "mdsversion" : "1.0",
  "@timestamp" : "2024-04-19T19:07:45.303Z",
  "place" : null,
  "sensor" : null,
  "analyticsModule" : null,
  "object" : {
    "id" : "18446744073709551615",
    "speed" : 0.0,
    "direction" : 0.0,
    "orientation" : 0.0,
    "person" : {
      "age" : 45,
      "gender" : "male",
      "hair" : "black",
      "cap" : "none",
      "apparel" : "formal",
      "confidence" : 0.71452254056930542
    },
    "bbox" : {
      "topleftx" : 446,
      "toplefty" : 488,
      "bottomrightx" : 476,
      "bottomrighty" : 552
    },
    "location" : {
      "lat" : 0.0,
      "lon" : 0.0,
      "alt" : 0.0
    },
    "coordinate" : {
      "x" : 0.0,
      "y" : 0.0,
      "z" : 0.0
    },
    "pose" : {    }
  },
  "event" : {
    "id" : "95b07161-682e-42e5-86a5-700383164202",
    "type" : "entry"
  },
  "videoPath" : ""
} 
 
Frame Number = 1411 Vehicle Count = 17 Person Count = 2
Frame Number = 1412 Vehicle Count = 20 Person Count = 2
Frame Number = 1413 Vehicle Count = 15 Person Count = 2
Frame Number = 1414 Vehicle Count = 16 Person Count = 2
Frame Number = 1415 Vehicle Count = 18 Person Count = 2
Frame Number = 1416 Vehicle Count = 18 Person Count = 3

It looks like every second “something” is sent, whereas I don’t have a real understanding of what “something” is. Any explanation available?

TIA

Ah, I see, it’s done programmatically. Sorry, should have checked the code first. No issue anymore.

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