Have you tried add the config item similar as following in your nvanalytics config, just different direction and the same virtual line, let me know if this can work well on your side.
Yeah sorry if it was not clear, I am able to get a line and get counting happening using the virtual line. The issue is that when a person cross the line at a sharp angle, the plugin doesnt count them. I assume this is because there is a calculation made that the detection and previous detection are used for a direction vector and this is compared to the direction set in the line crossing.
I was wondering if there is a tolerance in the direction, say if the line direction is set at 90degress, it counts 20 degress either side?
In DS 5.0 DP release, we cannot support the feature, you can wait for the coming release which will support it.
Currently, you can try to add direction vec for the same virtual line like comment 2 and angle between the 2 vec more than a threshold, you can set the threshold 60.