The smart city reference pipeline shows how to integrate various media building blocks, with analytics powered by the OpenVINO™ Toolkit, for traffic or stadium sensing, analytics and management tasks.
The E2E sample implements aspects of smart city sensing, analytics and management features as follows:
The sample implements the Smart-City traffic
and stadium
scenarios. The traffic
scenario measures vehicle/pedestrian flow for planning purpose. The stadium
scenario focuses on different access control techniques, including entrance people counting, service-point queue counting, and stadium seating zone crowd counting.
Traffic | Stadium |
---|---|
<IMG src="doc/traffic-ui.gif" width="100%"></IMG> | <IMG src="doc/stadium-ui.gif" width="100%"></IMG> |
The sample is powered by the following OpenVisualCloud software stacks:
Time Zone: Check that the timezone setting of your host machine is correctly configured. Timezone is used during build. If you plan to run the sample on a cluster of machines managed by Docker Swarm or Kubernetes, please make sure to synchronize time among the manager/master node and worker nodes.
Build Tools: Install cmake
, make
, m4
, wget
and gawk
if they are not available on your system.
Docker Engine:
17.05
. Make sure you setup docker to run as a regular user.sudo mkdir -p /etc/systemd/system/docker.service.d
printf "[Service]\nEnvironment=\"HTTPS_PROXY=$https_proxy\" \"NO_PROXY=$no_proxy\"\n" | sudo tee /etc/systemd/system/docker.service.d/proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
Use the following commands to build the sample. By default, the sample builds to the traffic
scenario. To enable the stadium
scenario, use cmake -DSCENARIO=stadium ..
. See also: Build Options.
mkdir build
cd build
cmake ..
make
Use the following commands to start/stop services via docker swarm:
make update # optional for private registry
make start_docker_swarm
make stop_docker_swarm
See also: Docker Swarm Setup.
Use the following commands to start/stop Kubernetes services:
make update # optional for private registry
make start_kubernetes
make stop_kubernetes
See also: Kubernetes Setup.
Launch your browser and browse to https://<hostname>
for the sample UI.
<hostname>
is the hostname of the manager/master node.