mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
Turn activity context prompt into a yaml example
This commit is contained in:
parent
bac87a2cba
commit
388616cba7
@ -31,40 +31,43 @@ Each installation and even camera can have different parameters for what is cons
|
|||||||
<details>
|
<details>
|
||||||
<summary>Default Activity Context Prompt</summary>
|
<summary>Default Activity Context Prompt</summary>
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
### Normal Activity Indicators (Level 0)
|
review:
|
||||||
- Known/verified people in any zone at any time
|
genai:
|
||||||
- People with pets in residential areas
|
activity_context_prompt: |
|
||||||
- Deliveries or services during daytime/evening (6 AM - 10 PM): carrying packages to doors/porches, placing items, leaving
|
### Normal Activity Indicators (Level 0)
|
||||||
- Services/maintenance workers with visible tools, uniforms, or service vehicles during daytime
|
- Known/verified people in any zone at any time
|
||||||
- Activity confined to public areas only (sidewalks, streets) without entering property at any time
|
- People with pets in residential areas
|
||||||
|
- Deliveries or services during daytime/evening (6 AM - 10 PM): carrying packages to doors/porches, placing items, leaving
|
||||||
|
- Services/maintenance workers with visible tools, uniforms, or service vehicles during daytime
|
||||||
|
- Activity confined to public areas only (sidewalks, streets) without entering property at any time
|
||||||
|
|
||||||
### Suspicious Activity Indicators (Level 1)
|
### Suspicious Activity Indicators (Level 1)
|
||||||
- **Testing or attempting to open doors/windows/handles on vehicles or buildings** — ALWAYS Level 1 regardless of time or duration
|
- **Testing or attempting to open doors/windows/handles on vehicles or buildings** — ALWAYS Level 1 regardless of time or duration
|
||||||
- **Unidentified person in private areas (driveways, near vehicles/buildings) during late night/early morning (11 PM - 5 AM)** — ALWAYS Level 1 regardless of activity or duration
|
- **Unidentified person in private areas (driveways, near vehicles/buildings) during late night/early morning (11 PM - 5 AM)** — ALWAYS Level 1 regardless of activity or duration
|
||||||
- Taking items that don't belong to them (packages, objects from porches/driveways)
|
- Taking items that don't belong to them (packages, objects from porches/driveways)
|
||||||
- Climbing or jumping fences/barriers to access property
|
- Climbing or jumping fences/barriers to access property
|
||||||
- Attempting to conceal actions or items from view
|
- Attempting to conceal actions or items from view
|
||||||
- Prolonged loitering: remaining in same area without visible purpose throughout most of the sequence
|
- Prolonged loitering: remaining in same area without visible purpose throughout most of the sequence
|
||||||
|
|
||||||
### Critical Threat Indicators (Level 2)
|
### Critical Threat Indicators (Level 2)
|
||||||
- Holding break-in tools (crowbars, pry bars, bolt cutters)
|
- Holding break-in tools (crowbars, pry bars, bolt cutters)
|
||||||
- Weapons visible (guns, knives, bats used aggressively)
|
- Weapons visible (guns, knives, bats used aggressively)
|
||||||
- Forced entry in progress
|
- Forced entry in progress
|
||||||
- Physical aggression or violence
|
- Physical aggression or violence
|
||||||
- Active property damage or theft in progress
|
- Active property damage or theft in progress
|
||||||
|
|
||||||
### Assessment Guidance
|
### Assessment Guidance
|
||||||
Evaluate in this order:
|
Evaluate in this order:
|
||||||
|
|
||||||
1. **If person is verified/known** → Level 0 regardless of time or activity
|
1. **If person is verified/known** → Level 0 regardless of time or activity
|
||||||
2. **If person is unidentified:**
|
2. **If person is unidentified:**
|
||||||
- Check time: If late night/early morning (11 PM - 5 AM) AND in private areas (driveways, near vehicles/buildings) → Level 1
|
- Check time: If late night/early morning (11 PM - 5 AM) AND in private areas (driveways, near vehicles/buildings) → Level 1
|
||||||
- Check actions: If testing doors/handles, taking items, climbing → Level 1
|
- Check actions: If testing doors/handles, taking items, climbing → Level 1
|
||||||
- Otherwise, if daytime/evening (6 AM - 10 PM) with clear legitimate purpose (delivery, service worker) → Level 0
|
- Otherwise, if daytime/evening (6 AM - 10 PM) with clear legitimate purpose (delivery, service worker) → Level 0
|
||||||
3. **Escalate to Level 2 if:** Weapons, break-in tools, forced entry in progress, violence, or active property damage visible (escalates from Level 0 or 1)
|
3. **Escalate to Level 2 if:** Weapons, break-in tools, forced entry in progress, violence, or active property damage visible (escalates from Level 0 or 1)
|
||||||
|
|
||||||
The mere presence of an unidentified person in private areas during late night hours is inherently suspicious and warrants human review, regardless of what activity they appear to be doing or how brief the sequence is.
|
The mere presence of an unidentified person in private areas during late night hours is inherently suspicious and warrants human review, regardless of what activity they appear to be doing or how brief the sequence is.
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user