You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Legacy Solutions > Boulder AI Cloud Platform > Cloud Platform > Using the Virtual Sensor Config Tool v2
Using the Virtual Sensor Config Tool v2
print icon

This article explains 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 [email protected].


 

Reaching the Virtual Sensor Configuration Page

To access the device configuration page, first login to the Sighthound 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, click the "Save" button at the top right corner of the screen.  A message will indicate that the changes have been updated successfully.  At this point the changes will be deployed to the device.  The service may restart to pick up the new configuration.

 

 

Troubleshooting/Known Issues

1. After clicking the "Save" button the sensor will momentarily disappear.  Refresh the page to see the updated sensor location.

2. It is not currently possible to edit the locations of sensors after drawing.  If the position of the sensor needs to be changed the sensors must be deleted and re-drawn.

3. In some cases it may be desired or necessary to keep the same sensor names when redrawing.  In these scenarios you must delete all sensors of the specific type (COUNT_CAR_X, COUNT_PERSON_X, etc) and re-draw all sensors in order based on their sequence number, saving and refreshing the page after each update.

scroll to top icon