Extensions/ComfyUI-ArchiGraph
ComfyUI Extension

ComfyUI-ArchiGraph

Implementation of architectural related graph algorithm in ComfyUI.

By vincentfs·Created 2 years ago·Updated 8 months ago· 3
vincentfs/ComfyUI-ArchiGraph
Nodes31
On cloudLocal install
Category🐦‍🔥 ArchiGraph/📀 OpenCV, 🐦‍🔥 ArchiGraph/🛠️ Utils
Stars3
Updated8 months ago

Nodes (31)

Bitwise Not 🐦‍🔥

Flip a binary image's blacks and whites in one click

🐦‍🔥 ArchiGraph/📀 OpenCV
Blur 🐦‍🔥

The cheap box blur before everything else

🐦‍🔥 ArchiGraph/📀 OpenCV
Blur Gaussian 🐦‍🔥

The soft blur that detection pipelines want before Canny

🐦‍🔥 ArchiGraph/📀 OpenCV
Blur Median 🐦‍🔥

Kill salt-and-pepper noise without smearing the edges

🐦‍🔥 ArchiGraph/📀 OpenCV
Canny 🐦‍🔥

Canny edges on CPU, thresholds in 0-to-1, no model download

🐦‍🔥 ArchiGraph/📀 OpenCV
Connected Components With Stats 🐦

Count the blobs in your binary image, with their stats

🐦‍🔥 ArchiGraph/📀 OpenCV
Draw Circles 🐦‍🔥

Mark the detected centers on your image

🐦‍🔥 ArchiGraph/📀 OpenCV
Draw Contours 🐦

Overlay your detected outlines on the original

🐦‍🔥 ArchiGraph/📀 OpenCV
Filename List 🐦‍🔥

Generate your batch filenames before you've saved anything

🐦‍🔥 ArchiGraph/🛠️ Utils
Filepath Generator Maker 🐦‍🔥

Feed a whole folder into a loop, one file at a time

🐦‍🔥 ArchiGraph/🛠️ Utils
Find Contours 🐦

Trace the outlines of everything in a binary image

🐦‍🔥 ArchiGraph/📀 OpenCV
Hough Lines 🐦‍🔥

The math version of line detection — rho and theta, not endpoints

🐦‍🔥 ArchiGraph/📀 OpenCV
Hough Lines Probabilistic 🐦‍🔥

Find the straight lines in your edge map, endpoints included

🐦‍🔥 ArchiGraph/📀 OpenCV
Image Resize To 🐦‍🔥

Size your images by the long edge, not the square

🐦‍🔥 ArchiGraph/📷 PhotoEdit
Image to BW 🐦‍🔥

A black & white slider rack, the way Photoshop means it

🐦‍🔥 ArchiGraph/📷 PhotoEdit
Iterate Generator 🐦‍🔥

Walk a whole folder through your pipeline, one pass at a time

🐦‍🔥 ArchiGraph/🛠️ Utils
Iterate Items 🐦‍🔥

The ComfyUI loop that re-runs the whole graph for you

🐦‍🔥 ArchiGraph/🛠️ Utils
JSON Load 🐦‍🔥

Pull your saved graph data back out of a .json

🐦‍🔥 ArchiGraph/🛠️ Utils
JSON Save 🐦‍🔥

Persist your graph's data between runs

🐦‍🔥 ArchiGraph/🛠️ Utils
Nparray Load 🐦‍🔥

Bring a saved numpy array back into the OpenCV world

🐦‍🔥 ArchiGraph/🛠️ Utils
Nparray Save 🐦‍🔥

Save your numpy arrays to disk — the cache node that makes expensive preprocessing optional

🐦‍🔥 ArchiGraph/🛠️ Utils
Preview Nparray Image 🐦‍🔥

See what's actually in that nparray — without committing it to disk

🐦‍🔥 ArchiGraph/🛠️ Utils
Printf 🐦‍🔥

The debug node that tells you what's actually flowing through that wire

🐦‍🔥 ArchiGraph/🛠️ Utils
Save Image To Path 🐦‍🔥

Save a PNG exactly where you want — no output-folder roulette

🐦‍🔥 ArchiGraph/🛠️ Utils
Save Nparray Image 🐦‍🔥

Turn your OpenCV result into a real PNG in the output folder

🐦‍🔥 ArchiGraph/🛠️ Utils
Slicing List 🐦‍🔥

Grab a chunk of any list — the slice node for the rest of your graph

🐦‍🔥 ArchiGraph/🛠️ Utils
Slicing Sublist 🐦‍🔥

One slice, applied to every sublist — for cutting each clip down to size

🐦‍🔥 ArchiGraph/🛠️ Utils
Sobel 🐦‍🔥

Edge detection the OpenCV way — the node that finds your lines

🐦‍🔥 ArchiGraph/📀 OpenCV
Threshold 🐦‍🔥

Turn a grayscale mess into a clean binary mask

🐦‍🔥 ArchiGraph/📀 OpenCV
To Image 🐦‍🔥

The bridge back — from OpenCV arrays to normal ComfyUI images

🐦‍🔥 ArchiGraph/📀 OpenCV
To Nparray 🐦‍🔥

The bridge in — feed ComfyUI images to the OpenCV half of the graph

🐦‍🔥 ArchiGraph/📀 OpenCV
Readme

ComfyUI-ArchiGraph

<div align="center"> <img src="./ArchiGraphLogo.png"> </div>

ComfyUI-ArchiGraph is an implementation of architectural related graph algorithm in ComfyUI.

🎈 Introduction

🚀 Installation

Clone the repo into the custom_nodes directory and install the requirements:

#1. Clone the repo
git clone https://github.com/vincentfs/ComfyUI-ArchiGraph
#2. Install the requirements
Double-click install.bat to install the required dependencies

📜 Credits

💗 SponsorShip