Blurring in deepstream

Hi, I’m working on real-time traffic analysis using live RTSP streams, where vehicles and persons are detected and tracked. In the DeepStream pipeline, I want to blur specific areas of the output video. Currently, I can mask these areas by drawing rectangles and filling them with solid colors. Is there a way to apply a blur effect instead?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson Xavier AGX
• DeepStream Version - 6.3
• JetPack Version (valid for Jetson only) - 5.1.4
• Issue Type( questions, new requirements, bugs) - Question

What kind of specific areas? The objects?

@Fiona.Chen We have already segmented and saved the private areas on each side of the roads that need to be blurred. These areas are marked with rectangular shapes in DeepStream, and we need to apply a blur effect specifically to those regions.

@Fiona.Chen @kesong Is there any way for this?

Currently the blur function is not supported. How did you marked the areas with rectangular shapes? Adding rectangles with the NvDsDisplayMeta?

@Fiona.Chen We have marked specific areas of the frame with rectangular shapes and saved this data in a text file (this was done outside of DeepStream). Using these rectangular coordinates, can we achieve blurring?

Can I pass the input stream through an OpenCV layer before DeepStream, where OpenCV performs blurring and then passes the frames to DeepStream? However, since I’m working on real time solution would like to know the performance impact of this approach

Current DeepStream does not support such blur function. We will consider this requirement.

1 Like

@Fiona.Chen We have developed a custom plugin in DeepStream to implement the blur functionality. Feel free to contact us if you’re interested.

Great! Thank you for sharing the information!

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