rust-road-traffic
rust-road-traffic copied to clipboard
Optional virtual lines
Added new optional attribute for detection zone: virtual_line
By default road traffic flow in calculated as number of vehicles which has been registered by naive verification metric: if even single point were registered in lane - it is counted as +1
.
This new attribute overrides default behavior and allows to count only vehicles which has been registered by virtual line in this zone.