/ComfyUI-Roboflow

Roboflow Workflows on ComfyUI

Primary LanguagePythonApache License 2.0Apache-2.0

ComfyUI-Roboflow

This is a ComfyUI node that connects with Roboflow workflows.

Roboflow hosts hundreds of thousands of open source and custom object detection models: https://universe.roboflow.com/.

Screenshot 2024-09-24 at 10 46 29 PM

Workflows has a node based drag & drop system similar to ComfyUI that can optionally be hosted. The default setting for this repository is to use the hosted version.

Screenshot 2024-09-24 at 11 08 52 PM

Included Nodes

  • Background Removal: Removes the background from an image

  • Label Emotions: Detects human faces and labels them with the emotion they are expressing.

  • Custom Workflow - 1 Image: Template for sending an image to a workflow you make and exporting up to 4 images and/or 4 strings to send to other nodes.

  • Detect Objects (Soon): Detect objects on an image using YOLO, vLLMs, Clip, or any trained Object Detection / Classification / Instance Segmentation model in the Roboflow Universe.

  • Count Objects (Soon): Count objects in an image using YOLO, vLLMs, or any trained Object Detection / Instance Segmentation model in the Roboflow Universe.

  • Blur Objects (Soon): Detect and Blur objects in an image using YOLO, vLLMs, or any trained Object Detection / Instance Segmentation model in the Roboflow Universe.

  • Crop Objects (Soon): Detect and Crop objects in an image using YOLO, vLLMs, or any trained Object Detection / Instance Segmentation model in the Roboflow Universe.

Installation

  1. Download or clone the repo
git clone https://github.com/DareFail/ComfyUI-Roboflow
Screenshot 2024-09-24 at 11 09 25 PM
  1. Copy the ComfyUI-Roboflow folder into your ComfyUI/customer_nodes folder
Screenshot 2024-09-24 at 11 10 30 PM
  1. Restart ComfyUI and add any node under "Roboflow"

  2. Get your workflow ID and free API key from Roboflow to use this node.

Acknowledgements

  • Thanks to Roboflow for sponsoring this project. Get your free API key at: Roboflow

License

Distributed under the APACHE 2.0 License. See LICENSE for more information.

Contact (feel free to ask questions!)

Twitter: @darefailed

Youtube: How to Video coming soon

Project Link: https://github.com/DareFail/ComfyUI-Roboflow