ComfyUI > Nodes > ComfyUI-UniversalToolkit > Bbox Visualize (UTK)

ComfyUI Node: Bbox Visualize (UTK)

Class Name

BboxVisualize_UTK

Category
UniversalToolkit/Image
Author
whmc76 (Account age: 1110days)
Extension
ComfyUI-UniversalToolkit
Latest Updated
2026-03-16
Github Stars
0.07K

How to Install ComfyUI-UniversalToolkit

Install this extension via the ComfyUI Manager by searching for ComfyUI-UniversalToolkit
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-UniversalToolkit in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Bbox Visualize (UTK) Description

BboxVisualize_UTK overlays bounding boxes on images for visualizing and debugging image analysis.

Bbox Visualize (UTK):

The BboxVisualize_UTK node is a powerful tool within the ComfyUI Universal Toolkit designed to enhance image analysis by overlaying bounding boxes on images. This functionality is particularly useful for visualizing areas of interest, such as objects detected in an image, regions to be cropped, or specific areas that need highlighting. By drawing rectangular frames around these regions, the node aids in debugging object detection models, refining cropping operations, and providing a clear visual representation of targeted areas within an image. The node is adapted from kjnodes and is implemented to be user-friendly, allowing artists and developers to easily integrate it into their workflows without requiring deep technical knowledge. Its primary goal is to provide a clear and intuitive way to visualize bounding boxes, making it an essential tool for anyone working with image processing and analysis.

Bbox Visualize (UTK) Input Parameters:

images

This parameter accepts a list of images on which the bounding boxes will be drawn. The images should be in a format compatible with the node, typically as tensors, allowing the node to process and visualize the bounding boxes effectively.

bboxes

The bboxes parameter is a list of bounding box coordinates that define the areas to be highlighted on the images. Each bounding box can be specified in one of two formats: xywh (x, y, width, height) or xyxy (x1, y1, x2, y2). This flexibility allows users to choose the format that best suits their data, ensuring accurate visualization of the specified regions.

line_width

This integer parameter determines the thickness of the lines used to draw the bounding boxes. It has a default value of 1, with a minimum of 1 and a maximum of 10. Adjusting the line width can help in making the bounding boxes more visible or subtle, depending on the user's needs and the context of the image.

bbox_format

The bbox_format parameter specifies the format of the bounding box coordinates, with options being xywh or xyxy. The default format is xywh. This parameter ensures that the node correctly interprets the bounding box data, allowing for accurate drawing of the boxes on the images.

Bbox Visualize (UTK) Output Parameters:

images

The output is a list of images with the specified bounding boxes drawn on them. This output provides a visual representation of the areas of interest, making it easier to analyze and interpret the image data. The images are returned in the same format as the input, with the addition of the bounding boxes.

Bbox Visualize (UTK) Usage Tips:

  • Ensure that the bounding box coordinates match the format specified in the bbox_format parameter to avoid errors and ensure accurate visualization.
  • Adjust the line_width parameter to improve the visibility of the bounding boxes, especially when working with high-resolution images or images with complex backgrounds.

Bbox Visualize (UTK) Common Errors and Solutions:

Unknown bbox_format: <format>

  • Explanation: This error occurs when an unsupported bounding box format is specified in the bbox_format parameter.
  • Solution: Ensure that the bbox_format parameter is set to either xywh or xyxy, as these are the only supported formats.

TypeError: 'NoneType' object is not iterable

  • Explanation: This error may occur if the images or bboxes input is not provided or is set to None.
  • Solution: Verify that both images and bboxes inputs are correctly provided and are not None. Ensure that they contain valid data before executing the node.

Bbox Visualize (UTK) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-UniversalToolkit
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Bbox Visualize (UTK)