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
  • Requirement Visionaire Cluster Version
  • Export data face known collection from psql table to CSV.
  • 1. Access database with psqlcommand
  • 2. Export table face_known_collection to CSV file
  • 3. Backup image face enrollment

Was this helpful?

Export as PDF
  1. Visionaire Snapshot
  2. Developer Guide

Porting Enrollment Database Cluster to Docker

This guide will show you how to backup data face enrollment.

Requirement Visionaire Cluster Version

Minimal versioniva-api for this guide is 2.6.1 and above.

Export data face known collection from psql table to CSV.

1. Access database with psqlcommand

Run this command in terminal psql -U <db-usename> -d <database-name>. Example :

psql -U nodeflux -d db_iva_security

2. Export table face_known_collection to CSV file

Run this command in terminal \copy (select nik as identity_number, name, status, foldername from face_known_collection) To <path-to-copy-csv> with CSV. Example :

\copy (select nik as identity_number, name, status, foldername from face_known_collection) To '~/face_enrollment.csv' with CSV

3. Update CSV file

  • Open CSV file

  • Add this data to the first column identity_number,name,status,foldername

  • The CSV file will look like this

$ cat face_enrollment.csv 
identity_number,name,status,foldername 
3232,Berlian Putri,Data Nusantara Adhikarya,199@berlianputri 
6234,Nabila,Nodeflux,121@nabila 
43576879096857465,Bella Widyawati,FIF,203@bellawidyawati 
98917,Norman,Nodeflux,123@norman 
87879,Febrian,Nodeflux,5@febrian

Another guide :

3. Backup image face enrollment

a. Locate folder dump image face enrollment

For this step you must know the path of dump image face enrollment usually the folder will be located at /data/ftp/target-data/rule-face-recognition/ but if you can't find the right path you can see config marathon service iva-web-api, see image below for example.

b. Copy folder face enrollment

After you locate the folder, copy the folder rule-face-recognition, for the subfolder will look like this :

Copy the folder to the desired location.

Then you can continue to the page below:

PreviousVanilla APIs for Face EnrollmentNextChangelogs

Last updated 1 year ago

Was this helpful?

export data with PGAdmin -

source
Batch Enrollment