update workflows
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"last_node_id": 203,
|
"last_node_id": 208,
|
||||||
"last_link_id": 477,
|
"last_link_id": 480,
|
||||||
"nodes": [
|
"nodes": [
|
||||||
{
|
{
|
||||||
"id": 129,
|
"id": 204,
|
||||||
"type": "LivePortraitLoadCropper",
|
"type": "LivePortraitLoadMediaPipeCropper",
|
||||||
"pos": [
|
"pos": [
|
||||||
-1050,
|
-1059,
|
||||||
-740
|
-767
|
||||||
],
|
],
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
@@ -21,14 +21,13 @@
|
|||||||
"name": "cropper",
|
"name": "cropper",
|
||||||
"type": "LPCROPPER",
|
"type": "LPCROPPER",
|
||||||
"links": [
|
"links": [
|
||||||
444
|
478
|
||||||
],
|
],
|
||||||
"shape": 3,
|
"shape": 3
|
||||||
"slot_index": 0
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Node name for S&R": "LivePortraitLoadCropper"
|
"Node name for S&R": "LivePortraitLoadMediaPipeCropper"
|
||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
"CPU",
|
"CPU",
|
||||||
@@ -39,8 +38,8 @@
|
|||||||
"id": 1,
|
"id": 1,
|
||||||
"type": "DownloadAndLoadLivePortraitModels",
|
"type": "DownloadAndLoadLivePortraitModels",
|
||||||
"pos": [
|
"pos": [
|
||||||
-1040,
|
-1046,
|
||||||
-850
|
-904
|
||||||
],
|
],
|
||||||
"size": {
|
"size": {
|
||||||
"0": 302.43463134765625,
|
"0": 302.43463134765625,
|
||||||
@@ -72,15 +71,15 @@
|
|||||||
"id": 165,
|
"id": 165,
|
||||||
"type": "ImageResizeKJ",
|
"type": "ImageResizeKJ",
|
||||||
"pos": [
|
"pos": [
|
||||||
-670,
|
-715,
|
||||||
-560
|
-617
|
||||||
],
|
],
|
||||||
"size": {
|
"size": {
|
||||||
"0": 315,
|
"0": 315,
|
||||||
"1": 242
|
"1": 242
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 4,
|
"order": 6,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@@ -146,58 +145,19 @@
|
|||||||
0
|
0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": 196,
|
|
||||||
"type": "LoadImage",
|
|
||||||
"pos": [
|
|
||||||
-1050,
|
|
||||||
-550
|
|
||||||
],
|
|
||||||
"size": {
|
|
||||||
"0": 315,
|
|
||||||
"1": 314
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 2,
|
|
||||||
"mode": 0,
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "IMAGE",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"links": [
|
|
||||||
466
|
|
||||||
],
|
|
||||||
"shape": 3,
|
|
||||||
"slot_index": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "MASK",
|
|
||||||
"type": "MASK",
|
|
||||||
"links": null,
|
|
||||||
"shape": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "LoadImage"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
"oldman.jpg",
|
|
||||||
"image"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": 78,
|
"id": 78,
|
||||||
"type": "GetImageSizeAndCount",
|
"type": "GetImageSizeAndCount",
|
||||||
"pos": [
|
"pos": [
|
||||||
-310,
|
-364,
|
||||||
-550
|
-619
|
||||||
],
|
],
|
||||||
"size": {
|
"size": {
|
||||||
"0": 210,
|
"0": 210,
|
||||||
"1": 86
|
"1": 86
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 5,
|
"order": 7,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@@ -224,7 +184,7 @@
|
|||||||
"shape": 3
|
"shape": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "512 height",
|
"name": "384 height",
|
||||||
"type": "INT",
|
"type": "INT",
|
||||||
"links": null,
|
"links": null,
|
||||||
"shape": 3
|
"shape": 3
|
||||||
@@ -240,19 +200,177 @@
|
|||||||
"Node name for S&R": "GetImageSizeAndCount"
|
"Node name for S&R": "GetImageSizeAndCount"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": 207,
|
||||||
|
"type": "Note",
|
||||||
|
"pos": [
|
||||||
|
-850,
|
||||||
|
-202
|
||||||
|
],
|
||||||
|
"size": [
|
||||||
|
230.3331222759989,
|
||||||
|
105.34622315856666
|
||||||
|
],
|
||||||
|
"flags": {},
|
||||||
|
"order": 2,
|
||||||
|
"mode": 0,
|
||||||
|
"properties": {
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
"Example live inputs, direct webcam capture using cv2 or screencapture using mss. Both are about same speed."
|
||||||
|
],
|
||||||
|
"color": "#432",
|
||||||
|
"bgcolor": "#653"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 206,
|
||||||
|
"type": "Screencap_mss",
|
||||||
|
"pos": [
|
||||||
|
-568,
|
||||||
|
-34
|
||||||
|
],
|
||||||
|
"size": {
|
||||||
|
"0": 315,
|
||||||
|
"1": 178
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 3,
|
||||||
|
"mode": 0,
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "Screencap_mss"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
512,
|
||||||
|
512,
|
||||||
|
1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 198,
|
||||||
|
"type": "PreviewImage",
|
||||||
|
"pos": [
|
||||||
|
413,
|
||||||
|
-826
|
||||||
|
],
|
||||||
|
"size": {
|
||||||
|
"0": 521.2196044921875,
|
||||||
|
"1": 566.1187133789062
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 10,
|
||||||
|
"mode": 0,
|
||||||
|
"inputs": [
|
||||||
|
{
|
||||||
|
"name": "images",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"link": 470
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "PreviewImage"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 196,
|
||||||
|
"type": "LoadImage",
|
||||||
|
"pos": [
|
||||||
|
-1058,
|
||||||
|
-623
|
||||||
|
],
|
||||||
|
"size": {
|
||||||
|
"0": 315,
|
||||||
|
"1": 314
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 4,
|
||||||
|
"mode": 0,
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "IMAGE",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": [
|
||||||
|
466
|
||||||
|
],
|
||||||
|
"shape": 3,
|
||||||
|
"slot_index": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MASK",
|
||||||
|
"type": "MASK",
|
||||||
|
"links": null,
|
||||||
|
"shape": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "LoadImage"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
"Mona-Lisa-oil-wood-panel-Leonardo-da.webp",
|
||||||
|
"image"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 205,
|
||||||
|
"type": "WebcamCaptureCV2",
|
||||||
|
"pos": [
|
||||||
|
-577,
|
||||||
|
-283
|
||||||
|
],
|
||||||
|
"size": {
|
||||||
|
"0": 315,
|
||||||
|
"1": 178
|
||||||
|
},
|
||||||
|
"flags": {},
|
||||||
|
"order": 5,
|
||||||
|
"mode": 0,
|
||||||
|
"outputs": [
|
||||||
|
{
|
||||||
|
"name": "image",
|
||||||
|
"type": "IMAGE",
|
||||||
|
"links": [
|
||||||
|
479
|
||||||
|
],
|
||||||
|
"shape": 3,
|
||||||
|
"slot_index": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"Node name for S&R": "WebcamCaptureCV2"
|
||||||
|
},
|
||||||
|
"widgets_values": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
512,
|
||||||
|
512,
|
||||||
|
0,
|
||||||
|
false
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": 190,
|
"id": 190,
|
||||||
"type": "LivePortraitProcess",
|
"type": "LivePortraitProcess",
|
||||||
"pos": [
|
"pos": [
|
||||||
563,
|
-79,
|
||||||
-418
|
-552
|
||||||
],
|
],
|
||||||
"size": {
|
"size": {
|
||||||
"0": 430.8000183105469,
|
"0": 430.8000183105469,
|
||||||
"1": 282
|
"1": 282
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 7,
|
"order": 9,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@@ -273,7 +391,8 @@
|
|||||||
{
|
{
|
||||||
"name": "driving_images",
|
"name": "driving_images",
|
||||||
"type": "IMAGE",
|
"type": "IMAGE",
|
||||||
"link": 477
|
"link": 479,
|
||||||
|
"slot_index": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "opt_retargeting_info",
|
"name": "opt_retargeting_info",
|
||||||
@@ -305,88 +424,26 @@
|
|||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
false,
|
false,
|
||||||
0.03,
|
0.03,
|
||||||
false,
|
true,
|
||||||
1,
|
1,
|
||||||
"constant",
|
"constant",
|
||||||
"single_frame",
|
"single_frame",
|
||||||
0.000003
|
0.000003
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": 198,
|
|
||||||
"type": "PreviewImage",
|
|
||||||
"pos": [
|
|
||||||
1027,
|
|
||||||
-409
|
|
||||||
],
|
|
||||||
"size": {
|
|
||||||
"0": 521.2196044921875,
|
|
||||||
"1": 566.1187133789062
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 8,
|
|
||||||
"mode": 0,
|
|
||||||
"inputs": [
|
|
||||||
{
|
|
||||||
"name": "images",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"link": 470
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "PreviewImage"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": 203,
|
|
||||||
"type": "Screencap_mss",
|
|
||||||
"pos": [
|
|
||||||
5,
|
|
||||||
-277
|
|
||||||
],
|
|
||||||
"size": {
|
|
||||||
"0": 315,
|
|
||||||
"1": 178
|
|
||||||
},
|
|
||||||
"flags": {},
|
|
||||||
"order": 3,
|
|
||||||
"mode": 0,
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"name": "image",
|
|
||||||
"type": "IMAGE",
|
|
||||||
"links": [
|
|
||||||
477
|
|
||||||
],
|
|
||||||
"shape": 3,
|
|
||||||
"slot_index": 0
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"Node name for S&R": "Screencap_mss"
|
|
||||||
},
|
|
||||||
"widgets_values": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
512,
|
|
||||||
512,
|
|
||||||
1,
|
|
||||||
0.1
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": 189,
|
"id": 189,
|
||||||
"type": "LivePortraitCropper",
|
"type": "LivePortraitCropper",
|
||||||
"pos": [
|
"pos": [
|
||||||
-48,
|
-73,
|
||||||
-851
|
-876
|
||||||
],
|
],
|
||||||
"size": {
|
"size": {
|
||||||
"0": 330,
|
"0": 330,
|
||||||
"1": 242
|
"1": 242
|
||||||
},
|
},
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"order": 6,
|
"order": 8,
|
||||||
"mode": 0,
|
"mode": 0,
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
@@ -398,7 +455,8 @@
|
|||||||
{
|
{
|
||||||
"name": "cropper",
|
"name": "cropper",
|
||||||
"type": "LPCROPPER",
|
"type": "LPCROPPER",
|
||||||
"link": 444
|
"link": 478,
|
||||||
|
"slot_index": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "source_image",
|
"name": "source_image",
|
||||||
@@ -429,9 +487,9 @@
|
|||||||
},
|
},
|
||||||
"widgets_values": [
|
"widgets_values": [
|
||||||
512,
|
512,
|
||||||
2.3,
|
2.34,
|
||||||
0,
|
0.099,
|
||||||
-0.125,
|
0.148,
|
||||||
0,
|
0,
|
||||||
"large-small",
|
"large-small",
|
||||||
false
|
false
|
||||||
@@ -447,14 +505,6 @@
|
|||||||
0,
|
0,
|
||||||
"IMAGE"
|
"IMAGE"
|
||||||
],
|
],
|
||||||
[
|
|
||||||
444,
|
|
||||||
129,
|
|
||||||
0,
|
|
||||||
189,
|
|
||||||
1,
|
|
||||||
"LPCROPPER"
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
445,
|
445,
|
||||||
78,
|
78,
|
||||||
@@ -512,8 +562,16 @@
|
|||||||
"IMAGE"
|
"IMAGE"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
477,
|
478,
|
||||||
203,
|
204,
|
||||||
|
0,
|
||||||
|
189,
|
||||||
|
1,
|
||||||
|
"LPCROPPER"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
479,
|
||||||
|
205,
|
||||||
0,
|
0,
|
||||||
190,
|
190,
|
||||||
3,
|
3,
|
||||||
@@ -526,8 +584,8 @@
|
|||||||
"ds": {
|
"ds": {
|
||||||
"scale": 0.7513148009015781,
|
"scale": 0.7513148009015781,
|
||||||
"offset": {
|
"offset": {
|
||||||
"0": 1170.2642381365986,
|
"0": 1468.4081568988054,
|
||||||
"1": 992.3601372540302
|
"1": 1224.8414164288351
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user