I set up this demo on the Nvidia DeepStream docker image and got incorrect Kafka output.
{
"messageid" : "87854ed3-aec2-4046-ad5f-2cfb67c73bca",
"mdsversion" : "1.0",
"@timestamp" : "2022-01-19T09:20:34.438Z",
"place" : {
"id" : "0",
"name" : "HWY_20_AND_LOCUST__EBA",
"type" : "intersection/road",
"location" : {
"lat" : 30.32,
"lon" : -40.549999999999997,
"alt" : 100.0
},
"entrance" : {
"name" : "C_127_158",
"lane" : "Lane 1",
"level" : "P1",
"coordinate" : {
"x" : 1.0,
"y" : 2.0,
"z" : 3.0
}
}
},
"sensor" : {
"id" : "HWY_20_AND_LOCUST__EBA__4_11_2018_4_59_59_508_AM_UTC-07_00",
"type" : "Camera",
"description" : "Aisle Camera",
"location" : {
"lat" : 45.293701446999997,
"lon" : -75.830391449900006,
"alt" : 48.155747933800001
},
"coordinate" : {
"x" : 5.2000000000000002,
"y" : 10.1,
"z" : 11.199999999999999
}
},
"analyticsModule" : {
"id" : "XYZ",
"description" : "",
"source" : "OpenALR",
"version" : "1.0"
},
"object" : {
"id" : "0",
"speed" : 0.0,
"direction" : 0.0,
"orientation" : 0.0,
"person" : {
"age" : 0,
"gender" : "",
"hair" : "",
"cap" : "",
"apparel" : "",
"confidence" : 1.0
},
"bbox" : {
"topleftx" : 0,
"toplefty" : 0,
"bottomrightx" : 0,
"bottomrighty" : 0
},
"location" : {
"lat" : 0.0,
"lon" : 0.0,
"alt" : 0.0
},
"coordinate" : {
"x" : 0.0,
"y" : 0.0,
"z" : 0.0
}
},
"event" : {
"id" : "84c7ed09-a0e4-4a0e-8c46-41c320faf8ac",
"type" : "entry"
},
"videoPath" : ""
}
root@0980fa10c7ef:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-occupancy-analytics# ./deepstream-test5-analytics -c config/test5_config_file_src_infer_tlt.txt
(deepstream-test5-analytics:12): GLib-CRITICAL **: 10:07:58.602: g_strchug: assertion 'string != NULL' failed
(deepstream-test5-analytics:12): GLib-CRITICAL **: 10:07:58.602: g_strchomp: assertion 'string != NULL' failed
** WARN: <create_pipeline:1141>: Num of Tiles less than number of sources, readjusting to 2 rows, 1 columns
Warning: 'input-dims' parameter has been deprecated. Use 'infer-dims' instead.
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-5.1/lib/libnvds_nvdcf.so
gstnvtracker: Batch processing is OFF
gstnvtracker: Past frame output is OFF
0:00:01.980342116 12 0x5594fd44f360 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-occupancy-analytics/config/peoplenet/resnet34_peoplenet_pruned.etlt_b1_gpu0_int8.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:685 [Implicit Engine Info]: layers num: 3
0 INPUT kFLOAT input_1 3x544x960
1 OUTPUT kFLOAT output_bbox/BiasAdd 12x34x60
2 OUTPUT kFLOAT output_cov/Sigmoid 3x34x60
0:00:01.980472313 12 0x5594fd44f360 INFO nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary_gie> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-occupancy-analytics/config/peoplenet/resnet34_peoplenet_pruned.etlt_b1_gpu0_int8.engine
0:00:01.983028354 12 0x5594fd44f360 INFO nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary_gie> [UID 1]: Load new model:/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-occupancy-analytics/config/config_infer_primary_peoplenet.txt sucessfully
Runtime commands:
h: Print this help
q: Quit
p: Pause
r: Resume
NOTE: To expand a source in the 2D tiled display and view object details, left-click on the source.
To go back to the tiled display, right-click anywhere on the window.
** INFO: <bus_callback:181>: Pipeline ready
** INFO: <bus_callback:167>: Pipeline running
~~ CLOG[src/modules/NvDCF/NvDCF.cpp, NvDCF() @line 670]: !!![WARNING] Can't open config file (/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-occupancy-analytics/config/tracker_config.yml). Will go ahead with default values
~~ CLOG[src/modules/NvDCF/NvDCF.cpp, NvDCF() @line 682]: !!![WARNING] Invalid low-level config file is provided. Will go ahead with default values
[NvDCF] Initialized
WARNING; playback mode used with URI [file:///opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_1080p_h264.mp4] not conforming to timestamp format; check README; using system-time
~~ CLOG[src/modules/NvDCF/NvDCF.cpp, NvDCF() @line 670]: !!![WARNING] Can't open config file (/opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample_apps/deepstream-occupancy-analytics/config/tracker_config.yml). Will go ahead with default values
~~ CLOG[src/modules/NvDCF/NvDCF.cpp, NvDCF() @line 682]: !!![WARNING] Invalid low-level config file is provided. Will go ahead with default values
[NvDCF] Initialized
WARNING; playback mode used with URI [file:///opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_1080p_h264.mp4] not conforming to timestamp format; check README; using system-time
**PERF: FPS 0 (Avg) FPS 1 (Avg)
Wed Jan 19 10:08:03 2022
**PERF: 21.16 (20.74) 20.74 (20.60)
q
Quitting
[NvDCF] De-initialized
[NvDCF] De-initialized
App run successful