309 lines
4.9 KiB
JSON
309 lines
4.9 KiB
JSON
{
|
|
"last_node_id": 14,
|
|
"last_link_id": 15,
|
|
"nodes": [
|
|
{
|
|
"id": 3,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
978,
|
|
-173
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
2
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"image (2).png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "Load Yolov8 Model",
|
|
"pos": [
|
|
966,
|
|
-294
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "YOLOV8_MODEL",
|
|
"type": "YOLOV8_MODEL",
|
|
"links": [
|
|
9
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Load Yolov8 Model"
|
|
},
|
|
"widgets_values": [
|
|
"yolov8n(6.23MB)"
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
1448,
|
|
-82
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 6
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MaskToImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1527,
|
|
-3
|
|
],
|
|
"size": {
|
|
"0": 282.73175048828125,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 1,
|
|
"type": "Apply Yolov8 Model",
|
|
"pos": [
|
|
1382,
|
|
-296
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 146
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "yolov8_model",
|
|
"type": "YOLOV8_MODEL",
|
|
"link": 9,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
15
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "JSON",
|
|
"type": "JSON",
|
|
"links": [
|
|
13
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
6
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 2
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Apply Yolov8 Model"
|
|
},
|
|
"widgets_values": [
|
|
"all",
|
|
"person,cat,dog",
|
|
"person",
|
|
"yolov8",
|
|
0.25
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1885,
|
|
-437
|
|
],
|
|
"size": {
|
|
"0": 297.05706787109375,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 15
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 13,
|
|
"type": "PreviewJson",
|
|
"pos": [
|
|
1891,
|
|
-131
|
|
],
|
|
"size": [
|
|
278.303466796875,
|
|
403
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "json_content",
|
|
"type": "JSON",
|
|
"link": 13
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewJson"
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
2,
|
|
3,
|
|
0,
|
|
1,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
6,
|
|
1,
|
|
2,
|
|
7,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
7,
|
|
7,
|
|
0,
|
|
8,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
9,
|
|
2,
|
|
0,
|
|
1,
|
|
0,
|
|
"YOLOV8_MODEL"
|
|
],
|
|
[
|
|
13,
|
|
1,
|
|
1,
|
|
13,
|
|
0,
|
|
"JSON"
|
|
],
|
|
[
|
|
15,
|
|
1,
|
|
0,
|
|
4,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
} |