How to configure and Embed the Xvision Pathing Tool

This document explains parameters and URLs for configuring the Xvision pathing tool for traffic monitoring.

To embed the Xvision Traffic AI Object Pathing widget into your application or website, you can utilize the base URL https://app.alphax.cloud/objectPathing and customize it with specific parameters to adjust its settings and display. This widget can be seamlessly integrated using an <iframe> element or displayed in a browser window directly.

WARNING: Using this tool exposes your data to the public. While it wont be publicly listed, the URL will be accessible over the public internet.

Parameters and Their Configurations 

Parameter
Purpose
Expected Values
Default Behaviour
path
Toggles whether object paths are drawn on the canvas.
0 (disabled), 1 (enabled)
If omitted, the legend is hidden, and paths are not drawn.
heat
Toggles the display of a heatmap overlay.
0 (disabled), 1 (enabled)
If omitted, heatmap overlay is not displayed.
hsize
Defines the radius of the heatmap points.
Positive integers (e.g., 10, 20)
If omitted, a default value is used for heatmap radius.
hintensity
Sets the maximum intensity of heatmap points.
Positive integers (e.g., 10, 50)
If omitted, a default maximum intensity is applied.
duration
Determines the time range for which data is displayed.
1h (1 hour), 24h (24 hours), 7d (7 days)
Defaults to 1h (last hour) if not specified.
channels
Specifies the data channels to display, separated by commas.
Comma-separated integers (e.g., 0,1,2)
Displays all channels unless specific channels are hidden via UI toggles.
miss
Toggles display of "near miss" events.
0 (disabled), 1 (enabled)
If omitted, near miss events are not displayed.
 

Example Use Cases

Use Case
URL
Behaviour
Default View
Displays data for the last hour.
Paths, heatmap, and near-miss events are disabled.
Enable Paths and Heatmap with Custom Settings
Displays paths and heatmap.
Uses a radius of 25 and an intensity of 30 for heatmap points.
Last Week's Data for Bicycles and Pedestrians
Displays data from the last 7 days.
Only includes channels 1 (bicycles) and 3 (pedestrians) in visualisations.
Enable Near Miss Events
 Visualizes near miss events with predictive trajectories and icons.

NOTE: Examples provided have a non-active netid. To use replace 114110250233400030 with the netid of your devices.

 
Embedding the Widget:

To embed the widget, insert the following <iframe> code into your HTML, replacing [parameters] with your desired configuration:

<iframe src="https://app.alphax.cloud/objectPathing?[parameters]" width="600" height="400"></iframe>