Skip to content

"Queues" section#

The "Queues" section is designed to manage and analyze crowds in real time (Figure 125). The section allows you to:

  • track the number of people in zones (for example, a queue at the entrance to a shopping center);
  • manage zones—create, configure, delete.
Figure 125. "Queues" section

Monitoring#

The "Monitoring" tab helps you to record cases of excess/insufficient number of people in zones. Monitoring areas (zones) are shown as cards (1 in Figure 125). Cards are combined into groups by zone type, for example, store checkouts or entrances to a shopping center. The zone card contains the following information:

  • Zone name;
  • Number of people in the zone. If the number of people is less than the threshold, the value is highlighted in green; if the number is greater than or equal to the threshold, it is highlighted in red;
  • Image—a photo of the latest event or a live stream. Click to open a photo of the event with dots on the faces of people that were counted in the event frame.
  • "Stream settings" button—click to edit the zone;
  • button and stream status—click to switch the stream status: stop or resume.

To configure stream cards, click (2 in Figure 125) and fill in the fields in the opened window (Figure 126):

Field

Values

Show at card

Select display settings:

  • Last frame—image from the last event;
  • Video—broadcast from the camera in real time.

Show on frame

Select the detection area to show:

  • ROI—the main area (for example, the one in front of the cash register);
  • DROI—an additional area within the ROI (for example, the most passable areas).

Show dots on faces

Enable to display points calculated from face coordinates on the event frame

Customize colors and sizes of the points.

Configuration window of the zone card display
Figure 125. Configuration window of the zone card display

To create a zone, click the "Add" button (3 in Figure 125) and select "Stream". After filling in the required fields, click save, and then in the zone card, select "Stream settings" to set more flexible behavior. Fill in the fields (Figure 127):

Field

Values

Basic parameters

Name

Specify the name of the monitoring zone (stream)

Group

Specify the group to which the monitoring zone belongs

Stream data

Full path to the stream

Path to the source of the video stream.

  • For example, for the TCP/UDP type: rtsp://some_stream_address
  • Full path to the video file for the Videofile type: https://127.0.0.1:0000/super_server/
  • Full path to the directory with images for the Images type: /example1/path/to/images/

To use video files and images, move them to the Docker container

Timing format

Select what the time dimension will be based on:

  • "Auto"—uses the pts value if a timestamp is present in the video or stream, otherwise uses the server time for streams and the frame rate for video files;
  • "Pts"—based on the timestamp inside the stream or file;
  • "Server"—based on the server time, available only for streams;
  • "Frames"—based on the frame rate, available only for video files.

Start time

Starting point for timing. To activate, select Pts as the timing format.

Camera rotation angle

Specify the angle to rotate the camera image: 0/90/180/270 degrees

Restart options

Automatically restart

Enable if you want the stream to restart automatically

  • Attempts count—number of attempts to automatically restart the stream;
  • Restart delay (in seconds)—automatic restart delay of the stream.

For more information on auto-restart, see the "Streams automatic restart" section in the LP5 documentation.

Geolocation

Set the stream location parameters or specify the camera's geolocation on the map: City, District, Street, Region, House number, Longitude (in degrees), Latitude (in degrees)

Video analytics parameter

Parameters of the "People counting" video analytics

Count type

Specify thresholds for generating people counting events:

  • "More than" is the lower threshold for the people counting parameter. The event is generated if the number of people is less than or equal to the specified value.
  • "Less than" is the upper threshold for the people counting parameter. The event is generated if the number of people is greater than or equal to the specified value.

Set at least one of the values.

Number of people in frame

The minimum number of people to generate an analytical event.

Event creation interval (in seconds)

The period at which events are created while the track is running

Event image format

Determines the file format in which the image from the frame is recorded: .png or .jpeg

Image quality

Specifies the image quality from 0 to 1 that should be applied when processing the frame: 1 means good quality, 0 means bad one.

Image size (in pixels)

Determines the file format in which the image from the frame is recorded

Frame analysis frequency measurement type

Frame rate unit: seconds or frames

Frame analysis frequency

Depending on the selected frame analysis frequency measurement type:

  • The interval in seconds after which a frame is selected for analysis. By default, frames are processed every 10 seconds;
  • The interval between frames that will be selected for analysis: the first and every N+1 frame will be taken, where N is the specified value. By default, every 10 frames are processed.

The selected frames are then analyzed by video analytics and, if the threshold value is met, are selected to create a track.

Monitoring zone (stream) editing page
Figure 125. Monitoring zone (stream) editing page

Save the changes or delete the stream using the buttons in the upper right part of the page.

Create a stream group to combine monitoring zones. To do this, click the "Add" button (3 in Figure 125) and select "Group". Specify the group name and add the created monitoring zones to it (Figure 128)

Setting up a group for monitoring zones
Figure 126. Setting up a group for monitoring zones