Maximum line number

5 #define MAX_IN_BUF 16

Is 16 the maximum number of lines I’m able to add w/o providing extra memory to the core?

Talking about the NvOSD_FrameLineParams. NVIDIA DeepStream SDK API Reference: On-Screen Display API

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

If the num_lines reach to 16, you can acquire new display meta like following:

             if (disp_meta->num_lines == MAX_ELEMENTS_IN_DISPLAY_META) {
                  nvds_add_display_meta_to_frame (frame_meta, disp_meta);
                  disp_meta = nvds_acquire_display_meta_from_pool(batch_meta);
                  disp_meta->num_lines = 0;
                }