Traffic Counting

Use case for counting traffic on dedicated urban & highway streets with the classification of vehicles according to our Classes/Subclasses

Introduction

You would like to know the traffic situation of an urban street or highway? SWARM software is providing the solution to get the number of vehicles passing at the street split by object type (Classes) and direction.

In order to efficiently organize and plan strategic infrastructure and traffic installations, gathering accurate and reliable data is key. Our traffic counting solution builds on Artificial Intelligence based software that is designed to detect, count and classify objects taking part in road traffic scenarios such as highways, urban and country roads, broad walks, intersections, and roundabouts. Generated traffic data can be used as an information basis helping decision-making processes in large Smart City projects as well as to answer basic questions about local traffic situations such as:

  • How many trucks are using an inner-city intersection every day?

  • Smart Insights about traffic load — Do I need to expand the road?

  • How many people are driving in the wrong direction?

  • Why/When and Where are people parking/using side strips on the highway?

  • What areas are more frequently used than others on the road?

Background

Technology wise our traffic counting system consists of the following parts: object detection, object tracking, counting objects crossing a virtual line in the field of interest as well as object classification. The following section of this article will briefly describe those pretrained technologies used for traffic counting.

Object Detection

The main task here is to distinguish objects from the background of the video stream. This is accomplished by training our algorithm to recognize a car as an object of interest in contrast to a tree, for example. This computer vision technology deals with localization of the object. While framing the item in the image retrieved from the frames per second out of the analyzed stream, it is correctly labeled with one of the predefined classes.

Object Classification

The recognized objects are furthermore classified to differentiate the different types of vehicles available in traffic. Depending on the weight, axis and other features, the software can distinguish the recognized images from predefined and trained classes. For each item, our machine learning model will provide one of the object classes detected by SWARM as an output.

Object Tracking

Where was the object initially detected, and where did it leave the retrieved camera image? We accomplish to equip you with information to answer to this question. Our software is detecting the same object again and again and in the way tracking it from one frame to the next within the generated stream. The gathered data enables you to visualize the exact way of the object for e.g. generating heat maps, analyzing frequented areas in the scene and/or planning strategic infrastructure needs.

Crossing Virtual Lines

Another technology available in our traffic counting is used to monitor the streamed scene. By manually drawing a virtual line in our Swarm Control Center (SCC), we offer an opportunity to quantify the objects of interest crossing your counting line (CL). When objects are successfully detected and tracked until they reach a CL, our software will be triggering an event, setting the counter for this line accordingly.

Technology Specifics

In traffic counting we distinguish between the following use cases: highway, roundabout, urban traffic and country road. We measure the accuracy values individually for each scene. This way ensures that every new version of our model not only improves accuracy in some usecases but delivers more stable and more accurate measurements across possible scenarios.

Scenes

Highway

  • Scene description: Highway with four lanes

  • Task: Count cars and trucks in both directions

  • Conditions: daylight

  • Camera setup: 1280×720 resolution, 6 m height, 20 m distance

  • Object velocity: 60-130 km/h

  • Objects: >900

Roundabout

  • Scene description: Roundabout with four exits

  • Task: Count cars and trucks in all eight directions

  • Conditions: daylight

  • Camera setup: 1280×720 resolution, 4 m height, 30 m distance

  • Object velocity: 5-30 km/h

  • Objects: >100

Performance

Our Traffic Counting solution acquires an accuracy over 93.59%*.

*SWARM main classes detected only (Person, Rider, Vehicle — PRV)

Application Limitations

Last updated