149 lines
2.2 KiB
JSON
149 lines
2.2 KiB
JSON
{
|
|
"id": "sharp-basic-workflow",
|
|
"revision": 0,
|
|
"last_node_id": 3,
|
|
"last_link_id": 2,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-150,
|
|
-100
|
|
],
|
|
"size": [
|
|
274,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "LoadSharpModel",
|
|
"pos": [
|
|
-150,
|
|
-400
|
|
],
|
|
"size": [
|
|
270,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "SHARP_MODEL",
|
|
"links": [
|
|
1
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadSharpModel"
|
|
},
|
|
"widgets_values": [
|
|
"auto",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "SharpPredict",
|
|
"pos": [
|
|
250,
|
|
-250
|
|
],
|
|
"size": [
|
|
300,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "SHARP_MODEL",
|
|
"link": 1
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "ply_path",
|
|
"type": "STRING",
|
|
"links": []
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SharpPredict"
|
|
},
|
|
"widgets_values": [
|
|
0,
|
|
"sharp"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
2,
|
|
0,
|
|
3,
|
|
0,
|
|
"SHARP_MODEL"
|
|
],
|
|
[
|
|
2,
|
|
1,
|
|
0,
|
|
3,
|
|
1,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 1.0,
|
|
"offset": [
|
|
400,
|
|
600
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|