UVAP
  • Key Features
  • Feature Demos
  • Installation
  • Developer Guide
  • Operation Guide
  • Tutorials
  • Help

›Starting Microservices

Feature Demos

  • Starting Feature Demos
  • Person Detection

    • Head Detection Demo
    • Head Pose Demo
    • Human Skeleton Demo
    • Detection Filtering Demo

    Movement Detection

    • Tracking Demo
    • Pass Detection Demo

    Facial Properties and Recognition

    • Demography Demo
    • Face mask Demo
    • Single Camera Reidentification Demo with Pre-clustering
    • Reidentification Demo with Person Names

    Image and Video

    • Show Image Demo
    • Saving Video Streams

    Starting Microservices

    • Starting Multi-Graph Runner
    • Starting Tracker
    • Starting Pass Detector
    • Starting Reidentifier
    • Starting Detection Filter
    • Starting Feature Vector Clustering
    • Starting Stream Configurator UI
    • Starting Web Player
    • Starting Video Capture

Starting Stream Configurator UI

The Stream Configurator UI makes quick and easy passline configuration and management possible.

Setting Up Stream Configurator UI

To set up the Stream Configurator UI, run config.sh in base mode. This runs the generate_stream_configurator_ui.sh script with default settings, intended to work with the default UVAP configuration.

The UI can be built with a custom configuration by directly calling generate_stream_configurator_ui.sh. Use the provided parameters to specify the output location and the Docker image used for the process.

Running config.sh

Note: For Stream Configurator UI to be built, the --demo-mode argument has to be set to base.

Building the UI this way results in the followings:

  • The properties file is read from ../config.
  • The UI is generated to location ../ui.
  • The Docker image used to generate the UI is determined automatically by Git tags.

The following arguments provided to config.sh can be used to configure the UI:

Argument--host-name
DescriptionSets host name
RequirementOptional
Default Valuelocalhost
Argument--web-player-port-number
DescriptionSets port number
RequirementOptional
Default Value9999

Running generate_stream_configurator_ui.sh

Stream Configurator UI can also be built by running generate_stream_configurator_ui.sh.

Use with the --help parameter to get more details.

Starting the Stream Configurator UI service

Prerequisites

To be able to display the video stream and topics, make sure the following components are up and running:

Note It is important that the components are started up in this order.

  • Zookeeper
  • Kafka
  • MGR
  • Web Player

To start the components:

  1. Start Zookeeper:

    $ docker run --net=uvap -d --name=zookeeper \
      -e ZOOKEEPER_CLIENT_PORT=2181 ultinous/cp-zookeeper:5.4.0
    
  2. Start Kafka:

    $ docker run --net=uvap -d -p 9092:9092 --name=kafka \
      -e KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181 \
      -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092 \
      -e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 \
      -e KAFKA_MESSAGE_MAX_BYTES=10485760 \
      -e KAFKA_LOG_SEGMENT_DELETE_DELAY_MS=1000 \
      -e ZOOKEEPER_CLIENT_PORT=2181 \
      ultinous/cp-kafka:5.4.0
    
  3. Start MGR:

    $ "${UVAP_HOME}"/scripts/run_mgr.sh -- --net=uvap
    

    Attention First startup of MGR can be slow. Please consult Starting Multi-Graph Runner for details.

  4. Start Web player:

    $ "${UVAP_HOME}"/scripts/run_uvap_web_player.sh -- --net uvap
    

Starting the UI

Only Google Chrome™ version 76 and later is supported.

  1. Google Chrome™ version check:

    $ google-chrome --version
    
  2. Google Chrome™ install process:

    $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
    $ sudo dpkg -i google-chrome-stable_current_amd64.deb
    
  3. Stream Configurator UI can be started by opening in a web browser:

     $ google-chrome ${UVAP_HOME}/ui/uvap_stream_configurator_ui/index.html
    

See the Stream Configurator UI Guide for further information on the settings and usage of the Stream Configurator UI.

← Starting Feature Vector ClusteringStarting Web Player →
  • Setting Up Stream Configurator UI
    • Running config.sh
    • Running generate_stream_configurator_ui.sh
  • Starting the Stream Configurator UI service
    • Prerequisites
    • Starting the UI
Help
UVAP License TermsGlossaryTypographic ConventionsTrademark InformationSupport
Navigation
Key FeaturesFeature DemosInstallationDeveloper GuideTutorialsHelp
Community
GitHubFacebookLinkedInTwitterYouTube
Ultinous
Copyright © 2019-2020 Ultinous