VisionAIre
  • About Nodeflux
  • Visionaire Stream
    • Overview
    • Requirements
      • Credential Keys
      • Tested Hardware
      • Bandwith Requirements
    • Installation Guide
      • Dependencies
      • Simple Installation
      • Advanced Installation
      • Clustering Installation
      • Add-ons Analytics Installation
        • People Attributes Installation
        • Vehicle Attributes Installation
        • OVOD Installation
        • OVIC Installation
        • VM Installation
        • VLM Installation
    • Analytics
      • Face Recognition
        • Additional Information
          • Overview
          • Disclaimer
          • Metrics
          • Testing
      • People Analytics
      • Crowd Estimation
      • PPE Detection
      • License Plate Recognition
      • Vehicle Analytics
      • Water Level Monitoring
        • Camera Guideline
      • Pre-Flood Monitoring
      • Person Smoking Detection
      • Person with Handphone Detection
      • Smoke and Fire Detection
      • Person Using Firearms Detection
      • Vandalism Attempt Recognition
      • ATM Burglary Incident Recognition
      • Road Crash Monitoring
      • People Fighting Recognition
      • Riot Recognition
    • Developer Guide
      • How our APIs work
      • HTTP APIs
      • Websocket
      • Database Structure
    • Changelogs
  • Visionaire Snapshot
    • Overview
    • Requirements
    • Installation Guide
      • Face Searching & Matching
        • Single Node
        • Clustering
      • Helmet Detection
      • Chicken Estimation
      • Face Detection
      • Over Dimension Over Load
      • Frontal License Plate Recognition
    • Analytics
      • Face Searching & Matching
        • Face Enrollment
          • Image Guideline
          • Face and Image Quality Assessment
            • Setup On Premise
            • API
          • Insert / Update / Delete Enrollment
          • Batch Enrollment
      • Helmet Detection
      • Chicken Estimation
      • People Demography
      • Face Detection
      • Over Dimension Over Load
      • License Plate Recognition -Frontal
    • Developer Guide
      • APIs
        • Face Searching & Matching
        • Helmet Detection
        • Chicken Estimation
        • People Demography
        • Face Detection
        • Over Dimension Over Load
        • Frontal License Plate Recognition
      • Vanilla APIs for Face Enrollment
      • Porting Enrollment Database Cluster to Docker
    • Changelogs
  • VisionAIre Dashboard
    • Introduction
    • Add Analytic Assignment
    • Accessing Vanilla Database
    • Connect to Vanilla Websocket
    • Create your own visualization
      • Migration from Old Streamer to New Streamer
      • Drawing Region of Interest
      • Additional Visualization Query
Powered by GitBook
On this page
  • 1. Create User-Defined Docker Network & Volumes
  • 2. Run Postgres Container
  • 3. Run VisionAIre Stream
  • For Intel Version
  • 4. Run VisionAIre Snapshot (Face Recognition)
  • 5. Run VisionAIre Dashboard

Was this helpful?

Export as PDF
  1. Visionaire Stream
  2. Installation Guide

Simple Installation

This guideline is intended for simple installation to quick start the VisionAIre products seamlessly.

PreviousDependenciesNextAdvanced Installation

Last updated 4 months ago

Was this helpful?

If you are a developer and need more customization. Make sure you already fulfill the .

Please make sure to run all commands in the same terminal. If you accidentally closed the terminal earlier, be sure to re-run variables export commands and continue with the installation.

1. Create User-Defined Docker Network & Volumes

Create a user-defined bridge network:

docker network create nf-visionaire

Create docker volumes for postgresdb:

docker volume create postgres-data

2. Run Postgres Container

Create Postgres Container

docker run -it -d \
--name=postgresdb \
--network=host \
--restart unless-stopped \
-e POSTGRES_PASSWORD=nfvisionaire123 \
-e POSTGRES_DB=nfvisionaire \
-e POSTGRES_USER=postgres \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v postgres-data:/var/lib/postgresql/data \
postgres:12-alpine

Please note that the database names should be defined as instructed below each for the needed services to run this simple installation guideline. It is highly dependent for the next steps. If you want to change the db names, you should go for advanced installation.

Init the database to run VisionAIre stream

docker run -it --rm \
--network=host \
-e PGPASSWORD=nfvisionaire123 \
postgres:12-alpine \
sh -c 'psql -h localhost -U postgres -c "CREATE DATABASE nfvisionaire;" || true'

Create a new additional database to run VisionAIre snapshot for Face Recognition analytics

docker run -it --rm \
--network=host \
-e PGPASSWORD=nfvisionaire123 \
postgres:12-alpine \
sh -c 'psql -h localhost -U postgres -c "CREATE DATABASE fremisn;" || true'

Create again a new additional database to run VisionAIre dashboard

docker run -it --rm \
--network=host \
-e PGPASSWORD=nfvisionaire123 \
postgres:12-alpine \
sh -c 'psql -h localhost -U postgres -c "CREATE DATABASE vdashboard;" || true'

3. Run VisionAIre Stream

For a smooth installation, please make sure you're using VisionAIre Docker Stream version 4.57.6 or higher. Earlier versions does not support the simplified installation method we've outlined in this section.

PORT Address for VisionAIre stream by default is 4004.

docker run -it -d --net=host \
--shm-size=16gb \
--name=visionaire4  \
--restart unless-stopped \
--gpus all \
nodefluxio/visionaire4:4.57.21

For Intel Version

docker run -it -d --net=host \
--shm-size=16gb \
--name=visionaire4  \
--restart unless-stopped \
--device=/dev/dri/renderD128 \
--device=/dev/accel/accel0 \
nodefluxio/visionaire4:4.57.21

4. Run VisionAIre Snapshot (Face Recognition)

For a smooth installation, please make sure you're using VisionAIre Docker Snapshot verison 2.12.27 (v2.12.28 for GPU version) or higher. Earlier versions does not support the simplified installation method we've outlined in this section.

PORT Address for VisionAIre Snapshot (FR) by default is 4005.

You only need to do this step if you need to use Face Recognition analytic. Otherwise, you can just skip to the Dashboard installation.

Running with CPU version:

docker run -it -d \
--name fremisn \
--network=host \
--restart unless-stopped \
nodefluxio/fremis-n:v2.13.4-cpu httpserver

Running with GPU version:

docker run -it -d \
--name fremisn \
--network=host \
--restart unless-stopped \
--gpus all \
nodefluxio/fremis-n:v2.13.4-gpu httpserver

5. Run VisionAIre Dashboard

PORT Address for VisionAIre Dashboard by default is 4003. Please access the dashboard with http:{ip}:{port}

docker run -itd \
    --name visionaire-dashboard \
    --network=host \
    --restart unless-stopped \
    registry.gitlab.com/nodefluxio/visionaire-dashboard:2.9.0
requirement
Step 1: Create a user-defined docker network and volume
Step 2.1: Run Postgres Container
Step 2.2: create a new database namely nfvisionaire for VisinAIre stream
Step 2.2: Create a new database namely fremisn for VisionAIre snapshot (Face Recognition)
Step 2.3 Create a new database namely vdashboard for VisionAIre Dashboard and check the availability of needed databases for each services
Step 3: Run VisionAIre Docker Stream
Step 4: Run VisionAIre Docker Snapshot for Face Recognition
Step 5: Run VisionAIre Docker Dashboard and check the availability of all needed services
Page cover image