Nodes Browser

ComfyDeploy: How comfyui-geometry works in ComfyUI?

What is comfyui-geometry?

Nodes: Mask to Centroid, Mask to Eigenvector. A small collection of custom nodes for use with ComfyUI, for geometry calculations

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for comfyui-geometry and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI Discopixel Nodes

A small collection of custom nodes for use with ComfyUI, by Discopixel.

🔌 Available Nodes

1. Transform Template onto Face Mask

Takes a template and a face mask as inputs, and transforms the template to fit over the face. It does this via calculating the centroid and eigenvectors of the Face. Useful for placing things onto a face. This assumes there is only one shape in the face mask, and such that the shape is comprised of white pixels over a black background.

Sample Workflow

⚙️ Installation

First, clone the repo into your ComfyUI extensions directory:

cd ComfyUI/custom_nodes
git clone https://github.com/discopixel-studio/comfyui-discopixel

Then, install the dependencies using your preferred method:

pip3 install -r requirements.txt

Then restart ComfyUI, and off you go! 🚀