Files
prodogape-Comfyui-Yolov8-JSON/docs/workflow.json
T
2024-02-29 15:15:00 +08:00

450 lines
7.1 KiB
JSON

{
"last_node_id": 12,
"last_link_id": 15,
"nodes": [
{
"id": 5,
"type": "PreviewJson",
"pos": [
1154,
302
],
"size": [
345.052001953125,
403
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "json_content",
"type": "JSON",
"link": 10
}
],
"properties": {
"Node name for S&R": "PreviewJson"
}
},
{
"id": 8,
"type": "Load Yolov8 Model",
"pos": [
188,
43
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "YOLOV8_MODEL",
"type": "YOLOV8_MODEL",
"links": [
7,
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Load Yolov8 Model"
},
"widgets_values": [
"yolov8n(6.23MB)"
]
},
{
"id": 3,
"type": "LoadImage",
"pos": [
160,
175
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8,
13
],
"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": 4,
"type": "PreviewImage",
"pos": [
1162,
12
],
"size": {
"0": 337.3331604003906,
"1": 246
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 11
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 9,
"type": "Apply Yolov8 Model",
"pos": [
648,
86
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "yolov8_model",
"type": "YOLOV8_MODEL",
"link": 7
},
{
"name": "image",
"type": "IMAGE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
11,
15
],
"shape": 3,
"slot_index": 0
},
{
"name": "JSON",
"type": "JSON",
"links": [
10
],
"shape": 3,
"slot_index": 1
},
{
"name": "MASK",
"type": "MASK",
"links": [
9
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "Apply Yolov8 Model"
},
"widgets_values": [
"person,cat,dog",
"yolov8",
0.25
]
},
{
"id": 6,
"type": "MaskToImage",
"pos": [
544,
300
],
"size": {
"0": 296.88226318359375,
"1": 41.210716247558594
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 9
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
6
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 7,
"type": "PreviewImage",
"pos": [
761,
402
],
"size": {
"0": 336.35296630859375,
"1": 246
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 10,
"type": "Apply Yolov8 Model One Label",
"pos": [
632,
-141
],
"size": {
"0": 315,
"1": 146
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "yolov8_model",
"type": "YOLOV8_MODEL",
"link": 12
},
{
"name": "image",
"type": "IMAGE",
"link": 13
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14
],
"shape": 3,
"slot_index": 0
},
{
"name": "JSON",
"type": "JSON",
"links": null,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Apply Yolov8 Model One Label"
},
"widgets_values": [
"person",
"Labelme",
0.25
]
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
1158,
-306
],
"size": {
"0": 337.3331604003906,
"1": 246
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 12,
"type": "SaveImage",
"pos": [
1661,
117
],
"size": {
"0": 315,
"1": 270
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 15
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
6,
6,
0,
7,
0,
"IMAGE"
],
[
7,
8,
0,
9,
0,
"YOLOV8_MODEL"
],
[
8,
3,
0,
9,
1,
"IMAGE"
],
[
9,
9,
2,
6,
0,
"MASK"
],
[
10,
9,
1,
5,
0,
"JSON"
],
[
11,
9,
0,
4,
0,
"IMAGE"
],
[
12,
8,
0,
10,
0,
"YOLOV8_MODEL"
],
[
13,
3,
0,
10,
1,
"IMAGE"
],
[
14,
10,
0,
11,
0,
"IMAGE"
],
[
15,
9,
0,
12,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}