Go to documentation repository
Page History
Tip |
---|
Video stream and scene requirements for the Visitors Countercounter |
Note | ||
---|---|---|
| ||
|
To configure the Visitors counter detection tool, do the following:
...
Click the button and specify the size of a human (4). You can do this by dragging the anchor points of the rectangular area. You can also specify the size of a human manually by entering into the Human size field (9) the area of the rectangle around a human as a percentage of the frame area. Consider that to calculate the size, the size of the compressed frame is taken into account (7) and not the original size of the video stream. The value should be in the range [1; 75].
Note | ||
---|---|---|
| ||
When specifying the size of a human, consider the Image requirements for the Visitors Counter. |
...
- Go to the Detectors tab.
- Below the required camera, click Create… → Category: Retail → Visitors counter.
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 | ||
Video stream | Main stream | If the camera supports multistreaming, select the stream for which detection is needed |
Other | ||
Enable | Yes | By default, the detector is enabled. To disable, select the No value |
No | ||
Name | Visitors counter | Enter the 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 | 25 | Specify the number of frames for the 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 | Visitors counter | Name of the detector type (non-editable field) |
Advanced settings | ||
Frame size change | 640 | The analyzed frames are scaled down to a specified resolution (by default, 1920 pixels on the longer side) by default. The following algorithm is used:
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Number of people indoor | 0 | Enter |
...
the number of |
...
people indoor at the time you are configuring the detector. The value must be in the range [0 |
...
, 100000] | ||
People indoor counter | Yes | By default, the |
...
parameter is disabled. The detector generates events: Camera. Visitor access in the direction of "Entrance" and Camera. Visitor access in the direction of "Exit" |
...
. If you also want to count visitors at the facility |
...
and |
...
generate an event when the threshold value is exceeded, |
...
select the Yes value |
No |
People indoor counter |
...
threshold | 10000 | Specify the threshold value of the number of people indoor. If this value is exceeded, the detector generates an event. The value must be in the range [0 |
...
, 100000] | ||||||||||||
Basic settings | ||||||||||||
Person size | 20 |
Specify the area of the rectangle around a person as a percentage of the frame area. Note that the size is calculated based on the compressed frame size, not the original size of the video stream. The value must be in the range [1, 75].
Click the button in the preview window and specify the size of a person. To do this, move the anchor points of the rectangular area: |
In the preview window, specify the detection area. The detection area is divided into two sectors—area 1 and area 2. The transition from area 1 to area 2 is the visitor's passage in the "Exit" direction. The transition from area 2 to area 1 is the visitor's passage in the "Entrance" direction. If the People indoor counter parameter is enabled:
- Transition from area 1 to area 2—minus one to the visitors counter.
- Transition from area 2 to area 1—plus one to the visitors counter.
You can configure the sectors, using the anchor points or lines. To swap sectors, click inside one of them.
Info | ||
---|---|---|
| ||
For convenience of configuration, you can "freeze" the frame. Click the button. To cancel the action, click this button again. Sectors are displayed by default. To hide them, click the button. To cancel the action, click this button again. |
To save the parameters of the detector, click the Apply button. To cancel the changes, click the Cancel button.
Configuration of the Visitors counter is
...
Configuration of the Visitors counter detection tool is now complete.