update config ultraface

This commit is contained in:
2020-06-09 16:55:40 +07:00
parent ef85adb79f
commit 9b11d59407
3 changed files with 131 additions and 2 deletions

View File

@@ -124,6 +124,17 @@ function saveStep2(e) {
"ir_neighbor": parseInt($("#text-c273").html())
}
},
"ultraface": {
"enable": parseInt($("#text-c_101").html()),
"translate_x": parseInt($("#text-c_102").html()),
"translate_y": parseInt($("#text-c_103").html()),
"width": parseInt($("#text-c_104").html()),
"height": parseInt($("#text-c_105").html()),
"threshold": parseFloat($("#text-c_106").html()),
"min_size": parseInt($("#text-c_107").html()),
"thread_use": parseInt($("#text-c_108").html()),
"max_ratio": parseFloat($("#text-c_109").html())
},
"haarcascade": {
"enable": parseInt($("#text-c31").html()),
"show_time_detect": parseInt($("#text-c32").html()),
@@ -151,7 +162,11 @@ function saveStep2(e) {
"full_screen": parseInt($("#text-c62").html()),
"width": parseInt($("#text-c63").html()),
"height": parseInt($("#text-c64").html()),
"banner": $("#text-c65").html()
"banner": $("#text-c65").html(),
"bb_color_rgb": {
"detect": [parseInt($("#text-c6611").html()), parseInt($("#text-c6612").html()), parseInt($("#text-c6613").html())],
"recog": [parseInt($("#text-c6621").html()), parseInt($("#text-c6622").html()), parseInt($("#text-c6623").html())]
}
},
"id_city": parseInt($("#text-c7").html()),
"open_door": {