mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 00:22:19 +03:00
Add zone field to custom_classification MQTT events
Co-authored-by: Teagan42 <2989925+Teagan42@users.noreply.github.com>
This commit is contained in:
committed by
Teagan glenn
co-authored by
Teagan42
parent
41b6891fa0
commit
a2ad45e357
@@ -173,7 +173,8 @@ Message published when [object classification](/configuration/custom_classificat
|
||||
"timestamp": 1607123958.748393,
|
||||
"model": "person_classifier",
|
||||
"sub_label": "delivery_person",
|
||||
"score": 0.87
|
||||
"score": 0.87,
|
||||
"zones": ["front_yard", "driveway"]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -187,10 +188,15 @@ Message published when [object classification](/configuration/custom_classificat
|
||||
"timestamp": 1607123958.748393,
|
||||
"model": "helmet_detector",
|
||||
"attribute": "yes",
|
||||
"score": 0.92
|
||||
"score": 0.92,
|
||||
"zones": ["front_yard"]
|
||||
}
|
||||
```
|
||||
|
||||
:::note
|
||||
The `zones` field is only included if the tracked object is currently in one or more zones.
|
||||
:::
|
||||
|
||||
### `frigate/reviews`
|
||||
|
||||
Message published for each changed review item. The first message is published when the `detection` or `alert` is initiated.
|
||||
|
||||
Reference in New Issue
Block a user