Skip to main content
Version: 1.13.0

7. How-to Guides

7.1 Changing the Face Recognition Method

OMNI Platform uses face recognition methods from 3DiVi Face SDK. The method refers to the version of the face recognition model. The default method used in OMNI Platform 1.13.0 is 12v1000. For faster work you can switch to the 12v100 method, but this will reduce recognition accuracy.

А comparison of face recognition methods is given in Face SDK documentation.

To change a method in OMNI Platform, complete the steps below:

  1. Stop the Platform.
$ ./setup/uninstall-platform.sh
  1. Delete the Platform database.
sudo rm -rf /kv/pgdata
  1. Open ./deploy/values.yaml and set the new method in the following fields: DEFAULT_TEMPLATES_VERSION, TEMPLATE_VERSION, MATCHER_METHOD_DEFAULT, ACTIVITY_MATCHER_METHOD_DEFAULT, PROCESSING_SERVICE_METHOD.

  2. Create a database directory.

$ sudo mkdir -p /kv/pgdata
$ sudo chmod -R 777 /kv/pgdata
  1. Launch the Platform in cluster.
$ ./setup/deploy.sh

7.2 Registration of New Users

Registration of new users via web interface

  1. Follow the link http://platform.$DOMAIN/sign-up and enter email and password of the new user.
  2. Sign in to the specified email and follow the confirmation link in the incoming letter.
info

If the SMTP server is not configured, you can confirm registration through the administrator dashboard:

  1. Follow the link http://platform.$DOMAIN/storage/admin and enter administrator login and password (PLATFORM_ADMIN_EMAIL and PLATFORM_ADMIN_PASSWORD) to sign in.
  2. Then click on the Users tab, open the new user’s page in users’ list and put Active status in the Permissions section.
  3. After that click Save and go to the Sign-In page by clicking VIEW SITE on top of the screen.
  1. Registration is confirmed! At http://platform.$DOMAIN/sign-in enter email and password to sign in to the workspace.

Registration of new users using cURL-requests

  1. Use cURL-template below to send API-request for registration of the new user:
curl --location 'http://platform.$DOMAIN' --header 'Content-Type: application/json' --data-raw '{"query":"mutation ($userInfo: RegistrationInput!) {registration(userInfo: $userInfo) {ok}}","variables":{"userInfo":{"password":"password","confirmPassword":"password","email":"email@email.com"}}}'
  • Fill in the following fields:

    • http://platform.$DOMAIN - URL of the deployed Platform server
    • "password":"password" - Enter password
    • "confirmPassword":"password" - Confirm password
    • "email":"email@email.com" - Enter email
  • API should return "ok": true.

  1. Confirm registration via email, or administrator dashboard (if SMTP-server is not configured).
  2. Registration is confirmed! At http://platform.$DOMAIN/sign-in enter email and password to sign in to the workspace.
note

The system automatically creates a separate workspace for each new user. Connecting multiple users to the same workspace is not supported.