mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-11 19:07:35 +03:00
54 lines
1.0 KiB
TypeScript
54 lines
1.0 KiB
TypeScript
|
|
import type { SectionConfigOverrides } from "./types";
|
||
|
|
|
||
|
|
const model: SectionConfigOverrides = {
|
||
|
|
base: {
|
||
|
|
sectionDocs: "/configuration/object_detectors#model",
|
||
|
|
restartRequired: [
|
||
|
|
"path",
|
||
|
|
"labelmap_path",
|
||
|
|
"width",
|
||
|
|
"height",
|
||
|
|
"labelmap",
|
||
|
|
"attributes_map",
|
||
|
|
"input_tensor",
|
||
|
|
"input_pixel_format",
|
||
|
|
"input_dtype",
|
||
|
|
"model_type",
|
||
|
|
],
|
||
|
|
fieldOrder: [
|
||
|
|
"path",
|
||
|
|
"labelmap_path",
|
||
|
|
"width",
|
||
|
|
"height",
|
||
|
|
"input_pixel_format",
|
||
|
|
"input_tensor",
|
||
|
|
"input_dtype",
|
||
|
|
"model_type",
|
||
|
|
],
|
||
|
|
advancedFields: [
|
||
|
|
"input_pixel_format",
|
||
|
|
"input_tensor",
|
||
|
|
"input_dtype",
|
||
|
|
"model_type",
|
||
|
|
],
|
||
|
|
hiddenFields: [
|
||
|
|
"labelmap",
|
||
|
|
"attributes_map",
|
||
|
|
"colormap",
|
||
|
|
"all_attributes",
|
||
|
|
"non_logo_attributes",
|
||
|
|
"plus",
|
||
|
|
],
|
||
|
|
uiSchema: {
|
||
|
|
path: {
|
||
|
|
"ui:options": { size: "md" },
|
||
|
|
},
|
||
|
|
labelmap_path: {
|
||
|
|
"ui:options": { size: "md" },
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default model;
|