Line crossing lines not showing on screen

I have added two line crossing groups in the analytics config file. Only the first group [line-crossing-stream-0] line crossing are being displayed on the screen and the lines in the second group [line-crossing-stream-1] are not being displayed on the screen

analytics.txt:

[property]
enable=1
#Width height used for configuration to which below configs are configured
config-width=720
config-height=480
#osd-mode 0: Dont display any lines, rois and text
#         1: Display only lines, rois and static text i.e. labels
#         2: Display all info from 1 plus information about counts
osd-mode=2
#Set OSD font size that has to be displayed
display-font-size=12

## Per stream configuration
[roi-filtering-stream-0]
#enable or disable following feature
enable=0
#ROI to filter select objects, and remove from meta data
roi-RF=295;643;579;634;642;913;56;828
#remove objects in the ROI
inverse-roi=0
class-id=-1

## Per stream configuration
[roi-filtering-stream-2]
#enable or disable following feature
enable=0
#ROI to filter select objects, and remove from meta data
roi-RF=295;643;579;634;642;913;56;828
#remove objects in the ROI
inverse-roi=1
class-id=0

[overcrowding-stream-1]
enable=0
roi-OC=295;643;579;634;642;913;56;828
#no of objects that will trigger OC
object-threshold=3
class-id=-1

[line-crossing-stream-0]
enable=1
#Label;direction;lc
#line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
# See documentation at https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvdsanalytics.html
# line-crossing-<yourname>=x/y direction vector followed by line x;y;x;y 
# per group.  Use coordinates based on config-width and config-height
line-crossing-Entry=471;371;459;332;389;336;540;323
line-crossing-Exit=439;267;447;295;375;301;521;291
#line-crossing-Entry1=218;434;221;386;168;385;260;384
#line-crossing-Exit1=234;309;230;344;181;345;266;342
class-id=-1
#extended when 0- only counts crossing on the configured Line
#              1- assumes extended Line crossing counts all the crossing
extended=1
#LC modes supported:
#loose   : counts all crossing without strong adherence to direction
#balanced: Strict direction adherence expected compared to mode=loose
#strict  : Strict direction adherence expected compared to mode=balanced
mode=balanced

[line-crossing-stream-1]
enable=1
#Label;direction;lc
#line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
# See documentation at https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvdsanalytics.html
# line-crossing-<yourname>=x/y direction vector followed by line x;y;x;y 
# per group.  Use coordinates based on config-width and config-height
#line-crossing-Entry1=451;341;454;332;389;336;540;323
#line-crossing-Exit1=469;265;445;295;375;301;521;291
line-crossing-Entry1=218;434;221;386;168;385;260;384
line-crossing-Exit1=234;309;230;344;181;345;266;342
class-id=-1
#extended when 0- only counts crossing on the configured Line
#              1- assumes extended Line crossing counts all the crossing
extended=1
#LC modes supported:
#loose   : counts all crossing without strong adherence to direction
#balanced: Strict direction adherence expected compared to mode=loose
#strict  : Strict direction adherence expected compared to mode=balanced
mode=balanced

[direction-detection-stream-0]
enable=0
#Label;direction;
direction-South=284;840;360;662;
direction-North=1106;622;1312;701;
class-id=0

• Geforece gtx 1660
• DeepStream 5.1

Similarly for roi-filtering-stream groups, only the lines of first group [roi-filtering-stream-0] are being displayed and the lines for the second group [roi-filtering-stream-2] are not being displayed

Hello @1.umairjavaid

Are you tring multiple roi-filter for single stream?

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

What’s your exact pipeline?

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