Change roi line color failed:

i works on jetson xavier nx box by jetpack5.0.2 and deepstream6.1.1.
at transfer_learning app’s overlay probe, i try to change color of roi line but failed:

    display_meta->text_params[0].font_params.font_name = serif;
    display_meta->text_params[0].set_bg_clr = 1;
    display_meta->text_params[0].text_bg_clr = (NvOSD_ColorParams) {0, 0, 0, 1.0};
    //display_meta->line_params[0].line_width = 15; 
    //display_meta->line_params[0].line_color =  (NvOSD_ColorParams) {0, 1, 0, 1};

i also tried frame_meta_list again but failed, too. it seems that over_lay probe doesn’t be implemented at that app.

pls help to check the code and give some advices,
thank you very much!

There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.

From the code you attached, you just set the line_width and line_color. But you didn’t set the position paras.

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