428 lines
6.9 KiB
JSON
428 lines
6.9 KiB
JSON
{
|
|
"last_node_id": 11,
|
|
"last_link_id": 12,
|
|
"nodes": [
|
|
{
|
|
"id": 5,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
420,
|
|
740
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
3
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MaskToImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "ImageCompositeMasked",
|
|
"pos": [
|
|
640,
|
|
280
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 146
|
|
},
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "destination",
|
|
"type": "IMAGE",
|
|
"link": 3
|
|
},
|
|
{
|
|
"name": "source",
|
|
"type": "IMAGE",
|
|
"link": 12
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
8
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageCompositeMasked"
|
|
},
|
|
"widgets_values": [
|
|
16,
|
|
16,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
680,
|
|
520
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 314.0000305175781
|
|
},
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
9
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"unscannable_00001_.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 9,
|
|
"type": "comfy-qr-mask_errors",
|
|
"pos": [
|
|
1030,
|
|
310
|
|
],
|
|
"size": {
|
|
"0": 317.4000244140625,
|
|
"1": 238
|
|
},
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "source_qr",
|
|
"type": "IMAGE",
|
|
"link": 8
|
|
},
|
|
{
|
|
"name": "modified_qr",
|
|
"type": "IMAGE",
|
|
"link": 9
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "QR_ERROR_MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
10
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "PERCENT_ERROR",
|
|
"type": "FLOAT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "CORRELATION",
|
|
"type": "FLOAT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "RMSE",
|
|
"type": "FLOAT",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "comfy-qr-mask_errors"
|
|
},
|
|
"widgets_values": [
|
|
16,
|
|
"mean",
|
|
"mean",
|
|
"module_pattern",
|
|
0,
|
|
false
|
|
]
|
|
},
|
|
{
|
|
"id": 8,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
1399,
|
|
333
|
|
],
|
|
"size": {
|
|
"0": 210,
|
|
"1": 26
|
|
},
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 10
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
11
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "MaskToImage"
|
|
}
|
|
},
|
|
{
|
|
"id": 10,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
1574,
|
|
474
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 270
|
|
},
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 11
|
|
}
|
|
],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"ComfyUI"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "SolidMask",
|
|
"pos": [
|
|
38,
|
|
733
|
|
],
|
|
"size": {
|
|
"0": 315,
|
|
"1": 106
|
|
},
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
1
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SolidMask"
|
|
},
|
|
"widgets_values": [
|
|
0.5,
|
|
768,
|
|
768
|
|
]
|
|
},
|
|
{
|
|
"id": 11,
|
|
"type": "comfy-qr-by-module-split",
|
|
"pos": [
|
|
111,
|
|
258
|
|
],
|
|
"size": {
|
|
"0": 400,
|
|
"1": 344
|
|
},
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"outputs": [
|
|
{
|
|
"name": "QR_CODE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
12
|
|
],
|
|
"shape": 3,
|
|
"slot_index": 0
|
|
},
|
|
{
|
|
"name": "MODULE_LAYER",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "FINDER_LAYER",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "FINDER_MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "QR_VERSION",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
},
|
|
{
|
|
"name": "IMAGE_SIZE",
|
|
"type": "INT",
|
|
"links": null,
|
|
"shape": 3
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "comfy-qr-by-module-split"
|
|
},
|
|
"widgets_values": [
|
|
"Https",
|
|
"gitlab.com/sofuego-comfy-nodes/comfy-qr-validation-nodes",
|
|
16,
|
|
768,
|
|
"#000000",
|
|
"#FFFFFF",
|
|
"High",
|
|
1,
|
|
"Square"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
4,
|
|
0,
|
|
5,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
3,
|
|
5,
|
|
0,
|
|
6,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
8,
|
|
6,
|
|
0,
|
|
9,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
9,
|
|
2,
|
|
0,
|
|
9,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
10,
|
|
9,
|
|
0,
|
|
8,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
11,
|
|
8,
|
|
0,
|
|
10,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
12,
|
|
11,
|
|
0,
|
|
6,
|
|
1,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {},
|
|
"version": 0.4
|
|
}
|