mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +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")
|
||||
return None
|
||||
|
||||
important_items = filter(
|
||||
lambda item: item.get("potential_threat_level", 0) > 0
|
||||
or item.get("other_concerns"),
|
||||
items,
|
||||
important_items = list(
|
||||
filter(
|
||||
lambda item: item.get("potential_threat_level", 0) > 0
|
||||
or item.get("other_concerns"),
|
||||
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:
|
||||
- **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).
|
||||
- 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.
|
||||
|
||||
Here is information already known:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user