mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
50 lines
1.0 KiB
TypeScript
50 lines
1.0 KiB
TypeScript
|
|
import type { SectionConfigOverrides } from "./types";
|
||
|
|
|
||
|
|
const detect: SectionConfigOverrides = {
|
||
|
|
base: {
|
||
|
|
sectionDocs: "/configuration/camera_specific",
|
||
|
|
fieldOrder: [
|
||
|
|
"enabled",
|
||
|
|
"width",
|
||
|
|
"height",
|
||
|
|
"fps",
|
||
|
|
"min_initialized",
|
||
|
|
"max_disappeared",
|
||
|
|
"annotation_offset",
|
||
|
|
"stationary",
|
||
|
|
"interval",
|
||
|
|
"threshold",
|
||
|
|
"max_frames",
|
||
|
|
],
|
||
|
|
restartRequired: [],
|
||
|
|
fieldGroups: {
|
||
|
|
resolution: ["enabled", "width", "height", "fps"],
|
||
|
|
tracking: ["min_initialized", "max_disappeared"],
|
||
|
|
},
|
||
|
|
hiddenFields: ["enabled_in_config"],
|
||
|
|
advancedFields: [
|
||
|
|
"min_initialized",
|
||
|
|
"max_disappeared",
|
||
|
|
"annotation_offset",
|
||
|
|
"stationary",
|
||
|
|
],
|
||
|
|
},
|
||
|
|
global: {
|
||
|
|
restartRequired: [
|
||
|
|
"enabled",
|
||
|
|
"width",
|
||
|
|
"height",
|
||
|
|
"fps",
|
||
|
|
"min_initialized",
|
||
|
|
"max_disappeared",
|
||
|
|
"annotation_offset",
|
||
|
|
"stationary",
|
||
|
|
],
|
||
|
|
},
|
||
|
|
camera: {
|
||
|
|
restartRequired: ["width", "height", "min_initialized", "max_disappeared"],
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default detect;
|