Real-time input output node for ComfyUI by NDI. Leveraging the powerful linking capabilities of NDI, you can access NDI video stream frames and send images generated by the model to NDI video streams.
real-time input output node for comfyui by ndi.
Leveraging the powerful linking capabilities of NDI, you can access NDI video stream frames and send images generated by the model to NDI video streams.
For example, you can use your web camera as the input for your model, or capture the screen of a Painting software (such as PS) as input, and so on.
If you have any requirements, please let me know.
have fun!
https://ndi.video/
https://ndi.video/tools/ndi-core-suite/
Download the repository and unpack into the custom_nodes
folder in the ComfyUI installation directory.
Or clone via GIT, starting from ComfyUI installation directory:
cd custom_nodes
git clone https://github.com/ningxiaoxiao/comfyui-NDI.git
You also need to install ndi-python
pip install ndi-python
[!WARNING] my python version is
3.10.9
, If you are usingComfyUI_windows_portable
, you should useComfyUI_windows_portable\python_embeded\python.exe -m pip install ndi-python
Restart ComfyUI and the nodes are functional.
Right-click on the NDI group to find options for receiving and sending images.
You can use the Screen Capture
from NDI tools to turn your camera feed into an NDI video resource.
Add an NDI receive image node in ComfyUI and select your webcam node in the node settings.
If you cannot find your NDI resources in the node, you should click the update ndi list
button in the menu.
If you want to see the real-time output of the model, just add an NDI send image node and connect it to the image output. You can then view an NDI resource named ComfyUI
.
You can use a software called Studio Monitor
from NDI tools to check the resources available on the current network.
Start the Screen Capture
in NDI Tools.
Set the region of interest.
Start the Screen Capture
in NDI Tools.
In the "Webcam Video Source," locate your webcam.