Documentation for msg-conv-config file?

I have this dstest-msgconv-sample-config file in my deepstream-test5 app. I am unable to find the documentation for this config file. Can someone here provide the documentation for this config file in particular?

Also, I have a video in which I have drawn the entry and exit lines using gst-nvdsanalytic config file. How can I collect the data of how many people entered and exited through those lines. Do I have to edit this dstest-msgconv-sample-config file in anyway? If I have to, then how should I go about it?


[sensor0]

enable=1

type=Camera

id=HWY_20_AND_LOCUST__EBA__4_11_2018_4_59_59_508_AM_UTC-07_00

location=45.293701447;-75.8303914499;48.1557479338

description=Aisle Camera

coordinate=5.2;10.1;11.2

[sensor1]

enable=1

type=Camera

id=HWY_20_AND_LOCUST__WBA__4_11_2018_4_59_59_379_AM_UTC-07_00

location=45.293701447;-75.8303914499;48.1557479338

description=Aisle Camera

coordinate=5.2;10.1;11.2

[sensor2]

enable=1

type=Camera

id=HWY_20_AND_DEVON__WBA__4_11_2018_4_59_59_134_AM_UTC-07_00

location=45.293701447;-75.8303914499;48.1557479338

description=Aisle Camera

coordinate=5.2;10.1;11.2

[sensor3]

enable=1

type=Camera

id=HWY_20_AND_LOCUST__4_11_2018_4_59_59_320_AM_UTC-07_00

location=45.293701447;-75.8303914499;48.1557479338

description=Aisle Camera

coordinate=5.2;10.1;11.2

[place0]

enable=1

id=0

type=intersection/road

name=HWY_20_AND_LOCUST__EBA

location=30.32;-40.55;100.0

coordinate=1.0;2.0;3.0

place-sub-field1=C_127_158

place-sub-field2=Lane 1

place-sub-field3=P1

[place1]

enable=1

id=1

type=intersection/road

name=HWY_20_AND_LOCUST__WBA

location=30.32;-40.55;100.0

coordinate=1.0;2.0;3.0

place-sub-field1=C_127_158

place-sub-field2=Lane 1

place-sub-field3=P1

[place2]

enable=1

id=2

type=intersection/road

name=HWY_20_AND_DEVON__WBA

location=30.32;-40.55;100.0

coordinate=1.0;2.0;3.0

place-sub-field1=C_127_158

place-sub-field2=Lane 1

place-sub-field3=P1

[place3]

enable=1

id=3

type=intersection/road

name=HWY_20_AND_LOCUST

location=30.32;-40.55;100.0

coordinate=1.0;2.0;3.0

place-sub-field1=C_127_158

place-sub-field2=Lane 1

place-sub-field3=P1

[analytics0]

enable=1

id=XYZ_1

description=Vehicle Detection and License Plate Recognition

source=OpenALR

version=1.0

[analytics1]

enable=1

id=XYZ_2

description=Vehicle Detection and License Plate Recognition 1

source=OpenALR

version=1.0

[analytics2]

enable=1

id=XYZ_3

description=Vehicle Detection and License Plate Recognition 2

source=OpenALR

version=1.0

[analytics3]

enable=1

id=XYZ_4

description=Vehicle Detection and License Plate Recognition 4

source=OpenALR

version=1.0

system info:
• gtx 1660
• DeepStream 5.1

Hi,
These are the predefined values for endeavor garage project. deepstream_360_d_smart_parking_application/analytics_server_docker at master · NVIDIA-AI-IOT/deepstream_360_d_smart_parking_application · GitHub
for your reference in case you needed.

for your case, it’s better you refer to this,

In addition to common fields provided in NvDsEventMsgMeta structure, user can also create custom objects and attach to buffer as NVDS_EVENT_MSG_META metadata. To do that NvDsEventMsgMeta provides “extMsg” and “extMsgSize” fields. User can create custom structure, fill that structure and assign the pointer of that structure as “extMsg” and set the “extMsgSize” accordingly. If custom object contains fields that can’t be simply mem copied then user should also provide function to copy and free those objects.

Refer generate_event_msg_meta() to know how to use “extMsg” and “extMsgSize” fields for custom objects and how to provide copy/free function and attach that object to buffer as metadata.

1 Like

Can you provide me an example please? that would help me a lot

We do not have sample, you could refer to generate_event_msg_meta() to know how to use “extMsg” and “extMsgSize” fields for custom objects

Where is generate_event_msg_meta() defined?

test4 or test5 app.

Can you tell me which function gets called when a person crosses the line defined in nvds-analytic config file?

The “nvdsanalytics” plugin does analytics on the tracked output for Line crossing/Direction Detection/ROI Filtering/Overcrowding detection. It attaches results as
object metadata and frame metadata with each of the frame and sends it down for further processing. Refer “nvds_analytics_meta.h” on how the metadata is stored,
and it is accessed in the app using nvdsanalytics_src_pad_buffer_probe() function. Per class object count is also stored in the frame metadata.

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