Smart City: Traffic Scenario - OpenVisualCloud/Smart-City-Sample GitHub Wiki

The traffic scenario measures vehicle/pedestrian flow for traffic planning purpose.

Configuration

Follow the Build Options to set up the traffic scenario.

cd build
cmake -DPLATFORM=Xeon -DSCENARIO=traffic -DNOFFICES=1 -DNCAMERAS=5 -DNANALYTICS=4 ..
make

To setup multiple offices (<=3), specify the NOFFICES value during `cmake', as follows:

cd build
cmake -DPLATFORM=Xeon -DSCENARIO=traffic -DNOFFICES=3 -DNCAMERAS=2 -DNANALYTICS=2 ..
make

Map UI

The sample shows a map centered around the office location(s) and the sensors. You can move around the map to zoom in to specific sensor location. The line between a sensor and the office shows the data rate and the connection status: a black line means the sensor is not connected, green connected, and red disconnected.

Hover the the sensor icon to show the sensor information, and click on it to show the sensor recordings (the most recent few seconds.) You can click on the video to review the detailed sensor recordings. Above the sensor there is the statistics icon, where you can click to reveal the traffic statistics chart.

Click the icon to configure the sample layout, and the icon to configure the sample setting:

Layout Setting

Recording UI

Double click any of the sensors to go to the recording page to review the sensor recordings. At the search box, type the sensor id to search for recordings of a specific sensor, or simply type sensor=* to show all sensor recordings. The list of available recordings is shown at the right. Drag any recording onto the video panel to playback the recording.

Click the icon and drag a recording to the video panel to show the recordings with detailed analytics annotations. Click the icon to go back to the recording page.

See Also:

⚠️ **GitHub.com Fallback** ⚠️