Multiple roi-filter area on the same stream

• Hardware Platform: Jetson
• DeepStream Version: 5.0 GA
• JetPack Version: 4.4
• TensorRT Version 7.1

• Issue Type: questions

Hi,

I have multiple area to filter the object inside it.

Does the current deepstream supports multiple roi-filter rule in single stream?
I tried to add multiple [roi-filtering-stream-0] group but the osd show only the last one on the config file.

If possible, how do I add multiple roi-filter area in single stream, or draw multiple polygons in the same [roi-filtering-stream-0] group?

This is my config file.

[property]
enable=1
config-width=1325
config-height=745
osd-mode=2
display-font-size=12


[roi-filtering-stream-0]
enable=1
roi-RF=203;119;498;110;500;516;182;519
inverse-roi=0
class-id=-1


[roi-filtering-stream-0]
enable=1
roi-RF=410;107;873;126;858;491;398;469
inverse-roi=0
class-id=-1

Please you try with different labels:
roi-RF= 295;643;579;634;642;913;56;828
roi-OC= 295;643;579;634;642;913;56;828

Thank you for the answer.
Based on the document

I understand that roi-RF is intended for ROI Filtering and roi-OC is inteeded for Overcrowding Detection.

This method could work if we have only 2 area of interest.
However, if it possible for 3 or more area?

It’s just a label, you can try roi-RF1, roi-RF2 …