---
title: "Detection2DSettings"
product: "LumiScan VGR"
component: "lumiscan-vgr"
version: "1.8.4"
display_version: "1.8.4.6"
latest_version: true
language: "en"
url: "https://docs.hdvisionsystems.com/en/lumiscan-vgr/1.8.4/api/settings/detection-2d-settings.html"
---

# Detection2DSettings – LumiScan VGR

Defines the individual steps that are performed for the 2D detection. The steps are in chronologial order, i.e. each output of processing step i is processed individually by processing step i + 1.

## Member Variables

- **`steps`:** `std::vector< std::shared_ptr< Detection2DStepSettingsBase > >` *JSON Type*: array of Detection2DStepSettingsBase objects

- **`sort`:** `std::optional< DistanceToReferencePointParameter >`, default: `\{std::nullopt\}`

- **`filter`:** `std::optional< TopNParameter >`, default: `\{std::nullopt\}`
