- Dokumentace
- AI
- Faces
Tato stránka zatím není k dispozici v jazyce Čeština. Zobrazuje se v angličtině.
Faces
Review the faces your cameras detect, see the face itself and where it was, give known people a name, and ask Guardian when they were seen.
V aplikaci: /faces
Face recognition lets Vigiora tell known people apart. A face service detects faces in your cameras' video and saves each new face for review. When you give a face a name, later sightings of that person are labelled with it.
What you need#
- A machine with an NVIDIA GPU running the Faces add-on, connected to your server. It appears under Settings → AI and add-ons → Add-ons and in the camera's AI Guardian tab as Face recognition (
hal-face). - The face service switched On for each camera that should recognise faces. It is off by default.
- A camera at about head height that sees people's faces from the front, at a door or a counter, close enough that a face is at least 56 pixels wide in the camera's full picture. A camera high up, far away, or one that sees people from the side or from behind, rarely sees a face it can recognise. See Face size and camera placement.
- The admin role to open the Faces page.
Guardian's ordinary scene descriptions never identify people. Only this opt-in feature attaches names. See Guardian.
How it works#
- The face service finds faces in the camera's stream, follows each one, and keeps only clear, frontal views. Profiles and the back of a head are ignored.
- It turns the best views of a face into a numeric fingerprint and compares it with the faces you named. A match is reported as
face:<Name>; a face nobody named isface:Unknown. From version 1.6.18 a name is reported only when its similarity beats the next-best named person by the Match margin, so a stranger who is a little like two of your people stays Unknown, and a small face needs a better match than a large one. - Matching happens on the face service's own machine. It fetches the list of named faces from your server every minute. No picture or fingerprint leaves your network.
- Each person is reported once per visit, with the picture where the face was seen best and, from version 1.6.18, the close-up of the face as the service cut it, which is what the Faces page shows.
- Fingerprints of sightings are kept for 30 days, like other add-on reports, then deleted. The Faces add-on keeps no face pictures of its own.
Settings per camera#
| Volba | Popis | Výchozí |
|---|---|---|
| Min face confidence | The score a face must reach to be looked at. Raise it if things that are not faces are reported. | 0.85 |
| Match threshold | How similar a face must be to a named face to be reported by name. Higher means fewer wrong names and more Unknowns. | 0.5 |
| Match margin | From 1.6.18. A name is reported only when its similarity beats the next-best named person by this much. Raise it if the wrong name is reported for someone who looks alike. | 0.12 |
| Min face size (px) | Faces narrower than this in the camera's full-resolution picture are not looked at: too few pixels to tell people apart. From 1.6.18 the bars under the slider show how wide the faces this camera sees are. | 48 |
| Full-confidence face size (px) | From 1.6.18. A face narrower than this is read, but needs a clearly better match to be named, and is marked small face on the Faces page. | 56 |
| Repeat after (s) | The same person on this camera is reported at most this often. | 60 |
| Min frames | From 1.6.18. A face must be followed across this many frames before it is reported: a face seen in one frame is usually noise. | 3 |
| Min frontality | From 1.6.18. How much a face must look at the camera (1 = straight on, 0 = any angle). | 0.35 |
| Min skin tone | From 1.6.18. The share of skin-toned pixels a face crop must have in a colour picture (0 = off). Textures the detector mistakes for faces, such as a perforated wall, have none. Night pictures are not checked. | 0.15 |
| Static box (s) | From 1.6.18. A face box that never moves for this long is a texture, not a person: nothing is reported at that spot for an hour (0 = off). | 120 |
Review and name faces#
Open Faces
Open Settings → People and access → Faces.
Show new faces
Click To Review. These are faces the service saved but nobody has named yet.
Look at the face
From version 1.6.18 the thumbnail is the face itself, as the service cut it from the frame, and each pending face shows its width in pixels. Click the thumbnail to open the snapshot viewer: the whole frame with the face outlined, the close-up beside it, and the name, time, camera and confidence. Scroll or pinch to zoom, drag to pan, double-click for 2×; Esc closes it.
Name a face
Click the pencil icon on the face, type the person's name and click the tick. Earlier detections of that face are relabelled too. For a face from the face service, naming it also teaches the service that person: later sightings come in as
face:<Name>. A face marked small face warns you that recognition from it will be unreliable: name a closer view too when one shows up.Remove faces you don't need
Click the bin icon on a face and confirm. The face and its photo are deleted. When the detection is not a face at all, a pattern on a wall or a louvre, click Not a face (in the list or in the viewer) instead: the entry is removed and the camera's face service ignores that spot of the picture for an hour.
| Filter | Popis |
|---|---|
| All | Every saved face. |
| To Review | Faces without a name yet. |
| Named | Faces you have named. |
Face size and camera placement#
Recognition depends on how many pixels a face has. From version 1.6.18 the camera's Face recognition card shows, under Min face size, a histogram of the widths of the faces the camera sees (under 48, 48–55, 56–79, 80–111 and 112 pixels or more, measured in the camera's full picture), the recent median, and how many faces were named, unknown or too small. Use it to judge the camera, not only the settings:
- Faces under 48 px are not looked at. Faces under 56 px are read, but need a clearly better match to be named and are marked small face on the Faces page; enrolments from them are weak.
- Faces of 80 px or more, frontal and lit from the front, are what recognition is built for. At the distance of a door or a counter, a 1080p camera at head height gives 120 px and more.
- A camera that sees people pass at a distance, often backlit, will keep most faces at 40 to 80 px. Raising the settings does not help; move the camera closer to where people face it, or add one at head height looking at the door from inside.
When a known person is reported as Unknown, or a stranger gets a name, look at the samples on the Named filter: delete the ones that are backlit, in shadow, wearing sunglasses or marked small, and name a clear, frontal view instead. Two or three good samples per person beat ten poor ones.
Find a person#
- Guardian chat: ask "Did you see Alex today?" using the name you gave the face. See Guardian chat.
- Alerts: detections of unknown faces are labelled
face:Unknown. In the camera's AI Guardian tab, expand the face service and use Alert on detections to be alerted about them.
Users only see faces from cameras they have permission to view.
To forget a person, delete their face on the Faces page: the service no longer recognises them.