Detection

This page documents an earlier firmware release. Read this page for the latest release

Detection is the first step of object tracking. It finds the objects in each frame of the foreground point cloud. You set its filter under Foreground neighbor filter in the Detection settings.

  1. A filter removes outlier points, such as noise.

  2. A variant of the DBSCAN clustering algorithm divides the remaining points into cohesive clusters, the detected objects.

Traffic lanes use the same filter and the same clustering, each on the foreground points inside its lane.

Parameters

Foreground neighbor filter

For the API, see RadiusOutlier.

Setting What it does Default Range

Minimum points

The number of neighbours a point needs within the Neighbor radius to be kept. Points with fewer neighbours are removed as noise. A higher number removes more noise points. In the API: min_neighbor_points.

3

1 to 30

Neighbor radius

The radius within which the neighbours are counted. A smaller radius removes more noise points. In the API: neighbor_radius.

0.5 m

0.1 to 3.0 m

DBSCAN clustering

The clustering has no settings in the WebGUI. For advanced use, see DBScan in the API.

Limitations

Limitation What it means

Objects appear merged

When objects are close together or overlap, for example a person walking in front of a moving car, they can appear as a single object. Two persons walking side by side, or a group of people, are then one object.

Algorithm

Foreground neighbor filter

Before the filter, the foreground is reduced to one point per 5 cm voxel. The radius outlier filter then removes the points that have fewer neighbours than the Minimum points within the Neighbor radius.

Clustering

DBSCAN is a density-based clustering algorithm that uses the Euclidean distance between points. Two points belong to the same cluster when they are closer than a radius of 0.2 m, which grows by 0.025 m for every metre of distance from the sensor. A cluster needs at least 10 points; points that belong to no cluster are dropped. These are the defaults of the API parameters radius, distance_dependent_radius and min_points.

Post-processing

Each cluster becomes a detected object with its point cloud and a bounding box. The size used for the classification is computed from the bounding box.