Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Tip

Video stream and scene requirements for the Queue detectiondetector

Image requirements for the Queue detector

To configure the Queue detection tool, do the following:

  1. Go to the Detection Tools tab.
  2. Below the required camera, click Create…  Category: Retail  Queue detection.

By default, the detection tool is enabled and set to count the number of people in a queue.

If necessary, you can change the settings of the detection tool parameters given in the table:

ParameterValueDescription
Object features
Record mask to archiveYesBy default, the recording of the mask to the archive is disabled. To record

...

the sensitivity scale of the detection tool to the archive (see

...

...

value
No
Video streamMain streamIf the camera supports multistreaming, select the stream for which detection is needed

...

Other
EnableYesBy default, the detection tool is enabled. To disable, select the No value
No
NameQueue detectionEnter the detection tool name or leave the default name
Decoder modeAuto

...

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 second1Specify the number of frames for the detection tool 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]
TypeQueue detectionName of the detection tool type (non-editable field)
Advanced settings
Current queue size report interval0The 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:

  1. If the longer side of the source image exceeds the value specified in the Frame size change field, it is divided by two.
  2. If the resulting resolution falls below the specified value,

...

  1. the algorithm stops and this resolution will be used further.
  2. If the resulting resolution still exceeds the specified

...

  1. value, it is divided by two

...

  1. until it is less than the specified resolution.
Info
titleNote

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).

...

titleNote

If detection is performed on a higher resolution stream and detection errors occur,

...

we recommend reducing the compression.

...

Basic settings
Person size10
Info
titleNote

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 Added button and

...

specify the minimum size of a

...

person. To do this, move the anchor points of the rectangular area

...

:

Info
titleNote

It is recommended to set the minimum size of a human graphically. The number in the Human size field is a conventional value.

Image Added

Queue size5

...

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]
Sensitivity0.5Specify the sensitivity of the detection tool

...

. 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.
You

...

must specify the sensitivity value empirically based on the

...

data from the motion mask (see Displaying information from a detection tool (mask)) in the preview window

...

In the preview window, you can

...

specify the detection

...

area by moving the anchor points

...

Image Added (see Configuring a detection area). 

Info
titleNote
  • For convenience of configuration, you can "freeze" the frame. Click the Image Added button. To cancel the action, click this button again.
  • The detection area is displayed by default. To hide it, click the Image Added button. To cancel the action, click this button again.

To save the parameters of the detection tool, click the Apply Image Added button. To cancel the changes, click the Cancel Image Added button.

Configuration of the Queue detection is complete. The detection tool will generate events of the following type:

Code Block

...

The Queue detection tool is now configured. When the detection tool is triggered, the following events are generated:

No Format
Camera. Detection "Queue detection" triggered, queue (min.: 10, max.: 10)

where min. and max. is estimated queue length.