Add ability to restrict genai to objects and zones at the camera level (#13958)

* Add ability to restrict genai to labels and zones at the camera level

* fix comment

* clarify docs

* use objects instead of labels

* docs

* object list
This commit is contained in:
Josh Hawkins
2024-09-25 10:42:39 -05:00
committed by GitHub
parent e935db5075
commit 4c12673fbb
5 changed files with 38 additions and 1 deletions

View File

@@ -723,6 +723,12 @@ cameras:
# Format: {label}: {prompt}
object_prompts:
person: "My special person prompt."
# Optional: objects to generate descriptions for (default: all objects that are tracked)
objects:
- person
- cat
# Optional: Restrict generation to objects that entered any of the listed zones (default: none, all zones qualify)
required_zones: []
# Optional
ui: