App Stack
Line Crossing

Line Crossing

Line Crossing is used to detect and generate events when a person crosses a predefined virtual line. It can be configured to monitor crossings in a specific direction or in both directions.

This guide explains how to configure the Line Crossing application in App Stack.


1. Finding the Line Crossing Application in App Stack

  1. Open App Stack on the platform.
  2. Use the search bar (usually at the top right of the dashboard).
  3. Enter Line Crossing.
  4. In the results, click once on the application to open it.

Search Line Crossing


2. Device Configuration

After the application opens, you will be directed to the Device Configuration page.

Device Configuration

  • On the right side of the page, click Add Device to add the required camera(s).

Line Crossing Dashboard

  • Once the devices are added, proceed to the ROI Configuration page.

Ensure all required cameras are added before proceeding to ROI configuration.


3. ROI (Region of Interest) Configuration

All added devices will be displayed on this page for ROI configuration.

ROI Configuration

  1. Select the desired device.
  2. Click Add ROI (top right of the page).

Add ROI

Fill in ROI Details

FieldGuidance for Line Crossing
ROI NameEnter a meaningful name for the ROI.
ROI ColorSelect a color for visualization.
ROI TypeSelect LINE.
Lane DirectionSelect IN, OUT, or NONE depending on the required monitoring direction.
ROI ClassesNot required.

Lane Direction Explanation

DirectionDescription
INGenerates events when a person crosses into the monitored area.
OUTGenerates events when a person exits the monitored area.
NONEGenerates events regardless of crossing direction.

You can update or delete any ROI by selecting it and using the available options.


4. Meta Parameters Configuration

After ROI setup, navigate to the Meta Parameters page.

Meta Parameters

4.1 Default vs Custom Configuration

You can either:

  • Use a default configuration, or
  • Create a custom configuration.

Default Configuration Nodes

  • Device
  • People Detection
  • Region of Interest (ROI)
  • Event
  • Alert

5. Device Node Settings

Click on the Device node and select the required camera.

Device Node Settings

Available Settings

Duplicate

ValueDescription
0No duplicate events (recommended for zig-zag movement scenarios).
1Allows duplicate event generation.

IN/OUT Direction

ValueDescription
0Generate all crossing events.
1Generate only IN events.
2Generate only OUT events.

For most deployments, Duplicate = 0 is recommended to avoid multiple event generations caused by repeated movements near the line.


6. People Detection Node Settings

Confidence Threshold

  • Default value: 0.45
  • Can be adjusted based on:
    • Camera angle
    • Lighting conditions
    • Scene complexity
    • Deployment requirements

Increase the confidence threshold to reduce false detections or decrease it if valid detections are being missed.


7. Final Configuration

After selecting the required device and ROI:

  1. Configure the required parameters.
  2. Enter a Configuration Name.
  3. Select the hardware type:
    • CPU
    • GPU
  4. Configure the Batch Size if required.
  5. Select the required Analytic Server for deployment.

Additional Recommendations

  • Use GPU deployment for better performance when processing multiple camera streams.
  • Configure batch size based on recommendations from the Development/CV Team.
  • Verify ROI placement before saving the configuration.

Final Configuration


8. Saving the Configuration

After verifying all settings:

  • Confirm device selection.
  • Verify ROI placement.
  • Review direction settings.
  • Review confidence threshold values.
  • Confirm hardware selection.
  • Verify Analytic Server selection.

Click Save to activate the configuration.


Conclusion

The Line Crossing application provides real-time monitoring of people crossing predefined virtual lines. It can be configured for directional or non-directional event generation, making it suitable for entry/exit monitoring, restricted area surveillance, and perimeter security applications.

By correctly configuring line placement, direction settings, and detection thresholds, users can achieve reliable and accurate line crossing event detection.