Image Pipeline Playground
{
"version": 1,
"name": "contour-detect",
"description": "Binary threshold then find contours — structure / blob starter.",
"seed": 0,
"sampleCount": 1,
"graph": {
"nodes": [
{
"id": "load-1",
"type": "load_image",
"params": { "sample": "anna-portrait" },
"position": { "x": 0, "y": 0 }
},
{
"id": "gray-1",
"type": "to_gray",
"params": {},
"position": { "x": 220, "y": 0 }
},
{
"id": "thresh-1",
"type": "threshold",
"params": { "method": "otsu", "thresh": 127.0, "maxval": 255.0 },
"position": { "x": 440, "y": 0 }
},
{
"id": "contours-1",
"type": "find_contours",
"params": {
"mode": "external",
"method": "simple",
"thickness": 2,
"overlay": "on_input"
},
"position": { "x": 660, "y": 0 }
}
],
"edges": [
{
"id": "e1",
"source": "load-1",
"source_port": "image",
"target": "gray-1",
"target_port": "image"
},
{
"id": "e2",
"source": "gray-1",
"source_port": "image",
"target": "thresh-1",
"target_port": "image"
},
{
"id": "e3",
"source": "thresh-1",
"source_port": "image",
"target": "contours-1",
"target_port": "image"
}
]
}
}