ComfyUI_Camera

ComfyUI_Camera
★ 7

本地摄像头实时预览实时处理动态分辨率
在 ComfyUI 中读取本地摄像头帧并实时处理与预览,便于即时查看与调试。
💡 在 ComfyUI 内实时采集并预览摄像头处理结果。
🍴 3 Forks💻 Python🔄 2025-05-05
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📦 requirements.txt
opencv-python
numpy
psutil
📄 README

ComfyUI_Camera

ComfyUI processes local real-time camera feed and provides real-time preview of the result.

Introduction

  • Through the ComfyUI_Camera plugin, you can read local camera frames at any time within ComfyUI.
  • It allows for efficient previewing of the results processed by ComfyUI, making it easier to handle camera frames in real-time and view the processed results instantly.
  • All of this can be done directly within the ComfyUI interface, enabling you to operate and implement it simultaneously.
  • Usage Steps

  • Install the ComfyUI_Camera plugin.
  • Restart ComfyUI to refresh the interface.
  • Right-click the menu and select Start Local Camera.
  • Wait for the camera to start, then select the resolution.
  • Download and execute the workflow, ./res/real_time_camera_flow.json.
  • If you need real-time processing and live preview of the processed results, follow these settings and execute the Queue Prompt to keep it running continuously.
  • If you do not have a physical camera, you can use the OBS software to enable a virtual camera for use.
  • Right-click the menu and select Stop Local Camera for stop camera.
  • Verified

    Platforms

  • Windows
  • Mac
  • Features

  • Modify resolution does not require a restart.
  • It does not support cloud deployment using a local camera; the camera and ComfyUI must be on the same machine.