Line Crossing Counting

Line Crossing Counting uses a virtual line to accurately count people entering and exiting, with direction detection. It is suitable for entrances, passageways, and partitions. Enable this feature if you need to track the number of people entering or leaving an area, manage access, or distinguish the direction of foot traffic.

Step 1: Go to People Counting → Line Crossing Counting, to enable line crossing counting feature.

Step 2: Navigate to the live view at the bottom of the page, and click Draw Line to draw a detection line. You can draw only one line, click to zoom in on the display, consisting of up to four segments, crossing along the direction of the arrow means “In” and the opposite is “Out”.

Note:
  1. The arrow direction of the detection line depends on your drawing direction.

  2. Ensure that the detected targets can pass through the detection line completely. It’s recommended that the detection line is perpendicular to the In/Out direction and on the center of detection area without other objects around.

  3. A redundant identification area needed to be left on both sides of the detection line for the target. This is to ensure that the sensor has stable recognition and tracking of this target before it passes the detection line, which will make the detection and count more accurate.

Step 3: The device supports the Filter U-turns function, filtering out the people who are actually not entering or exiting the entrance, to avoid repeated counting. If you don't have a need to filter out people, skip this step.



  1. Enable Filter U-turns, navigate to the live view at the bottom of the page, and click Draw Area to draw a area around the detection line. People who remain or loiter within this area will not be included in the count. You can click to zoom in on the display.

  2. Left-click to start drawing and drag the mouse to draw an edge. Then left-click again to continue drawing an edge in a different direction. Right-click the mouse to complete the drawing. The area can be dragged to adjust the location and length.
  3. Click OK to finish drawing.
Note: If you need to filter out staff or deliverers, enable Filter Staff/Deliverer, a physical button should be set at the entrance, and the button signal should be inputted into the device via DI interface to realize collaboration. The next one count will be discarded in 8 seconds once a signal is detected via DI.

Step 4: Report setting.



Parameters Description
Report with Timestamp Report the data with timestamp.
Periodic Report Scheme Select the periodic report of "On the Dot" or "From Now On".

On the Dot: Report at each integer moment. For example, current time is 0:07, when the interval is set to 10 minutes, it will report at 0:10, 0:20, 0:30, and so on.

From Now On: Begin reporting from this moment onwards and regularly report based on the interval cycle.

Reporting Interval
Trigger Report Report immediately when there is a change of the line crossing people counting number. Any further crossings within 15 seconds are accumulated and reported together at the end of the 15-second period.
Note: Please set the periodic reporting interval to over 30 seconds when both trigger and periodic reporting are enabled.
Reset Cumulative Count on Schedule Enable to periodically reset cumulative line cross counting values on schedule. Support up to 5 reset schedules.

Whenever you modify a reset time record, the reset schedule for region people counting will be automatically updated accordingly.

Step 5: Protocol Integration Setting.



Parameters Description
MQTT/MQTTS
Host MQTT broker address for receiving data.
Port MQTT broker port for receiving data.
Client ID The unique identity of the client to the server.

It must be unique when all clients are connected to the same server, and it is the key to handle messages at QoS 1 and 2.

Username The username used for connecting to the MQTT broker.
Password The password used for connecting to the MQTT broker.
Topic Topic name used for publishing.
QoS QoS0, QoS1, and QoS2 are optional.
HTTP(S)
HTTP Notification URL Select among “URL 1”, “URL 2” and “URL 3”.
Enable Enable to configure this URL.
Connection Test Click to send test message to URL to check connectivity.
HTTP Method Fixed as Post.
Snapshot Enable or disable the snapshot feature.
Note: the option is only available for normal privacy mode.
URL The device will post the people counting data in json format to this URL.
User Name The username used for authentication.
Password The password used for authentication.

Step 6: BACnet Setting. If you don't need to connect to the BMS system using the BACnet protocol, skip this step.



Parameters Description
UDP Port Set communication port of BACnet/IP. Range: 1-65535. The default port is 47808.
Device ID The unique BACnet device identifier that must avoid conflicts with other devices. The default value is the 6th to 11th characters of SN.
Device Name The name to represent the device.
BBMD Enable BBMD(BACnet/IP Broadcast Management Device) if BACnet devices of different network subnets should work together.
IP Address: Fill in the IP address of BBMD device or external device registrar.

IP Port: Fill in the UDP/IP port for external device registration.

Time To Live: Number of seconds used on external device registration.

BACnet Object Settings

Object Name Show the name of the BACnet object.
Object Select Select the variable data for the device as an object.
Object Instance No. Set the unique object instance number.
Object Description Set the object description.
COV Enable, when object value changes, it will send notification of new value to BACnet client.
COV Increment Set the minimum change value for the current object.

Step 7: If you want the device to count and report data continuously, skip this step.

To pause during specific periods, enable Schedule Settings and define weekly time blocks.



For example, as illustrated in the figure, if you select 9:00 AM to 6:00 PM from Monday to Friday, the device will only upload data within this time window. Data reporting will be disabled during all other periods. By clicking Copy to Other Days button on the right, you can copy all time periods at once, without having to modify each one individually.

Step 8: After completing all the settings, scroll to the bottom and click Save to save all your changes.

Step 9: You can view the data through periodic report and trigger report.