ComfyUI > Nodes > ComfyUI-Grounding > Bounding Box Visualizer

ComfyUI Node: Bounding Box Visualizer

Class Name

BboxVisualizer

Category
grounding
Author
PozzettiAndrea (Account age: 2240days)
Extension
ComfyUI-Grounding
Latest Updated
2025-12-22
Github Stars
0.03K

How to Install ComfyUI-Grounding

Install this extension via the ComfyUI Manager by searching for ComfyUI-Grounding
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Grounding 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

Bounding Box Visualizer Description

BboxVisualizer overlays bounding boxes on images to highlight and interpret object detection results.

Bounding Box Visualizer:

The BboxVisualizer node is designed to enhance your images by overlaying bounding boxes, which are essential for visualizing object detection results. This node is particularly beneficial for AI artists and developers who work with image data and need to highlight specific areas of interest within an image. By drawing bounding boxes around detected objects, the BboxVisualizer helps in better understanding and interpreting the results of object detection models. It supports batch processing, making it efficient for handling multiple images at once. The node's primary function is to take an image and a set of bounding boxes as input and return an image with these boxes drawn on it, providing a clear visual representation of detected objects.

Bounding Box Visualizer Input Parameters:

image

The image parameter is the primary input for the BboxVisualizer node, representing the image on which bounding boxes will be drawn. This parameter is crucial as it serves as the canvas for visualization. The image should be in a format compatible with the node, typically a tensor or an array that can be processed by the visualization function.

bboxes

The bboxes parameter contains the bounding box data that specifies the regions of interest within the image. This data can be in the form of a dictionary or a list, detailing the coordinates of each bounding box. The bounding boxes are essential for indicating where the objects are located in the image, and they can also include optional labels and scores for additional context.

line_width

The line_width parameter determines the thickness of the lines used to draw the bounding boxes. It is an integer value with a default of 3, a minimum of 1, and a maximum of 20. Adjusting the line width can impact the visibility and emphasis of the bounding boxes on the image, allowing for customization based on the user's preference or the image's resolution.

Bounding Box Visualizer Output Parameters:

annotated_image

The annotated_image is the output of the BboxVisualizer node, which is the original image with the bounding boxes drawn on it. This output provides a visual representation of the detected objects, making it easier to analyze and interpret the results. The annotated image is typically returned in the same format as the input image, ensuring compatibility with subsequent processing steps or visualization tools.

Bounding Box Visualizer Usage Tips:

  • Ensure that the bboxes parameter is correctly formatted, as the node supports both dictionary and list formats. This will help in accurately visualizing the bounding boxes on the image.
  • Adjust the line_width parameter to suit the resolution of your image. For high-resolution images, a thicker line width may be necessary to ensure the bounding boxes are clearly visible.

Bounding Box Visualizer Common Errors and Solutions:

Cannot visualize bboxes: visualizer module failed to import. Check console for import errors.

  • Explanation: This error occurs when the visualizer module required for drawing bounding boxes is not successfully imported, possibly due to missing dependencies or incorrect installation.
  • Solution: Verify that all necessary dependencies for the visualizer module are installed and correctly configured. Check the console for specific import error messages and resolve any issues related to missing packages or incorrect paths.

Bounding Box Visualizer Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Grounding
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.