Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is source available for custom libnvds_msgconv.so ? #66

Open
RockyPhoenix opened this issue Mar 18, 2023 · 3 comments
Open

Is source available for custom libnvds_msgconv.so ? #66

RockyPhoenix opened this issue Mar 18, 2023 · 3 comments

Comments

@RockyPhoenix
Copy link

The x86 and arm64/Jetson binaries for libnvds_msgconv.so are provided in bin/ and it appears they are essential to convert the object metadata into the form needed for this test application.

Is the source available and if so, can it be included as part of this application?

@RockyPhoenix RockyPhoenix changed the title Source for custom libnvds_msgconv.so Is source available for custom libnvds_msgconv.so ? Mar 18, 2023
@avighi
Copy link

avighi commented Dec 6, 2023

Is it possible add informations about object who crossed the line?
Like this

"object" : {
"id" : 9,
"type" : "person",
"bbox" : [
296,
441,
183,
425
]

@RockyPhoenix
Copy link
Author

@avighi It's my understanding this is possible. You would need to read the metadata that gst-nvinfer gst-nvtracker are attaching to the frame and then pack into the message that libnvds_msgconv is preparing for the broker.

We created a custom version of nvmsgconv.cpp that implements the NVDS_PAYLOAD_CUSTOM payload type via custom code in dsmeta_payload.cpp

We did a quick modification to one of the generate_dsmeta_message methods to pull our data from frame_usermeta->user_meta_data

I'm not sure if the raw inference output is in frame_meta (NvDsFrameMeta) or if it's in frame_meta->frame_user_meta_list (NvDsAnalyticsFrameMeta)

@RockyPhoenix
Copy link
Author

Check out the other generate_dsmeta_message methods to see where they're pulling the data from. For example generate_dsmeta_message_minimal seems to be packing all of the data you're interested in, just with a different schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants