Change color of line crossing

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 5.1

Hi everyone,

In the Nvdsanalytics module, the color of line crossing is Green by default. There is any way to change it to another color?

Thank you,

mabye use nvosd cover?

Hello, apparently with the parameter “line_color” is possible, I discovered it some time ago looking at the following repository in github:

In the part where they define line-crossing, has commented that parameter. However I have never bought it, I hope it can be useful for you.

1 Like

Thank you, it worth to try.

It’s seem DS 5.1 does not support ‘line_color’ key in the config file. I got an error message: Unknown key 'line_color' in group in 'line-crossing-stream-0'

Yeah, we don’t support it, but you can change the color by modifying the display meta _NvOSD_LineParams — Deepstream Deepstream Version: 5.1 documentation