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
+121 -75
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:
@@ -498,79 +497,83 @@ questions:
type: string type: string
required: true required: true
default: "" default: ""
- variable: mask - variable: mask
label: Mask label: Mask
description: | description: |
Mask to prevent all object types from being detected in certain areas Mask to prevent all object types from being detected in certain areas
Checks based on the bottom center of the bounding box of the object. Checks based on the bottom center of the bounding box of the object.
This mask is COMBINED with the object type specific mask below This mask is COMBINED with the object type specific mask below
schema:
type: string
default: ""
- variable: filters
label: Filters
description: Filters to reduce false positives for specific object types
schema:
type: list
default: []
items:
- variable: filter_entry
label: Filter Entry
schema: schema:
additional_attrs: true type: string
type: dict default: ""
attrs: - variable: filters
- variable: object label: Filters
label: Object description: Filters to reduce false positives for specific object types
description: For example person schema:
type: list
default: []
items:
- variable: filter_entry
label: Filter Entry
schema: schema:
type: string additional_attrs: true
required: true type: dict
default: "" attrs:
- variable: min_area - variable: object
label: Min Area label: Object
description: Minimum width*height of the bounding box for the detected object description: For example person
schema: schema:
type: int type: string
"null": true required: true
- variable: max_area default: ""
label: Max Area - variable: min_area
description: Maximum width*height of the bounding box for the detected object label: Min Area
schema: description: Minimum width*height of the bounding box for the detected object
type: int schema:
"null": true type: int
- variable: min_ratio "null": true
label: Min Ratio - variable: max_area
description: Minimum width/height of the bounding box for the detected object label: Max Area
schema: description: Maximum width*height of the bounding box for the detected object
type: int schema:
"null": true type: int
- variable: max_ratio "null": true
label: Max Ratio - variable: min_ratio
description: Maximum width/height of the bounding box for the detected object label: Min Ratio
schema: description: Minimum width/height of the bounding box for the detected object
type: int schema:
"null": true type: string
- variable: min_score default: ""
label: Min Score valid_chars: '^[0-9]+(\.[0-9]*)?$'
description: Minimum score for the object to initiate tracking - variable: max_ratio
schema: label: Max Ratio
type: int description: Maximum width/height of the bounding box for the detected object
"null": true schema:
- variable: threshold type: string
label: Threshold default: ""
description: Minimum decimal percentage for tracked object's computed score to be considered a true positive valid_chars: '^[0-9]+(\.[0-9]*)?$'
schema: - variable: min_score
type: int label: Min Score
"null": true description: Minimum score for the object to initiate tracking
- variable: mask schema:
label: Mask type: string
description: | default: ""
Mask to prevent this object type from being detected in certain areas valid_chars: '^[0-9]+(\.[0-9]*)?$'
Checks based on the bottom center of the bounding box of the object - variable: threshold
schema: label: Threshold
type: string description: Minimum decimal percentage for tracked object's computed score to be considered a true positive
default: "" schema:
type: string
default: ""
valid_chars: '^[0-9]+(\.[0-9]*)?$'
- variable: mask
label: Mask
description: |
Mask to prevent this object type from being detected in certain areas
Checks based on the bottom center of the bounding box of the object
schema:
type: string
default: ""
- variable: motion - variable: motion
label: Motion label: Motion
schema: schema:
@@ -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