how to use nvosd part of deepstream in my own c++ project

Deepstream has many great features for video analysis, such as “On-screen display API for highlighting objects and text overlay”, “Accelerated X11/EGL-based rendering”, and so on.

I wonder whether it is allowed to use nvosd part to draw images in my own c++ project, like OpenCV api.

Thanks in advance.

I think you can use nvll_osd_api.h and libnvds_osd.so, but we have no sample currently.

Thanks for your reply.

I’ve seen the file nvll_osd_api.h. However, there are only few functions in this header file. And I cannot figure out how to use those functions. Are there more materials ?

Sincerely.

What function do you need?
Can you check https://docs.nvidia.com/metropolis/deepstream/plugin-manual/index.html#page/DeepStream_Plugin_Manual%2Fdeepstream_plugin_details.02.06.html