mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Don't mention ladder
This commit is contained in:
parent
f5f5d4cd1b
commit
89f8bc6344
@ -142,10 +142,12 @@ class ReviewDescriptionProcessor(PostProcessorApi):
|
|||||||
logger.debug("No review items with metadata found during time period")
|
logger.debug("No review items with metadata found during time period")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
important_items = filter(
|
important_items = list(
|
||||||
lambda item: item.get("potential_threat_level", 0) > 0
|
filter(
|
||||||
or item.get("other_concerns"),
|
lambda item: item.get("potential_threat_level", 0) > 0
|
||||||
items,
|
or item.get("other_concerns"),
|
||||||
|
items,
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if not important_items:
|
if not important_items:
|
||||||
|
|||||||
@ -69,7 +69,6 @@ Your task is to provide a **neutral, factual, and objective description** of the
|
|||||||
When forming your description:
|
When forming your description:
|
||||||
- **Facts first**: Describe the time, physical setting, people, and objects exactly as seen.
|
- **Facts first**: Describe the time, physical setting, people, and objects exactly as seen.
|
||||||
- **Then context**: Briefly note plausible purposes or activities (e.g., “appears to be delivering a package” if carrying a box to a door).
|
- **Then context**: Briefly note plausible purposes or activities (e.g., “appears to be delivering a package” if carrying a box to a door).
|
||||||
- Clearly separate certain facts (“A person is holding an object with horizontal rungs”) from reasonable inferences (“likely a ladder”).
|
|
||||||
- Do not speculate beyond what is visible, and do not imply hostility, criminal intent, or other strong judgments unless there is unambiguous visual evidence.
|
- Do not speculate beyond what is visible, and do not imply hostility, criminal intent, or other strong judgments unless there is unambiguous visual evidence.
|
||||||
|
|
||||||
Here is information already known:
|
Here is information already known:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user