How to set traffic regions and export traffic-region data?

Getting stationary time, average speed or acceleration of objects within the area that you define is possible with us.

DataFromSky avatar
Written by DataFromSky
Updated over a week ago

Traffic regions are mostly used to define stationary vehicles in a certain area in the scene view, but you can get other information such as average speed or average acceleration of each object within the traffic region. You can set your own virtual traffic region in the video and you can move it or change it any time you want. You can use the possibility to export all the traffic data to .CSV file for further analysis as well.

To set a new Traffic region go to the main menu in the annotation editing and press Add Traffic Region. You can choose this option through right-clicking as well. (In the menu you can find annotations under Tracking log - Manage Annotation Configurations - Edit)

In the Selected Annotation settings you can see and set: 

  • Annotation Type – The currently selected annotation type.

  • Region ID –ID Annotation number.

  • Tag – You can edit the Traffic Region name here.

  • Allowed Types – Here you can set which kinds of objects the Traffic Region will detect.

  • Allowed Colours – Only in LIGHT mode. Here you can set which object colors the Traffic Region will detect.

  • Max. Stationary Vehicle Speed – Set the maximum speed at which the vehicle is considered stationary.

  • Min. Stationary Vehicle Spell – Set how long at least the vehicle must be below Max. Stationary Vehicle Speed to be considered stationary.

To export data from your traffic regions go to Analysis - Export Traffic Regions Crossing Events to .CSV File.

If you open your traffic region data file in Microsoft Excel, it will look like this:

See the interpretation of each column below:

  • Traffic Region ID – Unique ID of the traffic region.

  • Track ID – Unique identification number of each object.

  • Type – Object classification, there are 19 object categories. Read the TrafficSurvey classification article for more.

  • Entry Time [s] – Time of the video (in seconds), when the vehicle entered the traffic region.

  • Exit Time [s] – Time of the video (in seconds), when the vehicle left to the traffic region.

  • Avg. Speed [km/h] – Average speed in km/h within defined traffic region.

  • Avg. Tan. Acc. [ms-2] – Average tangential acceleration within the defined traffic region. A positive value means acceleration and a negative value means deceleration.

  • Avg. Lat. Acc. [ms-2] – Average Lateral acceleration within the defined traffic region. A positive value means acceleration and a negative value means deceleration.

  • Avg. Total Acc. [ms-2]  – Absolute size of the immediate acceleration vector.

  • Total Stationary [s] – Total stationary time within the traffic region.

  • Longest Stationary [s] – Longest stationary time measured within the traffic region.

We will be happy to answer any questions you may have. Contact us!

Did this answer your question?