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.
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 camera | Edge 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
| Concept | What it is | Where to set |
|---|---|---|
| Camera | An RTSP camera processed on the server | Cameras |
| Edge stream | A camera that matches faces itself and reports to the server | Cameras |
| Watchlist | A group of enrolled people, for example the employees of one company | Watchlists |
| Member | One enrolled person with face photos, palm photos or a QR code | Watchlists › members |
| Matching threshold | How similar a face must be to a member to count as a match (default 40) | Watchlist settings |
| Restricted watchlist | A blacklist: a match blocks access and raises an alert | Server configuration |
| Access Controller | The Tricsy Face Recognition service that turns matches into granted, denied or blocked | Server configuration |
| Connector | The Tricsy module that sends granted decisions to the door system | Delivered by Tricsy |
| Feedback display | A browser screen at the door that shows the result of each passage | Camera detail |
Tricsy Face Recognition Station at a glance
| Screen | Used for |
|---|---|
| Security | Live preview of up to two RTSP cameras and recent detections and matches |
| Access control | Granted passages and alerts about denied or blocked attempts |
| History | Search and filters over every stored event, including search by photo |
| Investigation | Face search in uploaded video files |
| Identification | Quick identification from an uploaded photo or the device camera (depends on licence) |
| Watchlists | Watchlists and their members |
| Cameras | RTSP cameras and edge streams with their settings |
| Configuration | Station settings, autolearn, data retention, licence and versions |
Who uses it
| Role | Responsibility | Main screens |
|---|---|---|
| System administrator | Installs Tricsy Face Recognition, applies licences, adds cameras and edge streams | Installation, Cameras, Configuration |
| Identity / watchlist manager | Enrols and removes people, keeps photos up to date | Watchlists |
| Security operator | Watches access points, resolves alerts, searches history | Access control, Security, History |
| Integration partner / Tricsy | Builds and configures the connector to the access system | Connector 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/cpuinfomust return more than 0, also inside a virtual machine. - Docker: Docker Engine with the Docker Compose plugin:
docker compose versionmust 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
| Load | Example server | Note |
|---|---|---|
| About 3 RTSP streams | Intel NUC i7-1360P, 16 GB RAM | Small sites and proofs of concept |
| About 4 RTSP streams | 6+ cores, 32 GB RAM, e.g. Dell R250 (Xeon E-2336) | Use 8+ cores to allow growth |
| About 14 RTSP streams | Dell R660 (Xeon Gold 5416S, 16 cores), 64 GB RAM | Standard answer for 5 to 14 cameras |
| About 100 RTSP streams | Dell R760 (2× Xeon Platinum 8470) | Consider one server per building instead |
| Up to 150 edge streams | Intel NUC i7-1360P or Dell R250 class | Matching runs on the cameras; up to 10,000 people |
| Up to 400 edge streams | Dell 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:
| Path | Contents |
|---|---|
obtain_hwId.txt | How to read the hardware ID for a production licence |
run-all.sh | Loads 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:
- After the
docker logincommand from install.txt, read the server's hardware ID:docker run --rm registry.gitlab.com/innovatrics/smartface/license-manager:3.2.7The output ends with “Hardware ID of this device is: …”.
- 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
- 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 - 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 - Copy the evaluation licence into
vpp/. The file must be named exactlyiengine.licand be readable:cp iengine.lic /srv/tricsy/vpp/ chmod 644 /srv/tricsy/vpp/iengine.lic - Log in to the distribution registry with the
docker logincommand from install.txt (step 4). - Only if the operators' PCs reach the server by another address (NAT, DNS name): set
S3_PUBLIC_ENDPOINTinvpp/.env.sfstation. Otherwise the first run sets it tohttp://<server-ip>:8333itself. - Start the deployment:
cd /srv/tricsy ./run-all.shThe 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
docker psshows all containers as Up within a few minutes.- Tricsy Face Recognition Station opens at
http://<server>:8000. - The REST API documentation opens at
http://<server>:8098; GraphQL runs on port 8097. - 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 stops | What to do |
|---|---|
unknown shorthand flag: 'f' in -f | The 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 found | The licence must be /srv/tricsy/vpp/iengine.lic and readable: chmod 644 |
Permission denied on a script | chmod +x on run-all.sh, vpp/*.sh and ac/run.sh |
| Camera added, no video | Read 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:
- 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.
- In Apps, click + Add app, install the Stream Processor package (
.eap) from Tricsy, switch it on and click Open. - 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. - 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:
| Setting | Purpose |
|---|---|
ENABLE_AUTHENTICATION | User sign-in for Station, so only named users can work with it |
BLACKLIST_WATCHLIST_IDS | Watchlists treated as restricted (Watchlists) |
WATCHLIST_MEMBER_KEY_n, WATCHLIST_MEMBER_LABEL_n | Member labels shown in Station, such as company or employee ID |
DOT_FACE_CAMERA_ENABLED | Taking photos with the device camera; requires HTTPS |
S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY, S3_BUCKET, S3_PUBLIC_ENDPOINT | Video storage for the Investigation dashboard; the public endpoint is the address operators' browsers use |
LICENSE_FILE_PATH | Location 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
- In Watchlists, click CREATE WATCHLIST, name it (for example Camera Acceptance Test) and add yourself with a photo.
- In Cameras, click ADD CAMERA, enter a name and the RTSP address, open the camera and switch it to Enabled.
- In the Security dashboard, assign the camera to the left preview and switch it on in the recent events settings.
- 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.
- Cameras — RTSP cameras and edge streams, with detection settings and the feedback display.
- Watchlists — groups of people and their photos.
- Access control — Access Controller rules and the Tricsy connector.
- Door cameras — use face attributes so that only people who approach the door open it.
- Station and platform settings — language, autolearn, data retention.
- 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.
| Parameter | Recommended |
|---|---|
| Resolution | 1080p (Full HD); at least 720 px wide; 4K adds nothing |
| Face size | At least 50 px between the eyes; 30 px is the minimum |
| Frame rate | 15 fps or more, also in low light |
| Exposure | 1/50 s or faster, to avoid motion blur |
| Stream | H.264 or H.265, constant bitrate, quality priority, a separate stream profile for Tricsy Face Recognition |
| Height and angle | At eye level (about 160 cm), facing the direction people walk in; head turned less than 30° left or right and up or down |
| Lens | 2.8 mm or longer, to avoid fish-eye distortion; fixed focus rather than autofocus |
| Light | Even, frontal, neutral white light; no backlight, no lamp or reflective surface in the view; IR light at night |
| Settings to turn off | WDR 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>
| Camera | Typical stream path |
|---|---|
| Axis | /axis-media/media.amp |
| i-PRO | /MediaInput/h264 or /MediaInput/h265 |
| Others | See 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.
- Go to Cameras and click ADD CAMERA (not ADD EDGE STREAM).
- Enter a descriptive Camera name (site, place, direction) and the tested RTSP / Video source.
- Click ADD CAMERA, open the new camera in the list and switch it to Enabled. Registration alone does not start processing.
- Check that the preview appears. If registration is refused although the form is valid, all camera services are in use.
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.
| Section | Settings (default) |
|---|---|
| General | Camera 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 timing | Detection / extraction interval: Conservative 1000 ms, Moderate 500 ms, Fast 250 ms or custom |
| Face processing | Detector 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 detection | Off. Distant liveness (access control) or nearby liveness (selfie), threshold 90 |
| Palm, pedestrian, object processing | Off; enable only when licensed and needed |
| Video preview | On; quality Low (426 px), Medium, High or custom; profile Minimal, AC/Security, Retail, Full or custom |
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).
- Go to Cameras and click ADD EDGE STREAM.
- Enter the Edge stream name and the Client ID. The Client ID must match the MQTT client ID set on the camera.
- Open the new edge stream, drop its licence file into the License section and click Save. After a few seconds the licence shows Valid.
- Switch the stream to Enabled.
- In Watchlists for matching and synchronisation, turn synchronisation on and select the watchlists the camera should recognise; the matching threshold is 40 by default.
- Check that the health status shows Healthy (online and licence valid).
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.
| Health | Meaning |
|---|---|
| Online / Offline / Disconnected / Unknown | Connection of the camera to the server |
| License valid / invalid / not provided | State of the camera's licence |
| Healthy | Online with a valid licence |
Feedback display. A tablet or screen at the door shows the result of each passage.
| Screen | When |
|---|---|
| Welcome | The person was identified and access was granted |
| Put on mask | Identified, but mask enforcement is on and no mask was worn |
| Access not allowed | The person is not a member of any watchlist |
| Access not granted | The person is on a restricted watchlist, or a spoof was detected |
| Logo | Idle screen between passages |
| Error | A 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.
- Go to Watchlists and click CREATE WATCHLIST.
- Enter a name (up to 200 characters) and click CREATE WATCHLIST.
- Register members now or later.
- 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.
Add members.
- Open the watchlist and click +ADD MEMBERS.
- 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.
- Enter each Full name and an optional Note, then confirm.
- 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.
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.
| Filter | What it does | Default |
|---|---|---|
| Face order | Only the face nearest to the camera is considered | On |
| Opening debounce | Ignores repeated grants for the same person at the same camera | 4000 ms |
| Blocking debounce | Ignores repeated blocks for the same person | 4000 ms |
| Exclusive camera | After a grant, other cameras ignore the person for a while (stops opening the opposite door) | 5000 ms |
| Not identified person | Sends one denied notification when a person stays unidentified for the period | 3000 ms |
| Blacklist | Watchlists treated as restricted | Set per site |
| Liveness (spoof) | Blocks photos and screens held up to the camera; optional rate limiting blocks a person for longer after repeated attempts | Off |
| Face mask | Denies access when a mask is required and not worn | Off |
| Head pose and face quality | Opens only when the face meets a rule, for example yaw and pitch within ±20° and face 60 px or more (Door cameras) | Off |
| Intentional access | Opens for people walking towards the camera and ignores people lingering in view | Off |
| Stream groups | Cameras of one group do not open again within the period | 3000 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.
| Where | Setting | Example | Effect |
|---|---|---|---|
| Camera | Min face size | Just above the face size of passers-by, e.g. 60 to 90 px | Faces further away are not processed at all |
| Access Controller | Face order | Order 1 | Only the face nearest to the camera can open; people behind are ignored |
| Access Controller | Head pose and face quality (expression) | props.YawAngle >= -20 && props.YawAngle <= 20 && props.PitchAngle >= -20 && props.PitchAngle <= 20 && props.FaceSize >= 60 | A face turned away, looking down or too small does not open the door |
| Access Controller | Intentional access | Open from 160 px, or when the face is predicted to reach it within 1500 ms | Opens for people walking towards the door; ignores people standing in view |
| Access Controller | Exclusive camera, stream groups | 5000 ms, 3000 ms | One 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
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).
| Data | Where it is stored |
|---|---|
| Watchlists, cameras, detections, matches | Relational database (PostgreSQL) |
| Face templates | Relational database; a template is a set of numbers without name or ID |
| Enrolment photos, face crops, full frames | Object storage (MinIO or S3); can be limited or switched off |
| Option | Effect |
|---|---|
| Data retention | Detections, images and matches older than the set number of days are deleted daily |
| Face save strategy MatchedOnly | Stores only faces matched to a member; unknown passers-by are not kept |
| Full-frame images off | Only face crops are stored, not the whole scene |
| Video preview off | No live video for that camera in Station |
| Identified only (edge) | The edge camera sends only identified faces to the server |
| Anonymised members | Names can be left empty or replaced with an external ID |
| Encryption | Full-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:
| Notification | Meaning | Access |
|---|---|---|
| Unidentified | The face matched no watchlist | Denied |
| No mask | Matched, but mask enforcement is on and no mask was worn | Denied |
| Restricted | Matched a restricted watchlist | Blocked |
| Spoof | A photo or screen was held up to the camera | Blocked |
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.
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.
| Parameter | Meaning |
|---|---|
| Date and time, camera | When and where the face was seen |
| Watchlist, member, score | For a match: who it is, from which watchlist, and how similar the face is |
| Face size | Size of the face in pixels |
| Face area | Share of the frame covered by the face, in % |
| Face area change | Change of the face area between tracked frames; it grows as the person comes closer |
| Yaw angle | Head turned left or right, in degrees; 0 means looking straight at the camera |
| Pitch angle | Head tilted up or down, in degrees |
| Roll angle | Head tilted towards a shoulder, in degrees |
| Face order, faces on frame | Rank of the face by size (1 = largest, usually nearest) and the number of faces in the frame |
| Detection confidence | Confidence of the face detector, 0 to 10,000 |
| Template quality | Quality of the biometric template created from this face |
| Age, gender | Estimated age and gender |
| Face mask status and confidence | Whether a face mask was detected |
| Nose tip confidence | Confidence that the nose is visible; low values suggest a covered face |
| Spoof check | Distant 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.
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.
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.
- Open the company's watchlist and click +ADD MEMBERS.
- Add one or more good photos, the full name and, if used, the employee ID.
- 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.
- Open the Unidentified notification and look at the crop image.
- If the person is enrolled, the photo may be poor: add the event's face to the member (ADD FACE TO EXISTING MEMBER).
- If the person should have access but is not enrolled, enrol them or send them to reception.
- 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
- Enrol an approved test person (with their consent) in a test watchlist such as Camera Acceptance Test.
- Assign the camera to a preview in the Security dashboard and enable it in the recent events settings.
- 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.
- If possible, let a non-enrolled person pass as well; they must not match.
- 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 see | Meaning |
|---|---|
| Live video, but no face events | Video works; check face processing, distance, light, angle and event filters |
| Face detected, no match | Detection works; check the enrolment photo, watchlist membership and threshold |
| Match with the expected member | The camera passes the end-to-end test |
| Wrong or inconsistent match | Stop; check enrolments, thresholds, image quality and duplicate members |
Referencia
Default values
| Setting | Default |
|---|---|
| Matching threshold (faces / palms) | 40 / 75 |
| Face confidence threshold (camera) | 1500 (Only good faces) |
| Min / max face size, RTSP camera | 35 / 600 px |
| Min / max face size, edge stream | 20 / 200 px |
| Max faces per frame, RTSP / edge | 20 / 10 |
| Detection interval | 500 ms (Moderate) |
| Liveness score threshold | 90 |
| Opening debounce | 4000 ms |
| Exclusive camera | 5000 ms |
| Autolearn photos per member | up to 30 |
| Photos per upload | up to 30 faces |
Ports
| Service | Port |
|---|---|
| Tricsy Face Recognition Station | 8000 |
| REST API | 8098 |
| GraphQL API | 8097 |
| Access Controller (gRPC) | 5050 |
| MQTT (edge cameras) | 1883 |
| RTSP cameras | 554 |
Troubleshooting
| Symptom | Likely cause | What to do |
|---|---|---|
| Cannot add another camera | All camera services are in use | Ask Tricsy to add camera services and check the sizing |
| Camera registered, but no video | Not enabled, or wrong URL, port, credentials or path | Enable it; re-test the RTSP URL from the server |
| Works in VLC on a laptop, not in Tricsy Face Recognition | The server cannot reach the camera | Check routing, firewall, VLAN and DNS between server and camera |
| Preview blank in Security | Preview off, camera not assigned, or an edge stream | Check Video preview, the LEFT / RIGHT assignment and the RTSP address |
| Video visible, no faces detected | Faces too small, blurred, badly lit or turned away | Check face processing, placement, light and thresholds |
| A known person is denied | Poor enrolment photo, face too small, backlight | Add a better photo or the event's face; check camera placement |
| Unknown people are matched to members | Threshold too low, or a wrong photo in a member | Raise the threshold carefully; remove wrong photos |
| Matches in History but not in recent events | Recent events filters | Check Recent events › SETTINGS for camera and event types |
| The door opens twice | Debounce too short, or two cameras see the same person | Check opening debounce, exclusive camera and stream groups |
| The door opens for people walking past | Faces of passers-by are large enough and frontal enough | Raise the minimum face size; use face order, the head pose rule and intentional access (Door cameras) |
| An edge camera recognises nobody | No watchlist synced, licence invalid or stream offline | Select watchlists for sync; check licence and health |
| High CPU load, late events | Too many streams, short interval, high max faces | Review interval and max faces; check sizing with Tricsy |
| Tricsy Face Recognition does not start | Licence missing or hardware changed | Check iengine.lic; request a licence for the new hardware ID |
| An Integriti door does not open for a known face | Face card label, StreamConfig index, controller name or Integriti permission does not match | Follow 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
| Term | Meaning |
|---|---|
| Tricsy Face Recognition Platform (VPP) | The Innovatrics server software that detects, extracts and matches faces |
| Tricsy Face Recognition Station | The web application for configuration and monitoring |
| Access Controller | The Tricsy Face Recognition service that turns matches into granted, denied or blocked |
| RTSP | The video stream of an IP camera, processed on the server |
| Edge stream | A camera that matches faces itself with the Tricsy Face Recognition Embedded Stream Processor |
| Client ID | The unique MQTT name that links an edge camera to its edge stream |
| Camera service | A server process that handles one RTSP camera |
| Watchlist | A group of enrolled people |
| Member | One enrolled person with photos |
| Template | The biometric representation of a face, created from a photo |
| Tracklet | The track of one person across consecutive frames |
| Autolearn | Nightly addition of good new photos to members |
| Liveness | The check that a real person, not a photo, is in front of the camera |
| Feedback display | The screen at the door that shows the result of a passage |
| Connector | The Tricsy module between the Access Controller and the door system |
| Integriti face card | The 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
.envfiles may contain lab values (IP address, API user, company codeINNO, 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 stages
- 6.1 Before you start
- 6.2 Prepare Integriti
- 6.3 Test from the server
- 6.4 Configure the user sync
- 6.5 Configure the doors
- 6.6 Restart and verify
- 6.7 If something does not work
- 6.8 Checklist
- 6.9 Known issues
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, containerACSVPPUserSync) 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 namedAccessControl_<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 withStreamConfigblocks 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
- Check that the ac deployment is on the server:
ls -a /srv/tricsy/ac. You should see.env.acs-vpp-user-sync,.env.actrlconandrun.sh. If the folder or these files are missing, ask Tricsy for the package. - 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 - Open both
.envfiles and replace every lab value with the site's real values (Integriti IP address, API user and password,SYNC_COMPANYif it is stillINNO, and any example card labels). Do not start the services until this is done. - The docker commands may need
sudoif the user is not in the docker group. - 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
- 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. - 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 withCardBitLength=32. - 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. - 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.
- Login and licences:
Expected: an XMLcurl -u '<user>:<password>' "http://<integriti-ip>/info"<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. - Reading users:
Expected: XML with onecurl -u '<user>:<password>' "http://<integriti-ip>/db/User_noImages?query_size=1"<User>. If this fails, the sync will fail too. - Card types:
Expected: onecurl -u '<user>:<password>' "http://<integriti-ip>/db/CardTemplate?query_size=1000"<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/restapior other path). Replace any lab IP.SYNC_COMPANY: the site's company code. It puts everyone into watchlists namedAccessControl_<COMPANY>_.... If the delivered file still hasINNO, 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:
"Direct Wiegand" is only an example; do not use it unless that is the exactSYNC_CARD_LABELS=Direct Entry RAW=Integriti_Face_Token<Name>on this site (direct wiegandandDirectWiegandwould also fail even if the real name wereDirect Wiegand). The right side staysIntegriti_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_VENDORis alwaysintegriti;VPP_BASE_URLmust stayvpp-proxy:4040, neverlocalhost.
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.
- 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__Controlleris the controller name or number exactly as shown in Integriti. It can be a name, not only a number. Copy it exactly. - Add one
StreamConfigblock per door. The first door must beStreamConfig__1__. Do not use index 0. In the connector image'sappsettings.json, index 0 holds a sample KONE entry withEnabled=false. Environment variables overwrite other fields in that entry, but they do not flipEnabledto true, so a door configured asStreamConfig__0__is ignored and the log sayshas no AccessConnector configuration.For the first door use
1in 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, addStreamConfig__<n>__Controller=<its name or number exactly as in Integriti>to that block. StreamIdis 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-2c3d4e5f6a7bthe StreamId is01a2b3c4-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
- 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.shagain. - 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.NoFaceDetectedis recorded asrejected_qualityand 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 asrejected_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_LABELSis empty: people get copied but no door opens.
- 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_Tokenmust be there with the number of their face card. Without it no door opens for that person (checkSYNC_CARD_LABELSand the card in Integriti). - 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.
- Walk past a door camera as a synced person with an Active face card and permission to that door. The door must open.
- 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 ofSYNC_CARD_LABELSdoes not match Integriti exactly, or the camera matched a hand-made member (step 4). "has no AccessConnector configuration" means the door was configured asStreamConfig__0__, orEnabledis still false: useStreamConfig__1__(and optionally setStreamConfig__<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/acand.envfiles backed up - every lab value in both
.envfiles replaced (IP, API user, company code, card labels) - enrolment of everyone with a photo agreed internally (GDPR)
- API operator works (
/infoanswers withServerInfo) /db/User_noImagesreturns a user- exact face card type
<Name>copied from Integriti intoSYNC_CARD_LABELS(for exampleSYNC_CARD_LABELS=Direct Entry RAW=Integriti_Face_Tokenwhen 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-syncfilled 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_Tokenwith 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.actrlconhas the Integriti22 connection and oneStreamConfigblock per door starting atStreamConfig__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.
NoFaceDetectedis handled correctly (rejected_quality, the user is skipped). HTTP 422 (for exampleYawAngle>±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-camcontainers. In older builds,vpp-camcontainers 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 withdocker restart vpp-cam-1-1(replace the index to match the camera).