comfyui_quality_inspector
A custom ComfyUI node designed to inject programmatic quality-assurance guardrails into generative AI pipelines.
# ☢️ ComfyUI Quality Assurance Inspector
A custom ComfyUI node designed to inject programmatic quality-assurance guardrails into generative AI pipelines. It analyzes incoming 4D PyTorch image tensors to validate spatial dimensions before allowing downstream workflows (like FLUX upscaling or SUPIR restoration) to execute.
Inspired by strict, zero-tolerance risk management methodologies from the nuclear operations industry, this node prevents resource wastage and downstream model degradation caused by low-resolution inputs.
## Features
- **Tensor Inspection:** Directly intercepts and parses 4D batch tensors \[B, H, W, C].
- **Dynamic Routing:** Forwards the tensor if it passes quality thresholds; short-circuits the pipeline with a fallback tensor if validation fails.
- **Detailed Logging:** Outputs real-time inspection metrics compatible with string-display nodes (e.g., Pythongosssss's Show Text) and system consoles.
## Installation
Navigate to your ComfyUI custom nodes directory and clone this repository:
cd ComfyUI/custom\_nodes
git clone https://github.com
## Usage
1. Right-click the ComfyUI workspace grid.
2. Locate the node under **InspectionTools -> ☢️ Quality Assurance Inspector**.
3. Route your image tensor into the input slot and link the INSPECTION\_LOG to a text display node.