Nodes Browser
ComfyDeploy: How comfyui-NDI works in ComfyUI?
What is comfyui-NDI?
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.
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
comfyui-NDI
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
comfyui-NDI
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!
about Ndi
https://ndi.video/
how to use
Download and install ndi tools
https://ndi.video/tools/ndi-core-suite/
Installation
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.
add node
Right-click on the NDI group to find options for receiving and sending images.
link ndi input
-
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.
look ndi output
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.
Example
Screen Capture
-
Start the
Screen Capture
in NDI Tools. -
Set the region of interest.
webcam input
-
Start the
Screen Capture
in NDI Tools. -
In the "Webcam Video Source," locate your webcam.
- In the ndi reciveimage ComfyUI node, you can now find the NDI source named "your-pc-name(your-webcam-name)."