Go to documentation repository
Page History
To create the People counter detector, do the following:
- Create the Human pose detector (see Configuring the Human pose detector).
- Below the Human pose detector, click Create… → People counter.
The People counter detection tool counts detector counts the number of people in the specified area using the pose detection metadata.metadata of the Human pose detector.
An event, on the basis of which a macro can be started A macro triggers when the number of individuals in FOV matches the predefined conditions (see Configuring start conditions for event-driven macros)), can be generated if the number of people in the frame meets the specified conditions.
Info | ||
---|---|---|
| ||
|
To configure the People counter detection tool, do the following:
...
If necessary, you can change the detector parameters. The list of parameters is given in the table:
Parameter | Value | Description |
---|---|---|
Object features | ||
Record mask to archive | Yes | Mask is recorded to the archive by default. To disable the parameter, select the No value |
No | ||
Other | ||
Enable | Yes | The detector is enabled by default. To disable the detector, select the No value |
No | ||
Name | People counter | Enter the detector name or leave the default name |
Type | People counter | Name of the detector type (non-editable field) |
Basic settings | ||
Alarm when value | In range | Specify when the detector must generate an event: |
Set the People counter detection tool triggering condition:
...
when the number of people in the specified area is within the set range |
...
or out of the |
...
range | ||
Out of range | ||
End value of alarm range settings | 100 | Specify the range of the number of people in |
...
the frame. The value |
...
must be in the range [0 |
...
, 100] |
...
Event interval | 1 | Specify the |
...
interval in seconds between two consecutive |
...
events of the |
...
detector when the number of |
...
people in |
...
the frame continuously |
...
meets the specified conditions. The value |
...
must be in the range [1 |
...
, 10000] |
...
Number of measurements in a row to trigger detection | Specify |
...
the minimum number of frames |
...
with the set number of people |
...
for the detector to generate an event. The value |
...
must be in the range [1 |
...
, 20]. |
...
The recommended (default) value is 2. | ||
Start value of alarm range settings | 5 | Specify the range of the number of people in the frame. The value must be in the range [0, 100] |
If necessary, you can configure the detection area. For this, do the following:
- Click in the preview window.
- Select Area of people counting.
- Set the detection area using the anchor points . You can create multiple areas.
Info | ||
---|---|---|
| ||
|
To save the parameters of the detector, click the Apply button.To cancel the changes, click the Cancel button.
Configuration of the People counter is complete.
In the Surveillance window on the layout next to the counter icon, you can add
Configuring the People counter detection tool is complete.
To display the counter and the number of counted people, do the following:
- Switch to layout editing mode (see Switching to layout editing mode).
- Place the counter icon anywhere within the layout cell.
- Customize the font. To do this, click the button.
- Add text. To do this, click on the gray area and enter the required text.
- Save the layout (see Exiting Layout Editing mode).
As a result, the text and the number of people counted by the detection tool will be displayed next to the counter icon.detector (see Displaying the number of detected objects).