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

Was this helpful?

Export as PDF
  1. Visionaire Snapshot
  2. Developer Guide

Vanilla APIs for Face Enrollment

Create Enrollement

endpoint : /api/enrollment
method : POST
content-type :  multipart/form-data
request body :
  - name : testing
  - images : (multiple binary file)

response :
- 200
  {
    "ok": true,
    "message": "Successfully enroll new person",
    "enrollment":{
      "id":1,
      "name": "bambang",
      "face_id": 106596746326441980,
      "created_at": "2021-01-05T09:03:32.014123Z",
      "updated_at": "2021-01-05T09:03:32.014123Z",
      "deleted_at": null,
      "faces":[
        {
          "id": 1,
          "variation": 1234567876756,
          "image": "base64"
        }
      ]
    }
  }

Create Detail Enrollement

endpoint : /api/enrollment/:id_enrollment
method : GET
content-type : application/json

response :
- 200
  {
    "ok": true,
    "message": "Succesfully get detail enrolled faces",
    "enrollment":{
      "id":1,
      "name": "bambang",
      "face_id": 106596746326441980,
      "created_at": "2021-01-05T09:03:32.014123Z",
      "updated_at": "2021-01-05T09:03:32.014123Z",
      "deleted_at": null,
      "faces":[
        {
          "id": 1,
          "variation": 1234567876756,
          "image": "base64"
        }
      ]
    }
  }

Get Enrollement

endpoint: /api/enrollment
method : GET
query param :
 - limit : 10
 - page : 1
 - sort : timestamp:desc
content-type : application/json
response :
- 200
  {
    "ok": true,
    "message": "succesfully get enrolled person",
    "results": {
      "limit": 10,
      "current_page": 1,
      "total_data": 1,
      "total_page": 1,
      "enrollments":[
        {
          "id":1,
          "name": "bambang",
          "face_id": 106596746326441980,
          "created_at": "2021-01-05T09:03:32.014123Z",
          "updated_at": "2021-01-05T09:03:32.014123Z",
          "deleted_at": null,
          "faces":[
            {
              "id": 1,
              "variation": 1234567876756,
              "image": "base64"
            }
          ]
        }
      ]
    }
  }

PUT Enrollement

endpoint: /api/enrollment/:id_enrollment
method : PUT
content-type : multipart/form-data
request body :
  - id : [1,2,3]
  - images : (multiple binary file)
  - name : "bambang"*
  - gender: "wanita"
  - birth_place: "padang"
  - birth_date: "05-07-2022"
  - status: "penyanyi"
response :
- 200
  {
    "ok": true,
    "message": "succesfully update enrolled person",
    "enrollment":{
      "name": "bambang"
    }
  }

Delete Enrollement

endpoint: /api/enrollment/:id_enrollment
method : DELETE
content-type : application/json
response :
- 200
  {
    "ok": true,
    "message": "succesfully enrolled person",
  }
PreviousFrontal License Plate RecognitionNextPorting Enrollment Database Cluster to Docker

Last updated 1 year ago

Was this helpful?