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
  • Sample Code - Vanilla Dashboard
  • Get Restream Visualization
  • 1. Exclude Crowd Estimation
  • 2. For Crowd Estimation
  • How to Get Event Stream

Was this helpful?

Export as PDF
  1. VisionAIre Dashboard

Create your own visualization

PreviousConnect to Vanilla WebsocketNextMigration from Old Streamer to New Streamer

Last updated 1 year ago

Was this helpful?

Sample Code - Vanilla Dashboard

Source code of Vanilla Dashboard to help you understand how Vanilla works. You can also customize it.

Get Restream Visualization

1. Exclude Crowd Estimation

Import visualstreamer.js, then apply nodeflux-streamer class on <div> component. This <div> component must have fixed width and height. Add stream URL to data-url attributes. Component example:

<div 
    class="nodeflux-streamer" 
    data-url="http://127.0.0.1:4004/mjpeg/0/de2ea3d628ca1034/NFV4-FR" 
    style=" 
    width: 569px; 
    height: 320px">
</div>

2. For Crowd Estimation

How to Get Event Stream

  • Connect with WebSocket server that gets from API WebSocket

  • Response event websocket

{
  "analytic_id":"NFV4-FR",
}

Import , then put with visualstreamer.js in the same folder.

heatmap.min.js
Page cover image
GitHub - nodefluxio/docker-stream-quickstart: Built-in dashboard for Visionaire Docker StreamGitHub
Logo
docker-stream-quickstart/visualstreamer.js at main · nodefluxio/docker-stream-quickstartGitHub
docker-stream-quickstart/heatmap.min.js at main · nodefluxio/docker-stream-quickstartGitHub
Logo
Logo