Gst-nvdsanalytics cross-line statistics problem

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
GPU
• DeepStream Version
6.3.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
8.5
• NVIDIA GPU Driver Version (valid for GPU only)
535.54.03
• Issue Type( questions, new requirements, bugs)
bugs
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

When I use the cross-line statistics function of the Gst-nvdsanalytics plug-in, when a person enters the line, the cross-line count will increase by one, and when the person leaves the line, it will decrease by one. This is in line with expectations. However, sometimes, the cross-line count does not count after the person enters the line until the person leaves the line again. At this time, the cross-line count shows that the person enters once and leaves once. The mode is loose

I am very troubled by the effect that sometimes it is accurate and sometimes it is not. Please help me. Thank you

The code is as follows, where objLCCumCnt is the attribute used for counting
probe_handler.txt (23.7 KB)

Can you use deepstream-preprocess-test to reproduce the issue? if so, could you provide the configuration file and test video? Thanks!

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