Ready to use upon download. No need to install dependencies for the time being. If there are new functions or suggestions, please provide feedback. Attention! The delfile node is not recommended for use on servers. I am not responsible for any losses incurred.
ComfyUI-WJNodes explain
Node list:
load image from path
: Load image from pathsave image to path
: Save image by overwriting the pathsave image out
: Save image to output and output the pathselect images batch
: Batch selection and recombination of batches,updated mask support in 20250115select images batch
: 20250115 Batch Selection and Recombination of More Functionsload image adv
: Load image with mask inversion and path outputload_color_config
: Load color configuration for color block to mask, currently supports loading ADE20K pre-processing color datacolor_segmentation
: Color block to mask, currently supports pre-processing ADE20K and SAM2 datacolor_segmentation_v2
: Color block to mask v2, uses keys in color configuration to select masks, only supports ADE20K datamask_select_mask
: Mask selection within a mask batch (intersection represents selection)coords_select_mask
: Coordinate selection of masks, used to assist SAM2 video keying (under development)mask_line_mapping
: Mask line mapping, can automatically calculate maximum and minimum values when input is -1 or 256,
can map to specified valuesmask_and_mask_math
: Mask to mask operations, supports addition/subtraction/intersection/multiplication operations, Accurate_mask_clipping
: Precise search for mask bbox boundaries (under development)adv crop
: Advanced cropping: can quickly crop/expand/move/flip images, can output background masks and custom filling mask detection
: Mask detection: detect whether there is a mask, detect whether it is all hard edges, InvertChannelAdv
: Invert/separate image channels Image ⭐Bilateral Filter
: Image/Mask Bilateral Filtering: Can repair layered distortion caused by color or brightness scaling in imagesany_math
: Any data calculation, supports pure data input such as images/values/arrays, and outputs images or any data typeany_math_v2
: Support arbitrary data calculation with more inputs and 3 sets of outputsImage_ValueMath
: Image and image calculation, optional cv2 or torch mode
-Video Editor: WJNode/VideoVideo_fade
: Two video segments can choose two ways to fade in and out, any_data
: Group any data, known bug: nested grouping will splitshow_type
: Display data type array_count
: 20250109 Change the original array_element_comunt node to array_count get image data
: 20250109 Obtain basic data from images/masks (batch/width/height/maximum value)load_similarity_model
: Load pre-trained image similarity models (ResNet, DenseNet, etc.) for feature extractionimage_similarity
: Calculate similarity between images using loaded models and various distance metricsGraphics_Detection_Reference
: Test GPU computing capabilities including hardware info, precision tests, memory bandwidth, WAS_Mask_Fill_Region_batch
: Optimize WAS plugin's WAS_Mask_Fill_Region (mask cleanup) to support batchesSegmDetectorCombined_batch
: Optimize impack-pack plugin's SegmDetectorCombined (segm detection mask) to support batchesbbox_restore_mask
: Add impack-pack plugin's seg decomposition, restore cropped images through cropping data (SEG editing)Sam2AutoSegmentation_data
: Add Sam2AutoSegmentation (kijia) node's color list/coordinate output, used to assist SAM2 video keyingApplyEasyOCR batch
: Modify OCR recognition nodes to load models separately for faster operation and model cachingload EasyOCR model
: load OCR models.comfyui path
: Output comfyui common paths (root, output/input, plugins, models, cache, Python environment)path append
: Add prefix/suffix to strings (reference KJNode)del file
: Detect whether file or path exists, whether to delete file, operation requires input signal, deletion requires write permissionsplit path
: Path slicing, input path, output: disk symbol/path/file/extension + detect whether it is a fileThese models are in the same path as the original plugin and do not need to be downloaded repeatedly
models
├──torchvision
│ └──resnet
│ ├──resnet50-11ad3fa6.pth
│ └──...
├──EasyOCR
│ ├──craft_mlt_25k.pth
│ ├──latin_g2.pth
│ └──zh_sim_g2.pth
└──sam2
├──sam2_hiera_small.safetensors
└──...