flow: fix display bugs around the segmentation

This commit is contained in:
Romain Bazile 2020-10-21 00:36:24 +02:00
parent 3ce7f6aa5e
commit 5fb9d510dc

View file

@ -805,7 +805,7 @@
"collapse": true "collapse": true
}, },
{ {
"id": "4e32f028.234248", "id": "2c0efb95.057c34",
"type": "ui_spacer", "type": "ui_spacer",
"name": "spacer", "name": "spacer",
"group": "de7c8e82.7faa98", "group": "de7c8e82.7faa98",
@ -814,7 +814,7 @@
"height": 1 "height": 1
}, },
{ {
"id": "10565c64.d848dc", "id": "ddb0b515.5183c8",
"type": "ui_spacer", "type": "ui_spacer",
"name": "spacer", "name": "spacer",
"group": "de7c8e82.7faa98", "group": "de7c8e82.7faa98",
@ -1744,8 +1744,7 @@
"y": 300, "y": 300,
"wires": [ "wires": [
[ [
"2aa5b118.d75f2e", "2aa5b118.d75f2e"
"f6fd015e.5c1fe"
] ]
] ]
}, },
@ -1797,8 +1796,7 @@
"5a159d39.3bdca4" "5a159d39.3bdca4"
], ],
[ [
"30a9de16.d55cda", "30a9de16.d55cda"
"89058790.909e7"
] ]
] ]
}, },
@ -1844,7 +1842,7 @@
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 900, "x": 900,
"y": 400, "y": 380,
"wires": [ "wires": [
[ [
"abd84e73.aefc9", "abd84e73.aefc9",
@ -1885,7 +1883,7 @@
"legend": "false", "legend": "false",
"xformat": "HH:mm:ss", "xformat": "HH:mm:ss",
"interpolate": "linear", "interpolate": "linear",
"nodata": "", "nodata": "Images count will be shown here once the imaging is started",
"dot": false, "dot": false,
"ymin": "", "ymin": "",
"ymax": "", "ymax": "",
@ -1950,7 +1948,8 @@
"y": 480, "y": 480,
"wires": [ "wires": [
[ [
"117aad13.53e11b" "117aad13.53e11b",
"89058790.909e7"
], ],
[ [
"c2d35803.b5024" "c2d35803.b5024"
@ -1959,7 +1958,7 @@
"f71d0cda.0a4f88" "f71d0cda.0a4f88"
], ],
[ [
"87d402c5.c02008" "d7944cf2.1ddb18"
] ]
] ]
}, },
@ -1977,7 +1976,7 @@
"legend": "false", "legend": "false",
"xformat": "HH:mm:ss", "xformat": "HH:mm:ss",
"interpolate": "linear", "interpolate": "linear",
"nodata": "", "nodata": "Objects count will be shown here once the segmentation is started",
"dot": false, "dot": false,
"ymin": "", "ymin": "",
"ymax": "", "ymax": "",
@ -1986,6 +1985,7 @@
"removeOlderUnit": "3600", "removeOlderUnit": "3600",
"cutout": 0, "cutout": 0,
"useOneColor": true, "useOneColor": true,
"useUTC": false,
"colors": [ "colors": [
"#1f77b4", "#1f77b4",
"#aec7e8", "#aec7e8",
@ -2015,28 +2015,11 @@
"noerr": 0, "noerr": 0,
"initialize": "", "initialize": "",
"finalize": "", "finalize": "",
"x": 1000, "x": 880,
"y": 540, "y": 540,
"wires": [ "wires": [
[ [
"6f64625f.243fd4", "6f64625f.243fd4"
"f6fd015e.5c1fe"
]
]
},
{
"id": "87d402c5.c02008",
"type": "json",
"z": "bee3b478.ef4b88",
"name": "",
"property": "payload",
"action": "",
"pretty": false,
"x": 870,
"y": 540,
"wires": [
[
"d7944cf2.1ddb18"
] ]
] ]
}, },
@ -2072,7 +2055,7 @@
"legend": "false", "legend": "false",
"xformat": "HH:mm:ss", "xformat": "HH:mm:ss",
"interpolate": "linear", "interpolate": "linear",
"nodata": "", "nodata": "Objects area will be shown here once the segmentation is started",
"dot": true, "dot": true,
"ymin": "", "ymin": "",
"ymax": "", "ymax": "",
@ -2081,7 +2064,7 @@
"removeOlderUnit": "3600", "removeOlderUnit": "3600",
"cutout": 0, "cutout": 0,
"useOneColor": false, "useOneColor": false,
"useUTC": false, "useUTC": true,
"colors": [ "colors": [
"#1f77b4", "#1f77b4",
"#aec7e8", "#aec7e8",
@ -2095,7 +2078,7 @@
], ],
"useOldStyle": false, "useOldStyle": false,
"outputs": 1, "outputs": 1,
"x": 1360, "x": 1370,
"y": 540, "y": 540,
"wires": [ "wires": [
[] []
@ -2114,7 +2097,7 @@
"targetType": "full", "targetType": "full",
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 910, "x": 920,
"y": 460, "y": 460,
"wires": [] "wires": []
}, },
@ -4108,7 +4091,8 @@
"y": 300, "y": 300,
"wires": [ "wires": [
[ [
"ecedbda4.fed15" "ecedbda4.fed15",
"f6fd015e.5c1fe"
] ]
] ]
}, },
@ -4481,6 +4465,7 @@
"id": "f6fd015e.5c1fe", "id": "f6fd015e.5c1fe",
"type": "debug", "type": "debug",
"z": "bee3b478.ef4b88", "z": "bee3b478.ef4b88",
"d": true,
"name": "segmenter area", "name": "segmenter area",
"active": true, "active": true,
"tosidebar": true, "tosidebar": true,
@ -4490,8 +4475,8 @@
"targetType": "msg", "targetType": "msg",
"statusVal": "", "statusVal": "",
"statusType": "auto", "statusType": "auto",
"x": 1320, "x": 640,
"y": 660, "y": 620,
"wires": [] "wires": []
}, },
{ {
@ -4924,7 +4909,7 @@
"format": "{{msg.payload.status}}", "format": "{{msg.payload.status}}",
"layout": "col-center", "layout": "col-center",
"x": 890, "x": 890,
"y": 240, "y": 420,
"wires": [] "wires": []
}, },
{ {
@ -5142,7 +5127,7 @@
"label": "Images count", "label": "Images count",
"format": "{{msg.payload}}", "format": "{{msg.payload}}",
"layout": "col-center", "layout": "col-center",
"x": 1360, "x": 1370,
"y": 360, "y": 360,
"wires": [] "wires": []
}, },
@ -5183,15 +5168,48 @@
"topic": "", "topic": "",
"payload": "0", "payload": "0",
"payloadType": "num", "payloadType": "num",
"x": 1150, "x": 590,
"y": 460, "y": 700,
"wires": [ "wires": [
[ [
"e2913641.ea203", "cbcf66e1.7b1588",
"abd84e73.aefc9", "d3a02ef1.d473b"
"b3f6e410.547fc", ]
"d0d14f00.e2ff88", ]
"6f64625f.243fd4" },
{
"id": "cbcf66e1.7b1588",
"type": "function",
"z": "bee3b478.ef4b88",
"name": "obj_counter init",
"func": "obj_counter=0\nglobal.set('obj_counter',obj_counter)\nmsg.payload = obj_counter\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 900,
"y": 640,
"wires": [
[
"b3f6e410.547fc"
]
]
},
{
"id": "d3a02ef1.d473b",
"type": "function",
"z": "bee3b478.ef4b88",
"name": "img_counter init",
"func": "img_counter=0\nglobal.set('img_counter',img_counter)\nmsg.payload = img_counter\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 900,
"y": 600,
"wires": [
[
"e2913641.ea203"
] ]
] ]
} }