893 lines
15 KiB
JSON
893 lines
15 KiB
JSON
{
|
|
"last_node_id": 29,
|
|
"last_link_id": 46,
|
|
"nodes": [
|
|
{
|
|
"id": 25,
|
|
"type": "LayerMask: BBoxJoin",
|
|
"pos": {
|
|
"0": 1010,
|
|
"1": 860,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 252,
|
|
"1": 86
|
|
},
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "bboxes_1",
|
|
"type": "BBOXES",
|
|
"link": 42
|
|
},
|
|
{
|
|
"name": "bboxes_2",
|
|
"type": "BBOXES",
|
|
"link": 44
|
|
},
|
|
{
|
|
"name": "bboxes_3",
|
|
"type": "BBOXES",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "bboxes_4",
|
|
"type": "BBOXES",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"links": [
|
|
33
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: BBoxJoin"
|
|
}
|
|
},
|
|
{
|
|
"id": 22,
|
|
"type": "LayerMask: SAM2Ultra",
|
|
"pos": {
|
|
"0": 1320,
|
|
"1": 610,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 366
|
|
},
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 22
|
|
},
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"link": 33
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
24
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: SAM2Ultra"
|
|
},
|
|
"widgets_values": [
|
|
"sam2_hiera_base_plus.safetensors",
|
|
"fp16",
|
|
"all",
|
|
"0,",
|
|
false,
|
|
"VITMatte",
|
|
6,
|
|
4,
|
|
0.15,
|
|
0.99,
|
|
true,
|
|
"cuda",
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"id": 23,
|
|
"type": "LayerMask: SAM2Ultra",
|
|
"pos": {
|
|
"0": 1320,
|
|
"1": 1040,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 366
|
|
},
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 25
|
|
},
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"link": 46
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
27
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: SAM2Ultra"
|
|
},
|
|
"widgets_values": [
|
|
"sam2_hiera_base_plus.safetensors",
|
|
"fp16",
|
|
"all",
|
|
"0,",
|
|
false,
|
|
"VITMatte",
|
|
6,
|
|
4,
|
|
0.15,
|
|
0.99,
|
|
true,
|
|
"cuda",
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 1690,
|
|
"1": 190,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 607.5372314453125,
|
|
"1": 368.59552001953125
|
|
},
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 21
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 1690,
|
|
"1": 610,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 607.5372314453125,
|
|
"1": 368.59552001953125
|
|
},
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 24
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "PreviewImage",
|
|
"pos": {
|
|
"0": 1690,
|
|
"1": 1030,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 607.5372314453125,
|
|
"1": 368.59552001953125
|
|
},
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 27
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "LayerMask: LoadFlorence2Model",
|
|
"pos": {
|
|
"0": 670,
|
|
"1": 210,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 301.9246520996094,
|
|
"1": 65.07791900634766
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "florence2_model",
|
|
"type": "FLORENCE2",
|
|
"links": [
|
|
38
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: LoadFlorence2Model"
|
|
},
|
|
"widgets_values": [
|
|
"base"
|
|
]
|
|
},
|
|
{
|
|
"id": 15,
|
|
"type": "LoadImage",
|
|
"pos": {
|
|
"0": 210,
|
|
"1": 960,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
320.1606750488281,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
43
|
|
],
|
|
"slot_index": 1,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"clipspace/clipspace-mask-122198.png [input]",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 28,
|
|
"type": "LayerMask: ObjectDetectorMask",
|
|
"pos": {
|
|
"0": 670,
|
|
"1": 880,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
305.4603283920758,
|
|
126
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "object_mask",
|
|
"type": "MASK",
|
|
"link": 43
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"links": [
|
|
44
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: ObjectDetectorMask"
|
|
},
|
|
"widgets_values": [
|
|
"left_to_right",
|
|
"all",
|
|
"0,"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "LoadImage",
|
|
"pos": {
|
|
"0": 210,
|
|
"1": 350,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
18,
|
|
22,
|
|
25,
|
|
39,
|
|
41,
|
|
45
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"seven_persons_1280x720.jpg",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 21,
|
|
"type": "LayerMask: SAM2Ultra",
|
|
"pos": {
|
|
"0": 1330,
|
|
"1": 180,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": {
|
|
"0": 315,
|
|
"1": 366
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 18
|
|
},
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"link": 40
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
21
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: SAM2Ultra"
|
|
},
|
|
"widgets_values": [
|
|
"sam2_hiera_base_plus.safetensors",
|
|
"fp16",
|
|
"all",
|
|
"0,",
|
|
false,
|
|
"VITMatte",
|
|
6,
|
|
4,
|
|
0.15,
|
|
0.99,
|
|
true,
|
|
"cuda",
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"id": 26,
|
|
"type": "LayerMask: ObjectDetectorFL2",
|
|
"pos": {
|
|
"0": 670,
|
|
"1": 340,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
302.3999938964844,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 39
|
|
},
|
|
{
|
|
"name": "florence2_model",
|
|
"type": "FLORENCE2",
|
|
"link": 38
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"links": [
|
|
40
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: ObjectDetectorFL2"
|
|
},
|
|
"widgets_values": [
|
|
"woman",
|
|
"left_to_right",
|
|
"all",
|
|
"0,"
|
|
]
|
|
},
|
|
{
|
|
"id": 27,
|
|
"type": "LayerMask: ObjectDetectorYOLOWorld",
|
|
"pos": {
|
|
"0": 670,
|
|
"1": 590,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
310.79998779296875,
|
|
222
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 41
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"links": [
|
|
42
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: ObjectDetectorYOLOWorld"
|
|
},
|
|
"widgets_values": [
|
|
"yolo_world/v2-x",
|
|
0.05,
|
|
0.3,
|
|
"person",
|
|
"left_to_right",
|
|
"by_index",
|
|
"2,4,5"
|
|
]
|
|
},
|
|
{
|
|
"id": 29,
|
|
"type": "LayerMask: ObjectDetectorYOLO8",
|
|
"pos": {
|
|
"0": 670,
|
|
"1": 1120,
|
|
"2": 0,
|
|
"3": 0,
|
|
"4": 0,
|
|
"5": 0,
|
|
"6": 0,
|
|
"7": 0,
|
|
"8": 0,
|
|
"9": 0
|
|
},
|
|
"size": [
|
|
312.30031362156797,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 45
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "bboxes",
|
|
"type": "BBOXES",
|
|
"links": [
|
|
46
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "preview",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LayerMask: ObjectDetectorYOLO8"
|
|
},
|
|
"widgets_values": [
|
|
"face_yolov8m.pt",
|
|
"left_to_right",
|
|
"by_index",
|
|
"0,1,2,5,6"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
18,
|
|
2,
|
|
0,
|
|
21,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
21,
|
|
21,
|
|
0,
|
|
5,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
22,
|
|
2,
|
|
0,
|
|
22,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
24,
|
|
22,
|
|
0,
|
|
8,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
25,
|
|
2,
|
|
0,
|
|
23,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
27,
|
|
23,
|
|
0,
|
|
11,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
33,
|
|
25,
|
|
0,
|
|
22,
|
|
1,
|
|
"BBOXES"
|
|
],
|
|
[
|
|
38,
|
|
4,
|
|
0,
|
|
26,
|
|
1,
|
|
"FLORENCE2"
|
|
],
|
|
[
|
|
39,
|
|
2,
|
|
0,
|
|
26,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
40,
|
|
26,
|
|
0,
|
|
21,
|
|
1,
|
|
"BBOXES"
|
|
],
|
|
[
|
|
41,
|
|
2,
|
|
0,
|
|
27,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
42,
|
|
27,
|
|
0,
|
|
25,
|
|
0,
|
|
"BBOXES"
|
|
],
|
|
[
|
|
43,
|
|
15,
|
|
1,
|
|
28,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
44,
|
|
28,
|
|
0,
|
|
25,
|
|
1,
|
|
"BBOXES"
|
|
],
|
|
[
|
|
45,
|
|
2,
|
|
0,
|
|
29,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
46,
|
|
29,
|
|
0,
|
|
23,
|
|
1,
|
|
"BBOXES"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.683013455365071,
|
|
"offset": [
|
|
412.29938543495007,
|
|
64.95539321714692
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |