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
  • Face Recognition
  • Vehicle Counting

Was this helpful?

Export as PDF
  1. VisionAIre Dashboard

Connect to Vanilla Websocket

Connect to Vanilla Websocket

Event dump can be caught by a client that is using WebSocket client. Depends on your programming language, for Node.js you can follow the instructions below:

  • install nodejs

  • install wsc

npm install -g wsc
  • listen to the result

wsc ws://[VANILLA_DASHBOARD_HOST]/api/event_channel?stream_id=[CAMERA_STREAM_ID]

The result you got, example one of JSON event dump below (Face Recognition event):

{
  "analytic_id": "NFV4-FR",
  "stream_id": "asda123da",
  "label": "unrecognized",
  "location": "test1",
  "primary_image": "base64 / empty string ",
  "secondary_image": "base64 / empty string ",
  "result": "string",
  "timestamp": "2021-03-30T03:15:38Z"
}

All analytics has same response template.

Face Recognition

{
  "analytic_id": "NFV4-FR",
  "stream_id": "asda123da",
  "label": "unrecognized",
  "location": "test1",
  "primary_image": "base64 / empty string ",
  "secondary_image": "base64 / empty string ",
  "result": "string",
  "timestamp": "2021-03-30T03:15:38Z"
}

Vehicle Counting

{
  "analytic_id": "NFV4-VC",
  "stream_id": "asda123da",
  "label": "Car",
  "location": "test1",
  "primary_image": "base64 / empty string ",
  "secondary_image": "base64 / empty string ",
  "result": "IN",
  "timestamp": "2021-03-30T03:15:38Z"
}
PreviousAccessing Vanilla DatabaseNextCreate your own visualization

Last updated 6 months ago

Was this helpful?

Page cover image