Skip to content

NVR with realtime local object detection for IP cameras

docs: Add detail to face recognition MQTT update docs (#21942)

Kai Currya6e11a59d6c3
diff --git a/docs/docs/integrations/mqtt.md b/docs/docs/integrations/mqtt.md
index 535e1bb4b0..66775a473c 100644
--- a/docs/docs/integrations/mqtt.md
+++ b/docs/docs/integrations/mqtt.md
@@ -120,7 +120,7 @@ Message published for each changed tracked object. The first message is publishe
### `frigate/tracked_object_update`
-Message published for updates to tracked object metadata, for example:
+Message published for updates to tracked object metadata. All messages include an `id` field which is the tracked object's event ID, and can be used to look up the event via the API or match it to items in the UI.
#### Generative AI Description Update
@@ -134,12 +134,14 @@ Message published for updates to tracked object metadata, for example:
#### Face Recognition Update
+Published after each recognition attempt, regardless of whether the score meets `recognition_threshold`. See the [Face Recognition](/configuration/face_recognition) documentation for details on how scoring works.
+
```json
{
"type": "face",
"id": "1607123955.475377-mxklsc",
- "name": "John",
- "score": 0.95,
+ "name": "John", // best matching person, or null if no match
+ "score": 0.95, // running weighted average across all recognition attempts
"camera": "front_door_cam",
"timestamp": 1607123958.748393
}
@@ -147,11 +149,13 @@ Message published for updates to tracked object metadata, for example:
#### License Plate Recognition Update
+Published when a license plate is recognized on a car object. See the [License Plate Recognition](/configuration/license_plate_recognition) documentation for details.
+
```json
{
"type": "lpr",
"id": "1607123955.475377-mxklsc",
- "name": "John's Car",
+ "name": "John's Car", // known name for the plate, or null
"plate": "123ABC",
"score": 0.95,
"camera": "driveway_cam",