Visit ComfyUI Online for ready-to-use ComfyUI environment
Generate sequential test images with numbered text for debugging image processing pipelines, aiding in tracking and verifying image order and integrity.
The ImageBatchTestPattern
node is designed to generate a batch of test images, each containing a sequential number displayed as text. This node is particularly useful for testing and debugging image processing pipelines, as it allows you to create a series of images with easily identifiable content. The generated images are black with the numbers rendered in randomly colored text, making it simple to track and verify the order and integrity of images through various stages of processing. This node is beneficial for AI artists and developers who need to ensure that their image handling and batch processing workflows are functioning correctly.
This parameter specifies the number of images to generate in the batch. It determines the total count of sequentially numbered images that will be created. The minimum value is 1, and there is no explicit maximum value, but it should be set according to the memory and performance capabilities of your system.
This parameter defines the font to be used for rendering the numbers on the images. It should be the name of a font file available in the specified font directory. The choice of font can affect the readability and aesthetic of the generated test images.
This parameter sets the size of the font used for the numbers. It impacts how large the numbers appear on the images. The font size should be chosen based on the dimensions of the images to ensure the numbers are clearly visible.
This parameter indicates the starting number for the sequence. The numbers on the images will begin from this value and increment by one for each subsequent image. This allows you to control the numbering sequence and start from any desired point.
This parameter specifies the width of each generated image in pixels. It determines the horizontal dimension of the images and should be set according to the requirements of your testing or debugging scenario.
This parameter specifies the height of each generated image in pixels. It determines the vertical dimension of the images and should be set according to the requirements of your testing or debugging scenario.
This parameter sets the x-coordinate for the position of the text on the images. It determines the horizontal placement of the numbers within the image, allowing you to control where the text appears.
This parameter sets the y-coordinate for the position of the text on the images. It determines the vertical placement of the numbers within the image, allowing you to control where the text appears.
This output parameter is a tensor containing the batch of generated images. Each image in the tensor is represented as a normalized array of pixel values, making it suitable for further processing in image analysis or machine learning workflows. The tensor format ensures compatibility with various image processing libraries and frameworks.
text_x
and text_y
parameters to position the numbers in a way that avoids overlapping with other elements in your images.start_from
parameter to the desired starting value.start_index
parameter is set to a value that is outside the valid range of indices for the input batch of images.start_index
is within the range of 0 to the length of the input batch minus the num_frames
value.start_index
and num_frames
parameters to ensure that the end index does not exceed the length of the input batch.© Copyright 2024 RunComfy. All Rights Reserved.