Make Object Detection section visible in Simple view

ejs-templating-update
Moe 2022-07-21 18:57:25 -07:00
parent 5963d8c759
commit 92f29cf4f9
1 changed files with 10 additions and 9 deletions

View File

@ -3112,7 +3112,6 @@ module.exports = function(s,config,lang){
] ]
}, },
{ {
isAdvanced: true,
"name": lang['Object Detection'], "name": lang['Object Detection'],
"color": "orange", "color": "orange",
id: "monSectionDetectorObject", id: "monSectionDetectorObject",
@ -3142,11 +3141,11 @@ module.exports = function(s,config,lang){
] ]
}, },
{ {
isAdvanced: true,
"name": "detail=detector_send_frames_object", "name": "detail=detector_send_frames_object",
"field": lang["Send Frames"], "field": lang["Send Frames"],
"description": lang["fieldTextDetectorSendFramesObject"], "description": lang["fieldTextDetectorSendFramesObject"],
"default": "0", "default": "1",
"example": "",
"fieldType": "select", "fieldType": "select",
"possible": [ "possible": [
{ {
@ -3160,6 +3159,7 @@ module.exports = function(s,config,lang){
] ]
}, },
{ {
isAdvanced: true,
hidden: true, hidden: true,
"name": "detail=detector_obj_count_in_region", "name": "detail=detector_obj_count_in_region",
"field": lang["Count Objects only inside Regions"], "field": lang["Count Objects only inside Regions"],
@ -3183,7 +3183,7 @@ module.exports = function(s,config,lang){
"name": "detail=detector_obj_region", "name": "detail=detector_obj_region",
"field": lang['Require Object to be in Region'], "field": lang['Require Object to be in Region'],
"description": "", "description": "",
"default": "0", "default": "1",
"example": "", "example": "",
"fieldType": "select", "fieldType": "select",
"possible": [ "possible": [
@ -3198,10 +3198,11 @@ module.exports = function(s,config,lang){
] ]
}, },
{ {
isAdvanced: true,
"name": "detail=detector_use_motion", "name": "detail=detector_use_motion",
"field": lang['Check for Motion First'], "field": lang['Check for Motion First'],
"description": "", "description": "",
"default": "0", "default": "1",
"example": "", "example": "",
"selector": "h_det_mot_fir", "selector": "h_det_mot_fir",
"fieldType": "select", "fieldType": "select",
@ -3227,24 +3228,24 @@ module.exports = function(s,config,lang){
"possible": "" "possible": ""
}, },
{ {
isAdvanced: true,
hidden: true, hidden: true,
"name": "detail=detector_scale_x_object", "name": "detail=detector_scale_x_object",
"field": lang['Image Width'], "field": lang['Image Width'],
"description": "", "description": "",
"default": "", "default": "1280",
"example": "",
"form-group-class": "h_casc_input h_casc_1", "form-group-class": "h_casc_input h_casc_1",
"fieldType": "number", "fieldType": "number",
"numberMin": "1", "numberMin": "1",
"possible": "" "possible": ""
}, },
{ {
isAdvanced: true,
hidden: true, hidden: true,
"name": "detail=detector_scale_y_object", "name": "detail=detector_scale_y_object",
"field": lang['Image Height'], "field": lang['Image Height'],
"description": "", "description": "",
"default": "", "default": "720",
"example": "",
"form-group-class": "h_casc_input h_casc_1", "form-group-class": "h_casc_input h_casc_1",
"fieldType": "number", "fieldType": "number",
"numberMin": "1", "numberMin": "1",