fix(frigate): clean up small things in questions.yaml (#4661)

* change birdseye rendering default to false

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* make max_frames default not a required question

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* fix handling of decimal values

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* add filters questions under camera zones

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* bump version

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* indent mask and filters underneath objects

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>

* Update charts/incubator/frigate/questions.yaml

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

* Apply suggestions from code review

Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>

Signed-off-by: mgale456 <55673155+mgale456@users.noreply.github.com>
Signed-off-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
mgale456
2022-11-21 10:48:06 +01:00
committed by GitHub
co-authored by Kjeld Schouten-Lebbing
parent 1e06884231
commit 5784a5995b
2 changed files with 122 additions and 76 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ sources:
- https://github.com/blakeblackshear/frigate - https://github.com/blakeblackshear/frigate
- https://hub.docker.com/r/blakeblackshear/frigate - https://hub.docker.com/r/blakeblackshear/frigate
type: application type: application
version: 5.0.3 version: 5.0.4
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- nvr - nvr
+58 -12
View File
@@ -251,7 +251,7 @@ questions:
description: Enable it to add the configuration in the config file description: Enable it to add the configuration in the config file
schema: schema:
type: boolean type: boolean
default: true default: false
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: enabled - variable: enabled
@@ -447,7 +447,6 @@ questions:
schema: schema:
type: int type: int
"null": true "null": true
required: true
- variable: objects - variable: objects
label: Objects label: Objects
schema: schema:
@@ -543,26 +542,30 @@ questions:
label: Min Ratio label: Min Ratio
description: Minimum width/height of the bounding box for the detected object description: Minimum width/height of the bounding box for the detected object
schema: schema:
type: int type: string
"null": true default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: max_ratio - variable: max_ratio
label: Max Ratio label: Max Ratio
description: Maximum width/height of the bounding box for the detected object description: Maximum width/height of the bounding box for the detected object
schema: schema:
type: int type: string
"null": true default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: min_score - variable: min_score
label: Min Score label: Min Score
description: Minimum score for the object to initiate tracking description: Minimum score for the object to initiate tracking
schema: schema:
type: int type: string
"null": true default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: threshold - variable: threshold
label: Threshold label: Threshold
description: Minimum decimal percentage for tracked object's computed score to be considered a true positive description: Minimum decimal percentage for tracked object's computed score to be considered a true positive
schema: schema:
type: int type: string
"null": true default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: mask - variable: mask
label: Mask label: Mask
description: | description: |
@@ -616,7 +619,8 @@ questions:
Too low and a fast moving person wont be detected as motion. Too low and a fast moving person wont be detected as motion.
schema: schema:
type: string type: string
default: "0.2" default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: frame_alpha - variable: frame_alpha
label: Frame Alpha label: Frame Alpha
description: | description: |
@@ -626,7 +630,8 @@ questions:
https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average
schema: schema:
type: string type: string
default: "0.2" default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: frame_height - variable: frame_height
label: Frame Height label: Frame Height
description: | description: |
@@ -1213,6 +1218,7 @@ questions:
default: "" default: ""
- variable: coordinates - variable: coordinates
label: Coordinates label: Coordinates
description: List of x,y coordinates to define the polygon of the zone.
schema: schema:
type: string type: string
required: true required: true
@@ -1230,6 +1236,46 @@ questions:
type: string type: string
required: true required: true
default: "" default: ""
- variable: filters
label: Filters
description: Zone level object filters
schema:
type: list
default: []
items:
- variable: filter_entry
label: Filter Entry
description: For example person
schema:
additional_attrs: true
type: dict
attrs:
- variable: object
label: Object
description: For example person
schema:
type: string
required: true
default: ""
- variable: min_area
label: Min Area
description: Minimum width*height of the bounding box for the detected object
schema:
type: int
"null": true
- variable: max_area
label: Max Area
description: Maximum width*height of the bounding box for the detected object
schema:
type: int
"null": true
- variable: threshold
label: Threshold
description: Minimum decimal percentage for tracked object's computed score to be considered a true positive
schema:
type: string
default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: mqtt - variable: mqtt
label: MQTT label: MQTT
description: MQTT Configuration for jpg snapshots published for this camera description: MQTT Configuration for jpg snapshots published for this camera