NVDS Analytics Support for more than 2 line crossing per stream

The NVDS Analytics plugin generally support two lines for directional virtual line crossing detection in a stream. The config file sample shows 2 lines defined as line-crossing-Entry and line-crossing-Exit as follows:

[line-crossing-stream-0]
enable=1
line-crossing-Entry=1072;911;1143;1058;944;1020;1297;1020;
line-crossing-Exit=789;672;1084;900;851;773;1203;732
class-id=0
extended=0
mode=loose

But my application case requires more than two lines (4 lines) to be custom defined. I have searched the plugin documentation but found no such information about the configuration. The libnvds_dsanalytics.so is prebuilt and not customize-able. However, is there any way to customize 4 lines for line crossing detection?

The “Entry” and “Exit” are label names, you can refer the template line-crossing-<label> to define multiple lines. Please refer Gst-nvdsanalytics — DeepStream 6.1.1 Release documentation for definition, thanks.

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