Get Image Count 🎥🅥🅗🅢¶
Documentation¶
- Class name:
VHS_GetImageCount
- Category:
Video Helper Suite 🎥🅥🅗🅢/image
- Output node:
False
The VHS_GetImageCount
node is designed to count the number of images in a given batch. It serves as a utility within the Video Helper Suite to facilitate operations that require knowledge of batch size, such as splitting or merging batches.
Input types¶
Required¶
images
- The
images
parameter represents the batch of images whose count is to be determined. It is crucial for calculating the total number of images present, which impacts subsequent operations that depend on batch size. - Comfy dtype:
IMAGE
- Python dtype:
torch.Tensor
- The
Output types¶
count
- Comfy dtype:
INT
- The
count
output represents the total number of images in the input batch. This information is essential for managing image batches and planning further processing steps. - Python dtype:
int
- Comfy dtype:
Usage tips¶
- Infra type:
CPU
- Common nodes: unknown