...
To configure the Queue detectiondetector, do the following:
- Go to the Detection Tools tab.
Below the required camera, click Create… → Category: Retail →Queue detectiondetector.
By default, the
...
detector is enabled and set to count the number of people in a queue.
If necessary, you can change the settings of the
...
detector parameters given in the table:
| Parameter | Value | Description |
|---|
| Object features |
| Record mask to archive | Yes | By default, the recording of the mask to the archive is disabled. To record the sensitivity scale of the |
detection tool detection tool | detector (mask)), select the Yes value |
| No |
| Video stream | Main stream | If the camera supports multistreaming, select the stream for which detection is needed |
| Other |
| Enable | Yes | By default, the |
detection tool | detector is enabled. To disable, select the No value |
| No |
| Name | Queue |
detection detection tool | detector name or leave the default name |
| Decoder mode | Auto | Select a processing resource for decoding video. When you select a GPU, a stand-alone graphics card takes priority (when decoding with Nvidia NVDEC chips). If there is no appropriate GPU, the decoding will use the Intel Quick Sync Video technology. Otherwise, CPU resources will be used for decoding |
| CPU |
| GPU |
| HuaweiNPU |
| Number of frames processed per second | 1 | Specify the number of frames for the |
detection tool | detector to process per second. The larger the value, the greater the load on the CPU. The value must be in the range [0.016; 100] |
| Type | Queue |
detection detection tool | detector type (non-editable field) |
| Advanced settings |
| Current queue size report interval | 0 | The default value is 0 (no events are sent). To send events to AxxonData (see Queue length report), specify the interval of events transmission in seconds. The value must be in the range [0, 600] |
| Frame size change | 1920 | The analyzed frames are scaled down to a specified resolution (1920 pixels on the longer side) by default. The following algorithm is used: - If the longer side of the source image exceeds the value specified in the Frame size change field, it is divided by two.
- If the resulting resolution falls below the specified value, the algorithm stops and this resolution will be used further.
- If the resulting resolution still exceeds the specified value, it is divided by two until it is less than the specified resolution.
| Info |
|---|
| For example, the source image resolution is 2048*1536, and the specified value is set to 1000. In this case, the source resolution will be halved two times (512*384), as after the first division, the number of pixels on the longer side exceeds the specified value (1024 > 1000). If detection is performed on a higher resolution stream and detection errors occur, we recommend reducing the compression. |
|
| Basic settings |
| Person size | 10 | | Info |
|---|
| It is better to specify the minimum size of a person graphically, the number in the Person size field is a conditional value. The value must be in the range [0.25, 10] |
Click the Image Modified button and specify the minimum size of a person. To do this, move the anchor points of the rectangular area: Image Modified
|
| Queue size | 5 | Specify the number of objects in a queue. When the number is exceeded, an event is generated. The value must be in the range [2, 20] |
| Sensitivity | 0.5 | Specify the sensitivity of the |
detection tool| detector. The higher the sensitivity, the better the algorithm reacts to minor motion. If you specify the minimum sensitivity value, only significant scene changes can be analyzed by the Queue |
detection detection tool In the preview window, you can specify the detection area by moving the anchor points
Image Removed where objects are detected (see Configuring a detection area) . and, if necessary, specify one ignore area (see Configuring the ignore area). You can specify the areas by moving the anchor points
Image Added.
| Info |
|---|
|
- For convenience of configuration, you can "freeze" the frame. Click the
Image Modified button. To cancel the action, click this button again. - The detection area is displayed by default. To hide it, click the
Image Modified button. To cancel the action, click this button again.
|
To save the parameters of the detection tooldetector, click the Apply
Image Modified button. To cancel the changes, click the Cancel
Image Modified button.
Configuration of the Queue detection detector is complete. The detection tool detector will generate events of the following type:
| Code Block |
|---|
Camera. Detection "Queue detectiondetector" triggered, queue (min.: 10, max.: 10) |
where min. and max. is are estimated queue lengthlengths.