Virtual Sensor Configuration

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 Sensor Service Functionality

There is not currently functionality built out for all of the available virtual sensors or all of the available object classes for each application. The functionality that is currently available per service is as follows:
  1. BAI Mobility Services - general application to use when looking to detect both vehicles and people.
    1. Virtual Sensors: Speed, Count, Presence
    2. Objects: Person, Bicycle, Truck, Car, Bus
  2. TrafficCounter - application to be used when looking to detect vehicles, higher accuracy pedestrian detection coming soon. 
    1. Virtual Sensors: Count, Presence
    2. Objects: All vehicles counted as car, people
  3. PeopleCounter - application to be used in indoor people counting use cases
    1. Virtual Sensors:  Count
    2. Objects: People

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. 

Setting Up Virtual Sensors

There are three different types of sensors included across the three applications. We plan to build out functionality for each sensor type for each application. 

Speed Sensor

The Speed Sensor is generally used to collect data on the speed of vehicles traveling through an intersection or on a road. To create a Speed Sensor, select  Speed  and the type of object you'd like to detect using the  drop-down  menu on the right side of the Mobility Service configuration screen. You can then click-and-drag to create two lines. The green line is the start of the sensor and the red line is the end of the sensor. Next, enter the distance between the two lines in the 'Distance' field on the right and click  Add Sensor

Count Sensor

The Count Sensor has many use cases. It will count the number of the chosen object (people, cars, trucks, bicycles, or busses) going through a specified location. To create a Count Sensor, select  Count  and the type of object you'd like to detect using the  drop-down  menus on the right side of the configuration screen. You can then click-and-drag to create one line. The configured application will count objects going across this line in both directions. When satisfied with your sensor, click  Add Sensor  to confirm your selection. 

Presence Sensor

The Presence Sensor will count the number of the chosen object in a configured space of the image. To create a Presence Sensor, select  Presence  and the type of object you'd like to detect using the  drop-down  menus on the right side of the configuration screen. You can then click up to 10 corners (in clockwise order) of the desired location of the virtual Presence Sensor, as shown below. Next, press  Add Sensor  to confirm your selection.

Deleting a Sensor

You can delete an 'added' sensor by clicking on it and choosing 'Delete Sensor.' 

Saving Configuration and Starting Service

Once you are satisfied with your virtual sensor configurations, click 'Save Config' at the top left of the configuration page and the configuration will be saved to the device. Once done, navigate back to the Device Settings page for the device and start the configured service by clicking the 'Play' arrow start button under the services section. 

The service's status should now turn to 'RUNNING' and the device will begin collecting data. 
    • Related Articles

    • 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 ...
    • 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 ...
    • 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 ...
    • 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 to add this ...
    • 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. ...