Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix webcam node no longer working. (#17144)

comfyanonymous6607f36b53c7
diff --git a/comfy_extras/nodes_webcam.py b/comfy_extras/nodes_webcam.py
index 6349ac017..d96a95046 100644
--- a/comfy_extras/nodes_webcam.py
+++ b/comfy_extras/nodes_webcam.py
@@ -1,5 +1,4 @@
import nodes
-import folder_paths
MAX_RESOLUTION = nodes.MAX_RESOLUTION
@@ -22,7 +21,7 @@ class WebcamCapture(nodes.LoadImage):
CATEGORY = "image"
def load_capture(self, image, **kwargs):
- return super().load_image(folder_paths.get_annotated_filepath(image))
+ return super().load_image(image)
@classmethod
def IS_CHANGED(cls, image, width, height, capture_on_queue):