421 lines
6.6 KiB
JSON
421 lines
6.6 KiB
JSON
{
|
|
"last_node_id": 35,
|
|
"last_link_id": 41,
|
|
"nodes": [
|
|
{
|
|
"id": 4,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1885,
|
|
-437
|
|
],
|
|
"size": {
|
|
"0": 297.05706787109375,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 22
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "Load Yolov8 Model",
|
|
"pos": [
|
|
976,
|
|
-380
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 58
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "YOLOV8_MODEL",
|
|
"type": "YOLOV8_MODEL",
|
|
"links": [
|
|
19
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Load Yolov8 Model"
|
|
},
|
|
"widgets_values": [
|
|
"yolov8n-seg (6.73MB)"
|
|
]
|
|
},
|
|
{
|
|
"id": 7,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
1424,
|
|
-205
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 21,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
7
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MaskToImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1414,
|
|
-82
|
|
],
|
|
"size": {
|
|
"0": 316.0663146972656,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 7
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 28,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
2223,
|
|
-108
|
|
],
|
|
"size": {
|
|
"0": 256.06072998046875,
|
|
"1": 246
|
|
},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 36
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
978,
|
|
-173
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
20,
|
|
34
|
|
],
|
|
"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": 30,
|
|
"type": "EmptyImage",
|
|
"pos": [
|
|
1438,
|
|
249
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 130
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
38
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "EmptyImage"
|
|
},
|
|
"widgets_values": [
|
|
640,
|
|
384,
|
|
1,
|
|
0
|
|
]
|
|
},
|
|
{
|
|
"id": 27,
|
|
"type": "Image Overlay",
|
|
"pos": [
|
|
1831,
|
|
-95
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 290
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "base_image",
|
|
"type": "IMAGE",
|
|
"link": 38
|
|
},
|
|
{
|
|
"name": "overlay_image",
|
|
"type": "IMAGE",
|
|
"link": 34
|
|
},
|
|
{
|
|
"name": "optional_mask",
|
|
"type": "MASK",
|
|
"link": 35
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
36
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Image Overlay"
|
|
},
|
|
"widgets_values": [
|
|
"Resize to width & heigth",
|
|
"nearest-exact",
|
|
1,
|
|
640,
|
|
384,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
],
|
|
"color": "#223333",
|
|
"bgcolor": "#335555",
|
|
"shape": 1
|
|
},
|
|
{
|
|
"id": 16,
|
|
"type": "Apply Yolov8 Model Seg",
|
|
"pos": [
|
|
1410,
|
|
-380
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 102
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "yolov8_model",
|
|
"type": "YOLOV8_MODEL",
|
|
"link": 19
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 20
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
22
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
21,
|
|
35
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 1
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "Apply Yolov8 Model Seg"
|
|
},
|
|
"widgets_values": [
|
|
"all",
|
|
"person,cat,dog",
|
|
"person",
|
|
0.25
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
7,
|
|
7,
|
|
0,
|
|
8,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
19,
|
|
2,
|
|
0,
|
|
16,
|
|
0,
|
|
"YOLOV8_MODEL"
|
|
],
|
|
[
|
|
20,
|
|
3,
|
|
0,
|
|
16,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
21,
|
|
16,
|
|
1,
|
|
7,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
22,
|
|
16,
|
|
0,
|
|
4,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
34,
|
|
3,
|
|
0,
|
|
27,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
35,
|
|
16,
|
|
1,
|
|
27,
|
|
2,
|
|
"MASK"
|
|
],
|
|
[
|
|
36,
|
|
27,
|
|
0,
|
|
28,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
38,
|
|
30,
|
|
0,
|
|
27,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
} |