updated readme, optimized webcam capture node, motion detection example
This commit is contained in:
@@ -0,0 +1,230 @@
|
||||
{
|
||||
"10": {
|
||||
"inputs": {
|
||||
"action": "add",
|
||||
"value": 2,
|
||||
"mask": [
|
||||
"11",
|
||||
0
|
||||
],
|
||||
"next_roi": [
|
||||
"24",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ROINode",
|
||||
"_meta": {
|
||||
"title": "ROI Node (RyanOnTheInside)"
|
||||
}
|
||||
},
|
||||
"11": {
|
||||
"inputs": {
|
||||
"shape": "circle",
|
||||
"width": 64,
|
||||
"height": 64,
|
||||
"x": 85,
|
||||
"y": 85,
|
||||
"canvas_width": 512,
|
||||
"canvas_height": 512,
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "QuickShapeMask",
|
||||
"_meta": {
|
||||
"title": "Quick Shape Mask (RyanOnTheInside)"
|
||||
}
|
||||
},
|
||||
"24": {
|
||||
"inputs": {
|
||||
"action": "subtract",
|
||||
"value": 2,
|
||||
"mask": [
|
||||
"25",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "ROINode",
|
||||
"_meta": {
|
||||
"title": "ROI Node (RyanOnTheInside)"
|
||||
}
|
||||
},
|
||||
"25": {
|
||||
"inputs": {
|
||||
"shape": "circle",
|
||||
"width": 64,
|
||||
"height": 64,
|
||||
"x": 427,
|
||||
"y": 85,
|
||||
"canvas_width": 512,
|
||||
"canvas_height": 512,
|
||||
"batch_size": 1
|
||||
},
|
||||
"class_type": "QuickShapeMask",
|
||||
"_meta": {
|
||||
"title": "Quick Shape Mask (RyanOnTheInside)"
|
||||
}
|
||||
},
|
||||
"28": {
|
||||
"inputs": {
|
||||
"value": 0.15,
|
||||
"width": 512,
|
||||
"height": 512
|
||||
},
|
||||
"class_type": "SolidMask",
|
||||
"_meta": {
|
||||
"title": "SolidMask"
|
||||
}
|
||||
},
|
||||
"29": {
|
||||
"inputs": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"operation": "subtract",
|
||||
"destination": [
|
||||
"11",
|
||||
0
|
||||
],
|
||||
"source": [
|
||||
"28",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "MaskComposite",
|
||||
"_meta": {
|
||||
"title": "MaskComposite"
|
||||
}
|
||||
},
|
||||
"30": {
|
||||
"inputs": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"operation": "subtract",
|
||||
"destination": [
|
||||
"25",
|
||||
0
|
||||
],
|
||||
"source": [
|
||||
"28",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "MaskComposite",
|
||||
"_meta": {
|
||||
"title": "MaskComposite"
|
||||
}
|
||||
},
|
||||
"32": {
|
||||
"inputs": {
|
||||
"kernel_size": 61,
|
||||
"sigma": [
|
||||
"35",
|
||||
0
|
||||
],
|
||||
"mode": "cuda",
|
||||
"images": [
|
||||
"39",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "GaussianBlur",
|
||||
"_meta": {
|
||||
"title": "GaussianBlur"
|
||||
}
|
||||
},
|
||||
"34": {
|
||||
"inputs": {
|
||||
"images": [
|
||||
"37",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "PreviewImage",
|
||||
"_meta": {
|
||||
"title": "Preview Image"
|
||||
}
|
||||
},
|
||||
"35": {
|
||||
"inputs": {
|
||||
"always_execute": true,
|
||||
"threshold": 0.1,
|
||||
"blur_size": 5,
|
||||
"minimum_value": 1,
|
||||
"maximum_value": 100,
|
||||
"starting_value": 10,
|
||||
"rounding_mode": "round",
|
||||
"image": [
|
||||
"39",
|
||||
0
|
||||
],
|
||||
"roi_chain": [
|
||||
"10",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "IntegerMotionController",
|
||||
"_meta": {
|
||||
"title": "Integer Motion Controller (RyanOnTheInside)"
|
||||
}
|
||||
},
|
||||
"36": {
|
||||
"inputs": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"operation": "add",
|
||||
"destination": [
|
||||
"29",
|
||||
0
|
||||
],
|
||||
"source": [
|
||||
"30",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "MaskComposite",
|
||||
"_meta": {
|
||||
"title": "MaskComposite"
|
||||
}
|
||||
},
|
||||
"37": {
|
||||
"inputs": {
|
||||
"mode": "cuda",
|
||||
"foregrounds": [
|
||||
"40",
|
||||
0
|
||||
],
|
||||
"backgrounds": [
|
||||
"32",
|
||||
0
|
||||
],
|
||||
"foreground_masks": [
|
||||
"36",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "Composite",
|
||||
"_meta": {
|
||||
"title": "Composite"
|
||||
}
|
||||
},
|
||||
"39": {
|
||||
"inputs": {
|
||||
"image": "dead_inside_512.png",
|
||||
"upload": "image"
|
||||
},
|
||||
"class_type": "LoadImage",
|
||||
"_meta": {
|
||||
"title": "Load Image"
|
||||
}
|
||||
},
|
||||
"40": {
|
||||
"inputs": {
|
||||
"mask": [
|
||||
"36",
|
||||
0
|
||||
]
|
||||
},
|
||||
"class_type": "MaskToImage",
|
||||
"_meta": {
|
||||
"title": "Convert Mask to Image"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user