Dokumentácia

Tricsy Face Recognition

Rozpoznávanie tváre pre kontrolu prístupu: úvod, inštalácia, konfigurácia a každodenná prevádzka, so spracovaním cez RTSP alebo priamo na kamere.

Tak, ako ho Tricsy dodáva a integruje. Určený pre administrátorov, správcov identít a operátorov.

V skratke
Vydané
12. novembra 2026
Platí pre
Tricsy Face Recognition Station

Predstavenie produktu

Tricsy Face Recognition by Innovatrics is the face recognition platform behind Tricsy's biometric access: it watches the camera streams, identifies people against watchlists and tells the access system whether a door may open. Tricsy Face Recognition Station is its web application, where you set up cameras and watchlists and follow what happens at every access point.

Tricsy Face Recognition runs on-premises on a Linux server at the site and, in its default configuration, sends no data to the internet. Tricsy delivers the licences, sizes the server, installs it or trains the local integrator, and connects Tricsy Face Recognition to the building's existing access control system with a connector built for that system.

Tricsy Face Recognition Station, Security dashboard, with two pixelated live camera previews
Fig. 01 — Security dashboard. Tricsy Face Recognition Station: two live camera previews (pixelated in this documentation).

Screenshots. Screenshots come from live installations. Faces are blurred or pixelated, and the names of people, companies and cameras are replaced with fictional ones. Current Innovatrics documentation also calls Tricsy Face Recognition the Video Processing Platform (VPP); both names mean the same product.

What it does

  • Recognises people at the door. Every face a camera sees is matched against the watchlists in milliseconds, without a card or PIN.
  • Decides access. The Access Controller turns each match into a decision: granted, denied (unknown person) or blocked (restricted person or spoof attempt).
  • Opens through your existing system. A Tricsy connector passes granted decisions to the access control system, intercom or relay that drives the door, turnstile, lift or gate.
  • Tells people what happened. A feedback display at the door shows Welcome, Access not allowed and similar messages.
  • Checks that the face is real. Liveness (spoof) detection blocks photos and screens held in front of the camera.
  • Keeps a searchable history. Detections and matches are stored for the retention period you set and can be searched by time, camera, watchlist or a reference photo.

RTSP or edge processing

Each camera is connected to Tricsy Face Recognition in one of two ways. Both appear in Tricsy Face Recognition Station side by side and use the same watchlists and access rules.

RTSP cameraEdge stream
Where faces are matched On the Tricsy Face Recognition server, from the camera's video stream On the camera itself; only the result is sent to the server
Cameras Any IP camera with an RTSP stream, including existing third-party cameras Smart cameras with an Ambarella chip (CV28, CV25, CV22, CV2), for example Axis M series or Hanwha P series, running the Tricsy Face Recognition Embedded Stream Processor
Server Sized for the number of camera streams A small server handles up to about 150 edge cameras
Network Continuous video, about 2.5 to 4 Mbit/s per camera Only events and small face crops
Live preview in Station Yes No
Watchlists All watchlists on the server Only the watchlists synchronised to the camera
Best for Existing cameras, mixed brands, few doors Many doors, smaller servers, limited bandwidth

Edge cameras. An edge camera only recognises members of the watchlists synchronised to it. When you create a new watchlist that should open a door watched by an edge camera, select it for synchronisation on that edge stream as well.

How a face becomes a decision

IP cameras sit at the access points. From there the path depends on how the camera is connected.

  • RTSP camera. The Tricsy Face Recognition server detects and matches faces in the video stream.
  • Edge stream. The camera matches faces itself against its synchronised watchlists.

Tricsy Face Recognition Platform turns every face into an identification event: a matched member or an unknown face. The Access Controller's filters turn each event into a decision: granted, denied or blocked. Three things then happen:

  • The Tricsy connector opens the door through the access system or a relay.
  • Tricsy Face Recognition Station shows passages and alerts for operators.
  • The feedback display shows a welcome or denied message at the door.

Key concepts

ConceptWhat it isWhere to set
CameraAn RTSP camera processed on the serverCameras
Edge streamA camera that matches faces itself and reports to the serverCameras
WatchlistA group of enrolled people, for example the employees of one companyWatchlists
MemberOne enrolled person with face photos, palm photos or a QR codeWatchlists › members
Matching thresholdHow similar a face must be to a member to count as a match (default 40)Watchlist settings
Restricted watchlistA blacklist: a match blocks access and raises an alertServer configuration
Access ControllerThe Tricsy Face Recognition service that turns matches into granted, denied or blockedServer configuration
ConnectorThe Tricsy module that sends granted decisions to the door systemDelivered by Tricsy
Feedback displayA browser screen at the door that shows the result of each passageCamera detail

Tricsy Face Recognition Station at a glance

ScreenUsed for
SecurityLive preview of up to two RTSP cameras and recent detections and matches
Access controlGranted passages and alerts about denied or blocked attempts
HistorySearch and filters over every stored event, including search by photo
InvestigationFace search in uploaded video files
IdentificationQuick identification from an uploaded photo or the device camera (depends on licence)
WatchlistsWatchlists and their members
CamerasRTSP cameras and edge streams with their settings
ConfigurationStation settings, autolearn, data retention, licence and versions

Who uses it

RoleResponsibilityMain screens
System administratorInstalls Tricsy Face Recognition, applies licences, adds cameras and edge streamsInstallation, Cameras, Configuration
Identity / watchlist managerEnrols and removes people, keeps photos up to dateWatchlists
Security operatorWatches access points, resolves alerts, searches historyAccess control, Security, History
Integration partner / TricsyBuilds and configures the connector to the access systemConnector configuration

The rest of this page follows that order: installation, configuration and daily operation.

Inštalácia

Tricsy Face Recognition is installed on a local Linux server as a set of Docker containers, from the installation package that Tricsy sends to each client. This chapter is for the system administrator or the integration partner doing the installation. Every client receives a free evaluation licence for one month.

Prerequisites

  • Server: Linux (Ubuntu 24.04 LTS recommended), x86-64 CPU with the AVX2 instruction set, at least 4 physical cores, 16 GB RAM and 80 GB SSD. Production servers usually have 32 GB RAM or more. No GPU is needed; ARM servers are not supported. grep -c avx2 /proc/cpuinfo must return more than 0, also inside a virtual machine.
  • Docker: Docker Engine with the Docker Compose plugin: docker compose version must report 2.x or newer; the old standalone docker-compose 1.x is not enough. Internet access is needed during the installation.
  • Cameras: RTSP cameras reachable from the server (port 554 by default), or smart cameras for edge processing that can reach the server.
  • Network: a fixed IP address or host name for the server, so cameras, the connector and operators' browsers can reach it.

Server sizing

LoadExample serverNote
About 3 RTSP streamsIntel NUC i7-1360P, 16 GB RAMSmall sites and proofs of concept
About 4 RTSP streams6+ cores, 32 GB RAM, e.g. Dell R250 (Xeon E-2336)Use 8+ cores to allow growth
About 14 RTSP streamsDell R660 (Xeon Gold 5416S, 16 cores), 64 GB RAMStandard answer for 5 to 14 cameras
About 100 RTSP streamsDell R760 (2× Xeon Platinum 8470)Consider one server per building instead
Up to 150 edge streamsIntel NUC i7-1360P or Dell R250 classMatching runs on the cameras; up to 10,000 people
Up to 400 edge streamsDell R760 (2× Xeon Platinum 8470)Up to 10 million people

The models are reference points: any server with the same CPU class, AVX2, the RAM shown and an SSD works. The customer buys the server; Tricsy sizes it. Live video preview in Tricsy Face Recognition Station costs extra CPU per camera, so plan it only where reception needs live video. A virtual machine is fine for a proof of concept when AVX2 is visible inside it and RAM is static, but production should run on dedicated hardware.

Installation package

Tricsy Face Recognition is not a public download. Tricsy sends each client a download link to tricsy-vpp-installation-<version>.zip (about 10 GB), which contains the Tricsy Face Recognition Platform images and the file install.txt. Follow install.txt step by step; this section describes the same steps. After unpacking, /srv/tricsy contains:

PathContents
obtain_hwId.txtHow to read the hardware ID for a production licence
run-all.shLoads the shipped images and starts or restarts everything
vpp/Tricsy Face Recognition Platform and Station (.env, .env.sfstation), shipped images, dependencies
ac/Access Controller (.env.sfac) and the Tricsy access control connector (.env.actrlcon)

Licence

Evaluation licence. Every client receives a free evaluation licence, valid for one month, to try Tricsy Face Recognition on its own cameras and tune the configuration. Tricsy sends it as iengine.lic together with the package. Use the supplied file as it is and skip obtain_hwId.txt.

Production licence. The production licence can replace the evaluation licence at any time, also while the evaluation is still valid. It is bound to the hardware ID of the server, as described in obtain_hwId.txt:

  1. After the docker login command from install.txt, read the server's hardware ID:
    docker run --rm registry.gitlab.com/innovatrics/smartface/license-manager:3.2.7

    The output ends with “Hardware ID of this device is: …”.

  2. Send the hardware ID to sales@tricsy.com. Tricsy sends you the production iengine.lic. Replace the evaluation file with it and restart the deployment:
    cp iengine.lic /srv/tricsy/vpp/
    chmod 644 /srv/tricsy/vpp/iengine.lic
    cd /srv/tricsy
    ./run-all.sh

A new server or changed hardware gets a new hardware ID and needs a new licence. Each edge camera needs its own licence of the type SFE Stream Processor; its hardware ID is the camera's MAC address without colons. Tricsy prepares these licences together with the server licence.

Install the server

  1. Optional, recommended: allow your user to run Docker without sudo, then log out and back in.
    sudo groupadd -f docker
    sudo usermod -aG docker $USER
  2. Install unzip and extract the package into /srv:
    sudo apt-get update && sudo apt-get install -y unzip
    sudo unzip tricsy-vpp-installation-<version>.zip -d /srv
    sudo chown -R $USER: /srv/tricsy
  3. Copy the evaluation licence into vpp/. The file must be named exactly iengine.lic and be readable:
    cp iengine.lic /srv/tricsy/vpp/
    chmod 644 /srv/tricsy/vpp/iengine.lic
  4. Log in to the distribution registry with the docker login command from install.txt (step 4).
  5. Only if the operators' PCs reach the server by another address (NAT, DNS name): set S3_PUBLIC_ENDPOINT in vpp/.env.sfstation. Otherwise the first run sets it to http://<server-ip>:8333 itself.
  6. Start the deployment:
    cd /srv/tricsy
    ./run-all.sh

    The first run loads the shipped images (several minutes), starts the dependencies, migrates the database, starts Tricsy Face Recognition Platform and Station, and finally the Access Controller.

The package runs five camera services and a PostgreSQL database, on CPU only. Each RTSP camera needs its own camera service, so you can register only five RTSP cameras; Tricsy adds services when more cameras are planned.

Verify

  1. docker ps shows all containers as Up within a few minutes.
  2. Tricsy Face Recognition Station opens at http://<server>:8000.
  3. The REST API documentation opens at http://<server>:8098; GraphQL runs on port 8097.
  4. In Station, Configuration shows the licence status and expiry and the versions of Tricsy Face Recognition Platform, Tricsy Face Recognition Station and the Access Controller.

Run ./run-all.sh again at any time to restart the deployment; the message “network with name vpp-network already exists” is harmless.

If the installation stopsWhat to do
unknown shorthand flag: 'f' in -fThe Docker Compose plugin is missing: install docker-compose-v2 (Ubuntu) or docker-compose-plugin (Docker repository)
License file not found or No license file was foundThe licence must be /srv/tricsy/vpp/iengine.lic and readable: chmod 644
Permission denied on a scriptchmod +x on run-all.sh, vpp/*.sh and ac/run.sh
Camera added, no videoRead its log: docker logs --tail 100 vpp-cam-1-1 (up to vpp-cam-5-1)

Install an edge camera

The Tricsy Face Recognition Embedded Stream Processor runs as an app on the camera. On Axis cameras:

  1. Open the camera's web interface and check Maintenance › Firmware. The camera needs AXIS OS 11.11.73 or newer within version 11; version 12 is not supported yet.
  2. In Apps, click + Add app, install the Stream Processor package (.eap) from Tricsy, switch it on and click Open.
  3. In the Stream Processor Configuration, set the MQTT connection: Broker address = the Tricsy Face Recognition server, Broker port = 1883, Client ID = a unique name of the camera, Topic = edge-stream, and the username and password of the server's message broker. Enable TLS where the network requires it. Click SAVE CHANGES, then LAUNCH.
  4. In Tricsy Face Recognition Station, add the camera as an edge stream with the same Client ID, upload its licence and enable it (Cameras). The stream should show Healthy.

Security. The message broker ships with a default account (guest / guest). Tricsy replaces it with a site-specific account before the system goes live, and all camera accounts used in RTSP addresses are dedicated, view-only accounts.

Station configuration file

Tricsy Face Recognition Station reads its settings from /srv/tricsy/vpp/.env.sfstation. The settings Tricsy typically sets during installation:

SettingPurpose
ENABLE_AUTHENTICATIONUser sign-in for Station, so only named users can work with it
BLACKLIST_WATCHLIST_IDSWatchlists treated as restricted (Watchlists)
WATCHLIST_MEMBER_KEY_n, WATCHLIST_MEMBER_LABEL_nMember labels shown in Station, such as company or employee ID
DOT_FACE_CAMERA_ENABLEDTaking photos with the device camera; requires HTTPS
S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY, S3_BUCKET, S3_PUBLIC_ENDPOINTVideo storage for the Investigation dashboard; the public endpoint is the address operators' browsers use
LICENSE_FILE_PATHLocation of the licence file shown in Configuration

After every change, recreate the Station container (a plain restart does not reload the file):

cd /srv/tricsy/vpp
docker compose -f docker-compose.station.yml up -d --force-recreate

First steps

  1. In Watchlists, click CREATE WATCHLIST, name it (for example Camera Acceptance Test) and add yourself with a photo.
  2. In Cameras, click ADD CAMERA, enter a name and the RTSP address, open the camera and switch it to Enabled.
  3. In the Security dashboard, assign the camera to the left preview and switch it on in the recent events settings.
  4. Stand in front of the camera. Your match appears in the recent events and in History.

The evaluation month is meant for trying Tricsy Face Recognition and tuning its configuration. Prepare the RTSP addresses of your cameras and a few face photos of people who can walk in front of them, and Tricsy will tune the camera and Access Controller settings with you in a short remote session.

Konfigurácia

Configuration follows the path of a face: cameras first, then the people they should recognise, then the rules that open doors. On a new site, work in this order.

  1. Cameras — RTSP cameras and edge streams, with detection settings and the feedback display.
  2. Watchlists — groups of people and their photos.
  3. Access control — Access Controller rules and the Tricsy connector.
  4. Door cameras — use face attributes so that only people who approach the door open it.
  5. Station and platform settings — language, autolearn, data retention.
  6. Privacy — what is stored, for how long, and where.

3.1 Cameras

Placement. Recognition quality depends mostly on where the camera hangs and how it is set. Follow these values for every access point.

ParameterRecommended
Resolution1080p (Full HD); at least 720 px wide; 4K adds nothing
Face sizeAt least 50 px between the eyes; 30 px is the minimum
Frame rate15 fps or more, also in low light
Exposure1/50 s or faster, to avoid motion blur
StreamH.264 or H.265, constant bitrate, quality priority, a separate stream profile for Tricsy Face Recognition
Height and angleAt eye level (about 160 cm), facing the direction people walk in; head turned less than 30° left or right and up or down
Lens2.8 mm or longer, to avoid fish-eye distortion; fixed focus rather than autofocus
LightEven, frontal, neutral white light; no backlight, no lamp or reflective surface in the view; IR light at night
Settings to turn offWDR when liveness is used (it can make a real face look like a spoof); deterrence flash and siren

Make sure the face is clearly visible a few steps before the barrier, so the door opens without people stopping. When part of the view must not be processed, use the camera's own privacy mask, or a Tricsy Face Recognition mask image set by Tricsy through the API.

RTSP address. Tricsy Face Recognition reads each camera through an RTSP URL:

rtsp://<username>:<password>@<camera-ip>:554/<stream-path>
CameraTypical stream path
Axis/axis-media/media.amp
i-PRO/MediaInput/h264 or /MediaInput/h265
OthersSee the camera's web interface or manual

Use a dedicated view-only camera account. The password is part of the URL, so never paste a real URL into tickets, e-mails or screenshots; characters such as @, : or # in the password may need URL encoding.

Test the stream first. Before you register a camera, open the exact URL from the Tricsy Face Recognition server or its network, for example in VLC (Media › Open Network Stream) or with ffprobe. A test from a laptop on another network does not prove the server can reach the camera. Fix the camera, network or URL before you continue.

Add an RTSP camera.

  1. Go to Cameras and click ADD CAMERA (not ADD EDGE STREAM).
  2. Enter a descriptive Camera name (site, place, direction) and the tested RTSP / Video source.
  3. Click ADD CAMERA, open the new camera in the list and switch it to Enabled. Registration alone does not start processing.
  4. Check that the preview appears. If registration is refused although the form is valid, all camera services are in use.
Cameras list in Tricsy Face Recognition Station, with edge streams, filters and search
Fig. 03 — Cameras. RTSP cameras and edge streams in one list, with filters and search by name or client ID.

The list shows RTSP cameras and edge streams together. Filter it by source, status (Enabled, Disabled) and modality, or search by name or client ID. For edge streams, the list also shows whether the camera is online and whether its licence is valid.

The camera detail is split into sections; the defaults suit most doors. Change them only when a test at the door shows a reason, and do not copy settings from another site's screenshots.

SectionSettings (default)
GeneralCamera name, OS service name (assigned by Tricsy Face Recognition, read-only), RTSP / Video source, Enabled; FILTER IN HISTORY, OPEN FEEDBACK DISPLAY (with copy link), DELETE
Detection timingDetection / extraction interval: Conservative 1000 ms, Moderate 500 ms, Fast 250 ms or custom
Face processingDetector resource CPU internal; confidence threshold Only good faces (1500), or 1200 / 3500; min / max face 35 / 600 px; max faces 20; face save strategy; detector algorithm Balanced or Accurate; template generator CPU external
Spoof detectionOff. Distant liveness (access control) or nearby liveness (selfie), threshold 90
Palm, pedestrian, object processingOff; enable only when licensed and needed
Video previewOn; quality Low (426 px), Medium, High or custom; profile Minimal, AC/Security, Retail, Full or custom
Camera configuration for Demo Entrance, including the read-only OS service name SFCam
Fig. 04 — Camera detail. General settings, actions and detection timing (example values). The OS service name SFCam is assigned by the system and is read-only.

Face save strategy decides how many face images are stored: All stores every face, Balanced stores a new face only when it is better than the previous ones, MatchedOnly stores only faces matched to a member. Choose it together with the site's privacy rules (Privacy).

Add an edge stream. The Stream Processor must already run on the camera (Install an edge camera).

  1. Go to Cameras and click ADD EDGE STREAM.
  2. Enter the Edge stream name and the Client ID. The Client ID must match the MQTT client ID set on the camera.
  3. Open the new edge stream, drop its licence file into the License section and click Save. After a few seconds the licence shows Valid.
  4. Switch the stream to Enabled.
  5. In Watchlists for matching and synchronisation, turn synchronisation on and select the watchlists the camera should recognise; the matching threshold is 40 by default.
  6. Check that the health status shows Healthy (online and licence valid).
Edge stream configuration showing name, client ID, online status and a valid licence
Fig. 05 — Edge stream. Name, client ID, health and licence status, actions and face processing.

Edge stream defaults differ from RTSP cameras because the camera does the work: min / max face 20 / 200 px, max faces 10, faces ordered by detection confidence, templates created on the server, a message every 250 ms with a 50 px JPEG face crop. Sites often tune them, for example a larger minimum face size so that only people close to the door are processed. Further sections cover QR codes, palms, liveness on the camera, full-frame images and logging.

HealthMeaning
Online / Offline / Disconnected / UnknownConnection of the camera to the server
License valid / invalid / not providedState of the camera's licence
HealthyOnline with a valid licence

Feedback display. A tablet or screen at the door shows the result of each passage.

ScreenWhen
WelcomeThe person was identified and access was granted
Put on maskIdentified, but mask enforcement is on and no mask was worn
Access not allowedThe person is not a member of any watchlist
Access not grantedThe person is on a restricted watchlist, or a spoof was detected
LogoIdle screen between passages
ErrorA technical problem occurred

Open it with OPEN FEEDBACK DISPLAY in the camera or edge stream detail, or copy its link with the button next to it, and run it in kiosk mode so passers-by cannot use the device. One display can serve several cameras: list their IDs in the link, separated by semicolons (/feedback/<id1>;<id2>). Logo, texts and images can be branded for the site.

3.2 Watchlists and members

A watchlist is a group of people treated the same way, for example the employees of one tenant, visitors or a blacklist. Access rules work with watchlists, not with single people.

Create a watchlist.

  1. Go to Watchlists and click CREATE WATCHLIST.
  2. Enter a name (up to 200 characters) and click CREATE WATCHLIST.
  3. Register members now or later.
  4. Set the Matching threshold and click CONFIRM. The default is 40 for faces and 75 for palms. A higher value is stricter and can reject authorised people.

You can rename a watchlist by clicking its name, change its colour (the colour marks its matches in the dashboards) and change the threshold at any time. Deleting a watchlist also deletes all of its members.

On a building with several tenants, use one naming pattern for all watchlists, for example AccessControl_<Company> for employees and AccessControl_Visitors_<Company> for visitors. All members lists everyone enrolled.

Watchlists screen with member previews and member counts
Fig. 06 — Watchlists. Each watchlist with a preview of its members and the member count.

Add members.

  1. Open the watchlist and click +ADD MEMBERS.
  2. Choose Faces (one photo per person, up to 30 photos at once), Palms (one palm photo) or Without photos (a number of empty members), then click NEXT.
  3. Enter each Full name and an optional Note, then confirm.
  4. Check that each new member has a face image. If Tricsy Face Recognition finds no usable face in a photo, it says so and the member is not enrolled with that photo.

Photos can be dropped onto the upload area, chosen from the computer or, when Tricsy has enabled it (HTTPS and the camera setting), taken with the device camera.

Register new members on the Watchlists page offers bulk registration. Simple links the new members to one or more watchlists at once. Advanced reads a whole folder and takes the member details from the file names, using {id}, {memberName}, {label:KEY}, * and {ext} (for example {id}-{memberName}-*.{ext}; photos with the same ID become one member). Click START REGISTRATION, confirm the detection settings and review the result table.

Register new members, Simple tab, with a watchlist chosen and a face photo drop area
Fig. 07 — Register members. Register new members › Simple: choose the watchlist and the modality, then add up to 30 face photos.

Edit a member. Click a member to open its detail. You can change the name and note, link the member to more watchlists (Watchlists › SAVE), fill in labels and add or remove photos (+ADD PHOTOS). Labels are key and value pairs, such as company or the ID from an HR or visitor system; Tricsy defines which labels Station shows, and connectors use them to keep Tricsy Face Recognition in step with the building's other systems. Members are listed 100 per page, with icons for their modalities (face, palm, QR code).

Photos. Good enrolment photos are the biggest single factor in recognition. Use sharp, frontal photos with even light, taken at eye level, with the head turned at most 15° in any direction and at least 50 px between the eyes. Since version 4.28 Tricsy Face Recognition validates photo quality during enrolment. A few good photos of the same person improve accuracy; a photo of a different person spoils the member's template, so check every added photo. Photos marked A were added by autolearn; a mask badge marks photos with a face mask.

Remove members. Click DELETE next to a member, or tick several and click REMOVE. Their templates and photos are deleted with them.

Restricted watchlists. A restricted watchlist (blacklist) blocks access and raises an alert. It cannot be set in the Station UI: the administrator adds the watchlist ID to BLACKLIST_WATCHLIST_IDS in the Station configuration and to the blacklist filter of the Access Controller, then restarts both. Restricted watchlists then show a Restricted label.

Tip. Keep one watchlist per company or group of people, and decide door rights in the access control system or connector. Members are then added and removed in one place, and the door rules stay readable.

3.3 Access control

The Access Controller listens to every match and decides what is sent to the door. Its filters stop double openings and false triggers.

FilterWhat it doesDefault
Face orderOnly the face nearest to the camera is consideredOn
Opening debounceIgnores repeated grants for the same person at the same camera4000 ms
Blocking debounceIgnores repeated blocks for the same person4000 ms
Exclusive cameraAfter a grant, other cameras ignore the person for a while (stops opening the opposite door)5000 ms
Not identified personSends one denied notification when a person stays unidentified for the period3000 ms
BlacklistWatchlists treated as restrictedSet per site
Liveness (spoof)Blocks photos and screens held up to the camera; optional rate limiting blocks a person for longer after repeated attemptsOff
Face maskDenies access when a mask is required and not wornOff
Head pose and face qualityOpens only when the face meets a rule, for example yaw and pitch within ±20° and face 60 px or more (Door cameras)Off
Intentional accessOpens for people walking towards the camera and ignores people lingering in viewOff
Stream groupsCameras of one group do not open again within the period3000 ms

Filters apply to all cameras and can be overridden per camera. On Linux they live in .env.sfac, on Windows in appsettings.json; they can also be changed at runtime through the Access Controller's gRPC configuration service. Tricsy sets them during installation and tunes them during the proof of concept.

Notifications. Each decision is one of three types: Granted opens the door for an identified, authorised person; Denied is sent for an unknown person or when a rule is not met; Blocked is sent for a restricted person or a spoof attempt. The Access Controller also handles QR codes (time-based one-time codes); for them only opening debounce, exclusive camera and blacklist apply. Connectors receive the decisions as a gRPC stream on port 5050 (with a ping every 5 seconds) or as MQTT messages, optionally with the face crop.

Connectors. A connector receives the Access Controller's notifications and opens the door through the system the building already has. Tricsy delivers connectors as needed by the project:

  • 2N intercoms — Tricsy Face Recognition reads each station's video and opens through the 2N HTTP API; rights stay in 2N.
  • Axis cameras and intercoms with door control.
  • Inner Range Integriti — copies people from Integriti and opens doors through it. Setup, user sync and door mapping are in Inner Range Integriti.
  • Nedap AEOS access control systems.
  • Network relays (for example Advantech WISE, Dingtian or Shelly) for doors and gates without an access system. For Shelly relays, the Tricsy relay controller turns granted MQTT messages into relay commands.
  • Custom connectors for other systems, built by Tricsy or by the client on the Tricsy Face Recognition REST, GraphQL and gRPC APIs.

The connector is configured with the address of the Access Controller (port 5050) and a mapping of each camera or edge stream to its door. Camera and edge stream IDs come from the REST API (/api/v1/Cameras, /api/v1/EdgeStreams).

3.4 Door cameras: open only for people who want to enter

A camera at a door also sees people who only walk past. For every face, Tricsy Face Recognition measures its size, head angles and other attributes (see Event detail). Use them so that only people who approach the door open it.

1. Look at real events. Let a few people walk to the door and a few walk past it. Open their events in History and compare the face size, yaw and pitch angles and face area change. Typically, people who only pass by appear smaller and turned sideways, with a yaw well beyond ±30°. People who want to enter look towards the camera, and their face grows from frame to frame as they come closer.

2. Set the camera and the Access Controller.

WhereSettingExampleEffect
CameraMin face sizeJust above the face size of passers-by, e.g. 60 to 90 pxFaces further away are not processed at all
Access ControllerFace orderOrder 1Only the face nearest to the camera can open; people behind are ignored
Access ControllerHead pose and face quality (expression)props.YawAngle >= -20 && props.YawAngle <= 20 && props.PitchAngle >= -20 && props.PitchAngle <= 20 && props.FaceSize >= 60A face turned away, looking down or too small does not open the door
Access ControllerIntentional accessOpen from 160 px, or when the face is predicted to reach it within 1500 msOpens for people walking towards the door; ignores people standing in view
Access ControllerExclusive camera, stream groups5000 ms, 3000 msOne person does not open two doors

The expression rule can combine FaceSize, FaceArea, YawAngle, PitchAngle, RollAngle, Sharpness, Brightness and glasses attributes with &&, || and brackets. It can be set for all cameras or only for one door: in the access control settings of a stream group (the cameras of one door), switch on Configuration Expression and enter the rule. Start with yaw and pitch within ±30° and tighten to ±20° if people passing by still open the door.

props.YawAngle >= -20 && props.YawAngle <= 20 &&
props.PitchAngle >= -20 && props.PitchAngle <= 20 &&
props.FaceSize >= 60
Access control settings for Main entrance, with a configuration expression limiting yaw and pitch
Fig. 08 — Expression rule. Access control settings of one door: the filters on the left, the expression rule on the right (here yaw and pitch within ±30°).

3. Test again. Repeat the walk with both groups. People who pass by may still appear in History as detections or matches, but they must not open the door and the feedback display must stay idle.

Age and gender. Age and gender are estimates. They help to describe events, but do not use them to grant or deny access.

3.5 Station and platform settings

Open Configuration in Tricsy Face Recognition Station.

  • Tricsy Face Recognition Station — time zone and language (SAVE CHANGES); matching score type (Biometric is recommended, Linear shows a linear approximation); Show service information displays IDs and extra settings for troubleshooting.
  • Tricsy Face Recognition Platform › Collect data on server — shows whether the platform keeps detection and match data on the server; read-only in Station.
  • Watchlist autolearn — when enabled, Tricsy Face Recognition adds good new photos of recognised members every night so templates keep up with haircuts, glasses and ageing. Set the Selection threshold (and the threshold with a mask), the number of Selected faces kept per member (up to 30) and the Start time (UTC), then click SAVE AUTOLEARN. The threshold should be higher than 70.
  • Data retention — switch on Delete detected objects, optionally Delete match results, and set the Retention period in days and the Daily start time (UTC); click SAVE RETENTION. Older detections, images and matches are deleted every day.
  • License and Versions — licence status and expiry, and the installed versions of Tricsy Face Recognition Platform, Station and the Access Controller.

The configuration screen shows Station settings and platform data collection on the left, and watchlist autolearn and data retention on the right. The screenshot of that screen is omitted here because the product names in that build of the interface are not the Tricsy names.

3.6 Privacy and data

Tricsy Face Recognition processes biometric data, so Tricsy configures storage together with the customer's data protection rules (DPIA, notices, retention).

DataWhere it is stored
Watchlists, cameras, detections, matchesRelational database (PostgreSQL)
Face templatesRelational database; a template is a set of numbers without name or ID
Enrolment photos, face crops, full framesObject storage (MinIO or S3); can be limited or switched off
OptionEffect
Data retentionDetections, images and matches older than the set number of days are deleted daily
Face save strategy MatchedOnlyStores only faces matched to a member; unknown passers-by are not kept
Full-frame images offOnly face crops are stored, not the whole scene
Video preview offNo live video for that camera in Station
Identified only (edge)The edge camera sends only identified faces to the server
Anonymised membersNames can be left empty or replaced with an external ID
EncryptionFull-disk encryption on the server; TLS for internal communication

In the default configuration Tricsy Face Recognition does not send any data to the internet.

Manuál pre operátorov

Operators work in the Tricsy Face Recognition Station dashboards: Access control for the doors, Security for live cameras and History for looking back. This chapter is for reception, the security guard and the identity manager on duty.

Access Control dashboard

The Access Control dashboard shows what happens at every access point.

  • Recent passages — people who were granted access: the face crop, the matching score, the camera and the time, and for the latest passage also the member's watchlist photo. Use SOURCE to show all cameras or one.
  • Notifications — unsuccessful passages that need attention:
NotificationMeaningAccess
UnidentifiedThe face matched no watchlistDenied
No maskMatched, but mask enforcement is on and no mask was wornDenied
RestrictedMatched a restricted watchlistBlocked
SpoofA photo or screen was held up to the cameraBlocked

Each notification shows the camera, the face crop and, where stored, the full frame; matched notifications add the member, the watchlist and the score. Handle each notification, then click MARK AS RESOLVED; CLEAR ALL resolves all of them. With no open issues, the panel shows NO ISSUE DETECTED.

Important. Notifications on the Access Control dashboard are not saved. After the page is reloaded or reopened, earlier notifications are gone; use History to look back.

Access Control dashboard with open notifications and recent passages
Fig. 10 — Access control. Open notifications and recent passages.

Security dashboard

The Security dashboard shows up to two live RTSP cameras with frames around detected faces, and the recent events.

  • Camera preview › SETTINGS — assign a camera to LEFT or RIGHT; click X or the selected side again to remove it.
  • Recent events › SETTINGS — choose the layout (full or compressed) and placement (top or bottom), and which event types, modalities, cameras and edge streams are listed (eye icon).

Events are face detections (no match) and identifications (match), plus palm, pedestrian and object detections where enabled. With liveness on, an orange icon means the spoof check was not performed and a red icon means a spoof.

Event detail

Click any event in Security or History to open its detail. It shows the face crop, the full frame, the faces tracked across frames, and everything Tricsy Face Recognition measured about the face.

ParameterMeaning
Date and time, cameraWhen and where the face was seen
Watchlist, member, scoreFor a match: who it is, from which watchlist, and how similar the face is
Face sizeSize of the face in pixels
Face areaShare of the frame covered by the face, in %
Face area changeChange of the face area between tracked frames; it grows as the person comes closer
Yaw angleHead turned left or right, in degrees; 0 means looking straight at the camera
Pitch angleHead tilted up or down, in degrees
Roll angleHead tilted towards a shoulder, in degrees
Face order, faces on frameRank of the face by size (1 = largest, usually nearest) and the number of faces in the frame
Detection confidenceConfidence of the face detector, 0 to 10,000
Template qualityQuality of the biometric template created from this face
Age, genderEstimated age and gender
Face mask status and confidenceWhether a face mask was detected
Nose tip confidenceConfidence that the nose is visible; low values suggest a covered face
Spoof checkDistant and nearby liveness result and score, when liveness is on

These values are the basis for tuning a door camera (Door cameras): compare the events of people who enter with those of people who only pass by.

Event detail of a match, with member, time, edge stream, watchlist and measured face attributes
Fig. 11 — Event detail of a match: member, time, edge stream, watchlist and the measured face attributes. With a yaw of −36° and a face of only 25 px, this face would not open a door set up as in Door cameras.

Actions in the detail:

  • No match — REGISTER AS NEW MEMBER enrols the person into a watchlist straight from the event; ADD FACE TO EXISTING MEMBER adds the photo to someone already enrolled.
  • Match — the member's photo and score, ADD FACE TO THIS MEMBER, MEMBER PROFILE, the spoof check result and the person's last appearances with Show in history.

History

History keeps every stored event. REFRESH loads the newest ones.

  • Search — full-text search over events.
  • Quick filters — date and time, type (identified or not identified persons), modality, source type, face filter, face matching score and watchlists.
  • ADVANCED FILTERS — tabs General, Face (mask, gender, age, confidence, template quality, only spoofs), Pedestrians and Objects.
  • Face filter — drop or choose a photo of the person (or take one), set the similarity from 30 to 100 and click SEARCH; results get a face filter score. With linear scores the range is 51 to 100, default 95.

Selected filters appear above the list; remove one with X or all with CLEAR ALL FILTERS. Click a row to open the event detail.

History events list with search, filters and a face filter drop area
Fig. 12 — History. Search and filters over stored events.

Investigation and identification

  • Investigation — upload video files (with tags), process them, then click SHOW IN HISTORY to see the faces detected and identified in them. Use it to find a person in recorded footage; it requires the video storage set up by Tricsy.
  • Identification — where licensed, identify a person from an uploaded photo or the device camera, also on a phone or tablet. Its notifications are not saved either.

Daily tasks

A new employee starts.

  1. Open the company's watchlist and click +ADD MEMBERS.
  2. Add one or more good photos, the full name and, if used, the employee ID.
  3. Ask the person to walk through the door once and check the match in Recent passages.

Someone leaves. Delete the member from every watchlist on the last working day. Their templates and photos are deleted with them; they can no longer open any door.

A person is denied at the door.

  1. Open the Unidentified notification and look at the crop image.
  2. If the person is enrolled, the photo may be poor: add the event's face to the member (ADD FACE TO EXISTING MEMBER).
  3. If the person should have access but is not enrolled, enrol them or send them to reception.
  4. Mark the notification as resolved.

A restricted or spoof alert appears. Follow your site's security procedure, check the camera image and record the action before you resolve the notification.

A camera stops recognising people. Check in Cameras that it is Enabled and, for edge streams, that it is Healthy. Check that nothing blocks or blinds the camera, then contact the administrator.

Acceptance test of a new camera

  1. Enrol an approved test person (with their consent) in a test watchlist such as Camera Acceptance Test.
  2. Assign the camera to a preview in the Security dashboard and enable it in the recent events settings.
  3. Let the test person walk towards the camera naturally. A match event with the expected member and watchlist is the proof; a face detection alone is not.
  4. If possible, let a non-enrolled person pass as well; they must not match.
  5. Record camera, time, result and sign-off without copying personal data or camera passwords, then delete the test enrolment according to the retention rules.
What you seeMeaning
Live video, but no face eventsVideo works; check face processing, distance, light, angle and event filters
Face detected, no matchDetection works; check the enrolment photo, watchlist membership and threshold
Match with the expected memberThe camera passes the end-to-end test
Wrong or inconsistent matchStop; check enrolments, thresholds, image quality and duplicate members

Referencia

Default values

SettingDefault
Matching threshold (faces / palms)40 / 75
Face confidence threshold (camera)1500 (Only good faces)
Min / max face size, RTSP camera35 / 600 px
Min / max face size, edge stream20 / 200 px
Max faces per frame, RTSP / edge20 / 10
Detection interval500 ms (Moderate)
Liveness score threshold90
Opening debounce4000 ms
Exclusive camera5000 ms
Autolearn photos per memberup to 30
Photos per uploadup to 30 faces

Ports

ServicePort
Tricsy Face Recognition Station8000
REST API8098
GraphQL API8097
Access Controller (gRPC)5050
MQTT (edge cameras)1883
RTSP cameras554

Troubleshooting

SymptomLikely causeWhat to do
Cannot add another cameraAll camera services are in useAsk Tricsy to add camera services and check the sizing
Camera registered, but no videoNot enabled, or wrong URL, port, credentials or pathEnable it; re-test the RTSP URL from the server
Works in VLC on a laptop, not in Tricsy Face RecognitionThe server cannot reach the cameraCheck routing, firewall, VLAN and DNS between server and camera
Preview blank in SecurityPreview off, camera not assigned, or an edge streamCheck Video preview, the LEFT / RIGHT assignment and the RTSP address
Video visible, no faces detectedFaces too small, blurred, badly lit or turned awayCheck face processing, placement, light and thresholds
A known person is deniedPoor enrolment photo, face too small, backlightAdd a better photo or the event's face; check camera placement
Unknown people are matched to membersThreshold too low, or a wrong photo in a memberRaise the threshold carefully; remove wrong photos
Matches in History but not in recent eventsRecent events filtersCheck Recent events › SETTINGS for camera and event types
The door opens twiceDebounce too short, or two cameras see the same personCheck opening debounce, exclusive camera and stream groups
The door opens for people walking pastFaces of passers-by are large enough and frontal enoughRaise the minimum face size; use face order, the head pose rule and intentional access (Door cameras)
An edge camera recognises nobodyNo watchlist synced, licence invalid or stream offlineSelect watchlists for sync; check licence and health
High CPU load, late eventsToo many streams, short interval, high max facesReview interval and max faces; check sizing with Tricsy
Tricsy Face Recognition does not startLicence missing or hardware changedCheck iengine.lic; request a licence for the new hardware ID
An Integriti door does not open for a known faceFace card label, StreamConfig index, controller name or Integriti permission does not matchFollow Inner Range Integriti, including Restart and verify

When reporting a fault, note the product version, camera model and firmware, network path, approximate time and relevant logs, never the camera password.

Commissioning checklist

  • Camera name, location, model, firmware, IP address and stream profile recorded
  • RTSP stream tested from the server; dedicated view-only camera account in a password store
  • Camera registered and Enabled; detection and face processing settings recorded
  • Preview tested in Security, if used
  • Test watchlist created; test person enrolled with consent; live match verified in the event detail and History
  • Access Controller filters and connector mapping tested at the door; feedback display checked
  • Default broker and camera passwords replaced; Station sign-in enabled
  • Retention, save strategy and privacy settings approved by the customer
  • Test enrolments deleted; settings, test date, installer and customer sign-off recorded

Glossary

TermMeaning
Tricsy Face Recognition Platform (VPP)The Innovatrics server software that detects, extracts and matches faces
Tricsy Face Recognition StationThe web application for configuration and monitoring
Access ControllerThe Tricsy Face Recognition service that turns matches into granted, denied or blocked
RTSPThe video stream of an IP camera, processed on the server
Edge streamA camera that matches faces itself with the Tricsy Face Recognition Embedded Stream Processor
Client IDThe unique MQTT name that links an edge camera to its edge stream
Camera serviceA server process that handles one RTSP camera
WatchlistA group of enrolled people
MemberOne enrolled person with photos
TemplateThe biometric representation of a face, created from a photo
TrackletThe track of one person across consecutive frames
AutolearnNightly addition of good new photos to members
LivenessThe check that a real person, not a photo, is in front of the camera
Feedback displayThe screen at the door that shows the result of a passage
ConnectorThe Tricsy module between the Access Controller and the door system
Integriti face cardThe Active Integriti card whose number is copied to the label Integriti_Face_Token and presented back to Integriti to open a door. See Inner Range Integriti.

Inner Range Integriti

Use this chapter when an installer connects the Tricsy platform to Inner Range Integriti. Customers and installers may still call the platform SmartFace; it is the same system. The Integriti address, the controller name or number, the door names and the face card type name are site-specific: ask the installer for them.

Warning. Delivered .env files may contain lab values (IP address, API user, company code INNO, and example card labels). Replace all of them with the site's real values before starting the services. Leaving lab values in place can put the user sync into a restart loop and leave the access-control connector with no door mapping.

How it works

  • Two services in the access-control deployment on the Tricsy server (folder /srv/tricsy/ac) connect the Tricsy platform to Integriti.
  • User sync (service acs-vpp-user-sync, container ACSVPPUserSync) copies people from Integriti into the Tricsy platform once a minute. Settings are in /srv/tricsy/ac/.env.acs-vpp-user-sync. For every Integriti user with a photo it creates a watchlist member, uses the Integriti photo as the face, and copies the name and the numbers of the user's Active cards. Synced members are placed in watchlists named AccessControl_<COMPANY>_....
  • The access-control connector (service access-control-connector) opens the doors. When the camera at a door recognises a person, the connector sends the number of that person's face card to Integriti as if the card had been presented at that door. Integriti then decides, exactly as for a real card, whether the door opens. Access rights stay in Integriti. Door mapping is configured with StreamConfig blocks in /srv/tricsy/ac/.env.actrlcon.
  • Integriti stays the master: add, change and delete people only in Integriti. A user without a photo is not copied. If the Tricsy platform refuses a photo as too poor for face matching, that user is skipped until the photo changes in Integriti. A user deleted in Integriti is deleted from the Tricsy platform within a minute. Members created by hand in Tricsy Station are never touched by the sync.
  • For a person to get through a door by face, the Integriti user needs all three: (1) a clear frontal photo (badge photos are often too poor; do not use raw phone photos), (2) an Active card of the face card type, (3) permission to that door in Integriti.

Two stages

  • Stage A, user sync: 6.1, 6.2, 6.3 and 6.4, then 6.6 steps 1 to 4. Result: Integriti users with photos are in the Tricsy platform, each with their face card number on the label Integriti_Face_Token.
  • Stage B, doors: 6.5, then 6.6 step 1 again and steps 5 to 6. Result: a recognised face opens the door.

Finish and check Stage A before starting Stage B. If anything does not work, see 6.7. For current software limitations, see 6.9 Known issues.

6.1 Before you start

  1. Check that the ac deployment is on the server: ls -a /srv/tricsy/ac. You should see .env.acs-vpp-user-sync, .env.actrlcon and run.sh. If the folder or these files are missing, ask Tricsy for the package.
  2. Back up both settings files before editing them: cd /srv/tricsy/ac ; cp .env.acs-vpp-user-sync .env.acs-vpp-user-sync.bak ; cp .env.actrlcon .env.actrlcon.bak
  3. Open both .env files and replace every lab value with the site's real values (Integriti IP address, API user and password, SYNC_COMPANY if it is still INNO, and any example card labels). Do not start the services until this is done.
  4. The docker commands may need sudo if the user is not in the docker group.
  5. Personal data: the sync copies every Integriti user that has a photo into the Tricsy platform and uses that photo for face matching (biometric data). The customer must agree internally (GDPR, consent) before the first run. People who must not be in the Tricsy platform must have no photo in Integriti.

6.2 Prepare Integriti

  1. API operator: both services log in to Integriti with one operator using Basic authentication over HTTP (port 80). Write down the username and password. Use a password without $, #, ', " or \, and without spaces. These characters can break the curl commands and the settings files.
  2. Face card type: in Integriti, copy the exact card type <Name> that holds the card numbers that should open doors by face (6.3 step 3 lists all card types). The name is site-specific and must be copied exactly, including upper and lower case and spaces. "Direct Wiegand" is only an example and is not universal; on some sites the type is called "Direct Entry RAW". Only cards in state Active are copied. Every person who should open doors by face needs an Active card of this type; if people do not have one yet, create it in Integriti first, each with its own unique number. People without it are still copied, but no door opens for them. For the card type Direct Entry RAW, both 26-bit and 37-bit cards work with CardBitLength=32.
  3. Doors: for each door with a camera, write down the door name exactly as Integriti shows it (example: R01/X01) and the controller name or number exactly as shown in Integriti. It can be a name, not only a number.
  4. Test person: pick one or two people for the first door test (ideally the installer). Each needs a clear frontal, downsized photo in Integriti (not a raw phone photo), an Active face card and permission to the test door.

6.3 Test from the server

Run these on the Tricsy server (the same machine that runs /srv/tricsy/ac), so the same network path is tested. Replace <user> and <password> with the API operator and <integriti-ip> with the Integriti server address.

  1. Login and licences:
    curl -u '<user>:<password>' "http://<integriti-ip>/info"
    Expected: an XML <ServerInfo> answer with the version and the licences (for example Read, Write and Control). HTTP 401 means wrong username or password. "Failed to connect", "Connection refused" or no answer at all (timeout) means the server cannot reach Integriti: check the IP address and that the firewall lets the Tricsy server reach Integriti on port 80. A timeout can also mean a lab IP was left in the settings.
  2. Reading users:
    curl -u '<user>:<password>' "http://<integriti-ip>/db/User_noImages?query_size=1"
    Expected: XML with one <User>. If this fails, the sync will fail too.
  3. Card types:
    curl -u '<user>:<password>' "http://<integriti-ip>/db/CardTemplate?query_size=1000"
    Expected: one <CardTemplate> per card type. Copy the exact text inside <Name> for use in 6.4, for example <Name>Direct Wiegand</Name> or <Name>Direct Entry RAW</Name>. Do not assume the name from another site.

Do not continue until all three commands answer as expected.

6.4 Configure the user sync

Edit /srv/tricsy/ac/.env.acs-vpp-user-sync. The sync reads this file when the ac deployment starts (6.6 step 1) and starts copying users right away, so fill it in completely first:

ACS_VENDOR=integriti
INTEGRITI_BASE_URL=http://<integriti-ip>
INTEGRITI_USERNAME=<user>
INTEGRITI_PASSWORD=<password>
VPP_BASE_URL=http://vpp-proxy:4040
SYNC_COMPANY=<COMPANY>
SYNC_CARD_LABELS=<face card type name>=Integriti_Face_Token
  • INTEGRITI_BASE_URL: http:// plus the Integriti address, nothing after it (no /restapi or other path). Replace any lab IP.
  • SYNC_COMPANY: the site's company code. It puts everyone into watchlists named AccessControl_<COMPANY>_.... If the delivered file still has INNO, replace it.
  • SYNC_CARD_LABELS: the left side is the face card type name copied from <Name> in 6.3 step 3. The match is exact, including upper and lower case and spaces inside the name. Write it without quotes, even if it contains spaces. Example when the Integriti card type is Direct Entry RAW:
    SYNC_CARD_LABELS=Direct Entry RAW=Integriti_Face_Token
    "Direct Wiegand" is only an example; do not use it unless that is the exact <Name> on this site (direct wiegand and DirectWiegand would also fail even if the real name were Direct Wiegand). The right side stays Integriti_Face_Token, because the doors in 6.5 look for exactly this name. If the name is wrong, people are still copied, but without a card number, and no door opens for them ("No CardData found").
  • Leave the rest as it is: ACS_VENDOR is always integriti; VPP_BASE_URL must stay vpp-proxy:4040, never localhost.

Photos: use a clear frontal, downsized photo in Integriti. Badge photos are often too poor, and raw phone photos can be rejected or can block the sync (see 6.6 step 2 and 6.9). Exact size limit: [max photo size: to be confirmed].

Stage A continues with 6.6 steps 1 to 4.

6.5 Configure the doors

Edit /srv/tricsy/ac/.env.actrlcon.

  1. Fill in the Integriti connection (same operator as in 6.4):
    Integriti22__Host=<integriti-ip>
    Integriti22__Port=80
    Integriti22__Username=<user>
    Integriti22__Password=<password>
    Integriti22__Controller=<controller name or number exactly as shown in Integriti>
    Integriti22__Controller is the controller name or number exactly as shown in Integriti. It can be a name, not only a number. Copy it exactly.
  2. Add one StreamConfig block per door. The first door must be StreamConfig__1__. Do not use index 0. In the connector image's appsettings.json, index 0 holds a sample KONE entry with Enabled=false. Environment variables overwrite other fields in that entry, but they do not flip Enabled to true, so a door configured as StreamConfig__0__ is ignored and the log says has no AccessConnector configuration.

    For the first door use 1 in place of <n>. For more doors copy the block and use the next number (2, 3, …) in place of <n>:

    StreamConfig__<n>__Type=INNERRANGE_INTEGRITI_22
    StreamConfig__<n>__FaceModalityEnabled=true
    StreamConfig__<n>__OpticalCodeModalityEnabled=false
    StreamConfig__<n>__UserResolver=LABEL_Integriti_Face_Token
    StreamConfig__<n>__StreamId=<stream ID of the camera at this door>
    StreamConfig__<n>__DoorName=<door name exactly as in Integriti>

    Optionally also set StreamConfig__<n>__Enabled=true. If a door sits on a different controller, add StreamConfig__<n>__Controller=<its name or number exactly as in Integriti> to that block.

  3. StreamId is the ID of the camera in the Tricsy platform. Open the camera in Tricsy Station and copy the last part of the address in the browser: http://<server>:8000/cameras/camera-detail/<StreamId> (for example in .../camera-detail/01a2b3c4-d5e6-7f80-9a1b-2c3d4e5f6a7b the StreamId is 01a2b3c4-d5e6-7f80-9a1b-2c3d4e5f6a7b). Each door camera has its own StreamId. If a camera is deleted and added again, it gets a new StreamId, so update its block.

Rules: DoorName must match Integriti exactly and a controller must be set; without both the connector cannot address the door. Keep UserResolver=LABEL_Integriti_Face_Token; it tells the connector to use the face card number copied by the sync.

Stage B continues with 6.6 step 1, then steps 5 to 6.

6.6 Restart and verify

  1. Restart the ac deployment so both services read the new settings (after 6.4, and again after every change in 6.5): cd /srv/tricsy/ac ; ./run.sh. This restarts only the services in /srv/tricsy/ac; there is no need to run /srv/tricsy/run-all.sh again.
  2. Check the sync log: docker logs --tail 50 ACSVPPUserSync. Look for "acs reachable" and then, after the first cycle, "sync cycle complete" with errors 0. The same line shows how many users were enrolled (enrolled), had no photo (skipped_no_photo) and had a photo refused (rejected_quality). The first cycle takes longer on sites with many users.
    • NoFaceDetected is recorded as rejected_quality and that user is skipped. The name of the user (acs_id) is in the log: replace that user's photo in Integriti with a clear frontal, downsized photo and the sync retries on its own.
    • HTTP 422 (for example YawAngle >±20°) and HTTP 413 (photo too large) are currently not treated as rejected_quality. They cause an error and a per-minute retry loop, and they block the sync generation (the cycle keeps re-updating other users as well). Workaround: use frontal, downsized photos in Integriti, not raw phone photos. Exact size limit: [max photo size: to be confirmed]. See also 6.9.
    • "no card types configured" means SYNC_CARD_LABELS is empty: people get copied but no door opens.
  3. In Tricsy Station open a watchlist named AccessControl_<COMPANY>_... and check that the Integriti users are there with their photos. Then open the test person and check the labels: Integriti_Face_Token must be there with the number of their face card. Without it no door opens for that person (check SYNC_CARD_LABELS and the card in Integriti).
  4. Remove duplicates: anyone added to the Tricsy platform by hand earlier (for example during the first camera test) is now there twice, the hand-made member and the synced one. The sync never touches hand-made members, so delete them in Tricsy Station. Otherwise the camera may match the hand-made member, which has no card number (or may have the wrong card number), and the door stays shut ("No CardData found"). Stage A is done; continue with 6.5.
  5. Walk past a door camera as a synced person with an Active face card and permission to that door. The door must open.
  6. Check the connector log: cd /srv/tricsy/ac ; docker compose logs --tail 100 access-control-connector. Look for a "SendOpenAsync" line with the door name, followed by "Status 200". "No CardData found" means the person has no Active face card in Integriti, the card type name on the left side of SYNC_CARD_LABELS does not match Integriti exactly, or the camera matched a hand-made member (step 4). "has no AccessConnector configuration" means the door was configured as StreamConfig__0__, or Enabled is still false: use StreamConfig__1__ (and optionally set StreamConfig__<n>__Enabled=true). "Status 200" only means Integriti accepted the card; if the door still stays shut, check the card event in Integriti, because the person's permissions decide.

6.7 If something does not work

Run this on the server. It collects both logs and both settings files into one file, with passwords hidden:

cd /srv/tricsy/ac
{
  echo "== sync log =="
  docker logs --tail 300 ACSVPPUserSync 2>&1
  echo "== connector log =="
  docker compose logs --tail 300 access-control-connector 2>&1
  echo "== settings, passwords hidden =="
  cat .env.acs-vpp-user-sync .env.actrlcon | sed -E 's/^([^=]*(PASSWORD|TOKEN|SECRET|KEY)[^=]*=).*/\1***/I'
} > ~/tricsy-diag.txt

Send ~/tricsy-diag.txt to the Tricsy team (info@tricsy.com) and add which step failed and what was expected, and for 6.3 the HTTP code or error message of each curl command (not the full user data).

6.8 Checklist

Stage A, user sync

  • ac deployment present in /srv/tricsy/ac and .env files backed up
  • every lab value in both .env files replaced (IP, API user, company code, card labels)
  • enrolment of everyone with a photo agreed internally (GDPR)
  • API operator works (/info answers with ServerInfo)
  • /db/User_noImages returns a user
  • exact face card type <Name> copied from Integriti into SYNC_CARD_LABELS (for example SYNC_CARD_LABELS=Direct Entry RAW=Integriti_Face_Token when that is the site's type)
  • test person has a clear frontal, downsized photo, an Active face card and door permission
  • .env.acs-vpp-user-sync filled in
  • ac deployment restarted with ./run.sh
  • sync log shows "sync cycle complete" with errors 0
  • users with photos visible in Tricsy Station on a watchlist named AccessControl_<COMPANY>_...
  • test person has label Integriti_Face_Token with the card number
  • hand-made duplicate members deleted

Stage B, doors

  • door names and controller name or number (exactly as shown in Integriti) noted
  • StreamId of each door camera noted
  • .env.actrlcon has the Integriti22 connection and one StreamConfig block per door starting at StreamConfig__1__ (do not use index 0)
  • ac deployment restarted with ./run.sh
  • live test passed at every door and the log shows "Status 200"

6.9 Known issues

  • Photo rejections that block user sync. NoFaceDetected is handled correctly (rejected_quality, the user is skipped). HTTP 422 (for example YawAngle >±20°) and HTTP 413 (photo too large) currently cause a per-minute retry loop and block the sync generation. Workaround: use frontal, downsized photos in Integriti, not raw phone photos. Exact size limit: [max photo size: to be confirmed].
  • Memory leak in vpp-cam containers. In older builds, vpp-cam containers can leak memory over time. This is fixed in the upcoming VPP package. Workaround until that package is installed: periodically restart the affected camera containers (vpp-cam-*-1), for example with docker restart vpp-cam-1-1 (replace the index to match the camera).

Potrebujete licenciu alebo pomoc s inštaláciou?

Povedzte nám o lokalite a my navrhneme veľkosť servera, pripravíme licencie a prejdeme s vami prvú inštaláciu.