Visit ComfyUI Online for ready-to-use ComfyUI environment
Automate image comparison to verify identical images, reducing human error and saving time.
The ImageEqual
node is designed to compare two images to determine if they are identical. This node is particularly useful for tasks where you need to verify if two images are exactly the same, such as in image deduplication, version control, or ensuring consistency across different stages of image processing. By leveraging this node, you can automate the process of image comparison, saving time and reducing the potential for human error. The node works by comparing the pixel values of the two images, ensuring that they match in both shape and content.
This parameter represents the first image to be compared. It is essential that this image is in a compatible format and has the same dimensions as the second image for an accurate comparison. The image should be provided in a format that the node can process, typically as a tensor or an array of pixel values.
This parameter represents the second image to be compared against the first image. Similar to the first image, it must be in a compatible format and have the same dimensions as the first image. The comparison will only be valid if both images are of the same size and shape.
This output is a boolean value that indicates whether the two images are identical. If the images are the same in both shape and pixel values, the output will be True
; otherwise, it will be False
. This output can be used to trigger further actions or decisions in your workflow based on whether the images match.
a
and b
) are preprocessed to have the same dimensions and format before using the ImageEqual
node to avoid mismatches due to size differences.ImageEqual
node.© Copyright 2024 RunComfy. All Rights Reserved.