To configure the queue detection tool, do the following:
- To record mask (highlighting of queues/lines) to archive, select Yes for the corresponding parameter (1).

- If a camera supports multistreaming, select the stream for which detection is needed (2). Selecting a low-quality video stream allows reducing the load on the Server.
Set an event transmission interval in seconds for sending data to the AxxonData report subsystem (see Queue length report) if the queue length exceeds the set limit (3). Zero value means no transmission of events.
- Select a processing resource for decoding video streams (4). When you select a GPU, a stand-alone graphics card takes priority (when decoding with NVidia NVDEC chips). If there's no appropriate GPU, the decoding will use the Intel Quick Sync Video technology. Otherwise, CPU resources will be used for decoding.
- By default, the frame is compressed to 1920 pixels on the longer side. To avoid detection errors on streams with a higher resolution, it is recommended that compression be reduced (5).
Set the frame rate value for the detection tool to process (6). This value should be in the range [0.016, 100]. The higher the value of this parameter, the greater the CPU load.
- Specify the number of people to trigger the alarm when exceeded (7). The value should be within the range of 2-20.
- Specify the detection tool sensitivity in standard units from 0 to 1 (8). The higher the sensitivity, the smaller the disturbances analyzed by the queue detection algorithm. Alternatively, the lower the sensitivity, the greater changes in scene are processed by the queue detection tool.
You should set the sensitivity value empirically based on the Motion mask data displayed in the Preview window.

- In the Preview window, you can set the detection zones with the help of anchor points much like privacy masks in Scene Analytics.
- Click
and set the approximate size of a human. You can do so by dragging the corners of the rectangular area.

- Click Apply.
The Queue detection tool is now configured. When the detection tool is triggered, the following events are generated:
where min. and max. is estimated queue length.