Add a Detection Line

This section describes how to draw a detection line to count the number of people entering or exiting.

Detection line drawing requirements:
  • Completely traversed by targets.
  • Perpendicular to the movement direction.
  • Positioned centrally within the detection area.
  • Free of adjacent obstructions.
  • As close to the center of the preview as possible.
  • Maintain sufficient identification space on both sides.


Prerequisite:

The deployment parameters and device strategies are configured.

Steps:
  1. In the main page, click Rule from the navigation tree on the left.
  2. In the Line Cross Counting area on the right, click +Add.



  3. Draw a detection line in the preview, you can draw up to 4 polylines with a maximum of 10 points per polyline:

    1. Left-click to start and drag to draw the first line segment. The arrow in the middle of the segment indicates the direction of entry.
    2. Left-click to add vertices and change direction and drag to draw another line segment.
    3. Repeat step b to draw more line segments as needed.
    4. Right-click to finish.
    5. (Optional) Adjust the line location and length by dragging.
    6. (Optional) To redraw a line, click Clear This Line.
    7. (Optional) To flip the line direction, click Flip Direction.
    8. Click to save the configuration.
  4. The line information is listed in the Line Cross Counting area.



  5. (Optional) Click to customize the line name.
  6. (Optional) To enable U-turn Filtering, click . For detailed configuration, refer toConfigure U-turn Filtering.
  7. Check data through any of the following methods:
    • To check the visual configuration effect, click Dashboard from the left navigation tree.

    • To view the line data for a certain time period and generate report, click Report from the navigation tree on the left. .

    • If recipients are added, check data through command line outputs. For "line_periodic_data" and "line_total_data", refer to Uplink Data Example for Periodic Reporting. For "line_trigger_data", refer to Uplink Data Examples for Trigger Reporting.