ComfyUI > Nodes > ComfyUI 1hewNodes > String Coordinate to BBoxes

ComfyUI Node: String Coordinate to BBoxes

Class Name

1hew_StringCoordinateToBBoxes

Category
1hewNodes/conversion
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

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

String Coordinate to BBoxes Description

Converts string coordinates into bounding boxes for image processing and computer vision tasks.

String Coordinate to BBoxes:

The 1hew_StringCoordinateToBBoxes node is designed to convert a string representation of coordinates into bounding boxes (BBoxes), which are essential for various image processing and computer vision tasks. This node is particularly useful when you have coordinate data in a textual format and need to transform it into a structured format that can be used for further processing, such as object detection or image segmentation. By parsing the input string, the node extracts numerical values and organizes them into groups of four, representing the top-left and bottom-right corners of each bounding box. This transformation allows you to seamlessly integrate textual coordinate data into workflows that require precise spatial information.

String Coordinate to BBoxes Input Parameters:

coordinates_string

The coordinates_string parameter is a multiline string input that contains the coordinate data you wish to convert into bounding boxes. This string can include various delimiters such as brackets, parentheses, and commas, which the node will clean and parse to extract numerical values. The function of this parameter is to provide the raw data that the node will process. The impact of this parameter on the node's execution is significant, as it directly determines the bounding boxes generated. There are no explicit minimum or maximum values for this parameter, but it should contain valid numerical data to produce meaningful results. The default value is an empty string, which will result in no bounding boxes being generated.

String Coordinate to BBoxes Output Parameters:

bboxes

The bboxes output parameter is a custom output that provides the resulting bounding boxes in a structured format. Each bounding box is represented as a list of four integers, corresponding to the x and y coordinates of the top-left and bottom-right corners. This output is crucial for applications that require precise spatial information, such as object detection or image segmentation. The interpretation of the output values is straightforward: each sublist within the output represents a single bounding box, and the collection of these sublists can be used to identify and process specific regions within an image.

String Coordinate to BBoxes Usage Tips:

  • Ensure that the coordinates_string is formatted correctly, with numerical values separated by spaces, commas, or other delimiters. This will help the node parse the data accurately.
  • Use this node when you have coordinate data in a textual format and need to convert it into a structured format for further processing in image analysis tasks.

String Coordinate to BBoxes Common Errors and Solutions:

Empty Input String

  • Explanation: If the coordinates_string is empty or contains only whitespace, the node will not generate any bounding boxes.
  • Solution: Provide a valid coordinates_string with numerical coordinate data to ensure the node can produce bounding boxes.

Invalid Coordinate Format

  • Explanation: If the coordinates_string contains non-numeric values or is not formatted correctly, the node may fail to parse the data.
  • Solution: Check the input string for any non-numeric characters or incorrect delimiters and correct them to ensure proper parsing.

String Coordinate to BBoxes Related Nodes

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

String Coordinate to BBoxes