All Collections
Traffic analysis
Movements: How To Define Custom Traffic Flows for Analysis
Movements: How To Define Custom Traffic Flows for Analysis

Learn how you can define custom traffic flows on any traffic scene

Daniel Štofan avatar
Written by Daniel Štofan
Updated over a week ago

In GoodVision, a traffic movement is the flow of individual vehicles or pedestrians on one line (in one area) or between two or more lines/areas in a specific direction.

Define your traffic movement 

On the 'Describe scene' page, draw LINEs or ZONEs to your traffic scene, which will represent the entry and exit areas of your traffic movement. 

Then hit ‘+NEW’ under the ‘Movements’ tab (or press “M” on your keyboard) and drag your pointer from the entry area to the exit area to define the direction of the traffic movement flow.

A left turn above filters all traffic objects going from LINE 1 to LINE 2 (in that specific direction).

Movement settings

As a next step, you will see a settings panel on the right side of the screen. Here you can name your movement, change selected graphical objects (lines or zones), swap their order, or delete some if needed.

For one-line movements, you can set the direction of objects’ flow you want to analyze. There are three options you can choose between:

Bi-directional - both directions on the line are counted.

Directional - only objects in a specific direction are counted. The direction can be adjusted in the movement settings panel (left-right, bottom-up). Directional movements will receive an arrow sign behind the movement name to be clearly identifiable.

U-turn - count objects crossing a line in one direction and then the opposite.

Optionally, the distance between the filters (in meters or feet) can be entered for speed estimation (kph or mph).

By checking the checkbox ‘Create total volume widget’, you can create the widget on the ‘Analyze data’ page straight from this dialog.

There is also another checkbox available for some movements - Smart Corridor. This special feature can be applied only for movements between two lines which create a corridor for the traffic movement. Smart Corridor can link some of the potentially disconnected vehicle trajectories going the chosen movement direction and thus bring volume counts closer to the reality, especially for recordings with lower quality, low camera or minor obstacles. Get to know more about this feature here.

After saving it, the movement bean is created on the right panel. By clicking on the movement, the bean becomes green and only the trajectories that fulfill this traffic movement will be shown on the scene.

ZONEs or LINEs included in that selected movement will have green borders and the movement direction arrows will be animated.

Origin - Destination matrix generation

There is a simple way to generate the desired movements automatically and at once, without necessity to draw one after another. It’s best utilizable on basic kinds of scenes like simple bidirectional roads, 4-arm intersections or standard roundabouts but with a short practice, it can be useful on various types of traffic situations. Just create the necessary lines/zones and press the “Generate OD movements” button with the magic wand icon located in the top of the traffic movements section.

You’ ll see the matrix of all possible movements from which you can choose the ones you need. You can select origins, destinations or choose the particular movements from the table (including u-turns).

This way, all selected movements will be generated on the describe scene at once.

Movement editing

You can always edit all the settings if you need or delete a given movement using the buttons that are highlighted in the picture below.

Using the dots icon you can drag and drop individual movements to order them as you need.

Defining complex movements

GoodVision allows you to chain multiple detection areas to create even very complex movements. Simply drag your pointer over the detection areas which you’d like to include in the movement.

Getting the traffic data

Finally to analyze the traffic data defined by your movements, events or scenarios, create appropriate widgets on the Analyze page. See our guide on How to create widgets for the traffic volume, travel time, peak periods or various visual maps to get the most of the Video Insights platform.

Did this answer your question?