Using the Virtual Sensor Config Tool v2

Using the Virtual Sensor Config Tool v2

This article will explain how to use the Config Tool v2 to configure virtual sensors for TrafficCounter, PeopleCounter, and Mobility Services. 
The Config Tool v2 is currently in beta and is slowly being rolled out. If you would like to use this tool instead of the Config v1 tool, please contact support@boulderai.com.


Reaching the Virtual Sensor Configuration Page

To access the device configuration page, first login to the Boulder AI Platform and navigate to the device settings page for your target device by clicking on it in the devices page. 
  

Now, from the services panel, click on the 'Gear' configuration icon to open the configuration page for the service. 



Sensor Configuration

The first page that will open up in the Configuration v2 tool will be the Sensor Configuration page. This is where you can add new virtual sensors, as well as edit and delete existing sensors. 
To add a new sensor, click on the sensor icon at the top left of the image and choose the type of sensor you'd like to create (Count, Speed, or Presence). 


Count Sensor

The count sensor is a single line so after choosing that you'd like to create a count sensor, click and drag to place the sensor line on the image. When you release your mouse, a dialog window will pop up and you can choose the type of object you'd like to count. After choosing the object type, click 'Save Sensor.' 


Speed Sensor

The speed sensor is consisted of two lines, and the application will calculate the amount of time it takes for an object to cross both lines. After choosing to create a speed sensor, draw the start line (will appear in green) and an end line (will appear in red). Once you release the end line, a dialog window will come up. Here, you can choose the object type and set the distance (in feet) between the two sensors. This distance value will be used in the calculation of the speed value, so please try to make it as accurate as possible. 


Presence Sensor

The presence sensor is configured as an N-sided polygon. After choosing to create a presence sensor, single click each of the vertices of the desired polygon and double-click the last one to confirm. A dialog window will come up and you can choose the type of object you'd like to detect. 


Deleting/Editing Sensors

If you'd like to remove or edit an existing sensor, choose 'Edit Sensor,' then choose the sensor you'd like to change/remove. Here you can choose to change the sensor settings or delete the sensor altogether. 


Service Configuration

After you have configured all of your desired sensors, navigate to the 'Service Configuration' page using the top page selection panel. Here, you will find the 'Input Type' selection. If you are using a DNNCam, then choose 'Internal' to inform the application to use the onboard camera feed. If you are using a DNNNode, choose 'RTSP' and enter your target RTSP stream URL and the Codec type (H264/H265). 


Save Configuration

Once you are satisfied with your Sensor and Service configurations, navigate to the 'Save Configuration' page using the top panel. Here, you will be able to see a preview of the JSON-formatted configuration that will be sent to the device. Choose 'Save Config' to save all configuration changes to the device. 

    • Related Articles

    • Virtual Sensor Configuration Guide

      Virtual Service Configuration Guide This guide will explain how to configure virtual sensors using Boulder AI's configuration tool. This tool is currently used for all BAI Mobility Services, TrafficCounter, and PeopleCounter applications.  Virtual ...
    • Using the Metadata Dashboard v2

      This guide will walk through the Metadata Dashboard tool available in the Boulder AI Platform that can be used to view the data output from DNN-Devices. If you cannot see this Metadata dashboard, please contact support@boulderai.com to add this ...
    • Using the Mobility Services Metadata Dashboard v1

      This guide will explain how to access Mobility Service data using the dashboard provided through the Boulder AI Platform. Log in to the platform and choose the 'Metadata' page located in the left side panel. From here,  choose the desired service ...
    • Sample NTCIP Configuration

      This article will go through an example of setting up a DNN Cam/Node to interact with an NTCIP traffic controller on virtual sensor events.  Once a DNNCam or DNNNode is installed and monitoring an intersection, you can set up some virtual sensors. ...
    • How to configure BAI Mobility Services

      Mobility Services Application Guide This guide will help you configure and view the data from the BAI Mobility Services Application on your Boulder AI device. You will need access to the Boulder AI Platform and have your device properly powered and ...