Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates object detection and segmentation in images using Ultralytics models for AI artists.
The easy ultralyticsDetectorPipe
node is designed to facilitate the detection of objects and segmentation within images using pre-trained models from the Ultralytics library. This node is particularly useful for AI artists who need to identify and isolate specific elements within their artwork for further processing or enhancement. By leveraging advanced detection algorithms, this node can accurately identify bounding boxes and segmentation masks, making it easier to manipulate and refine specific areas of an image. The primary goal of this node is to streamline the object detection process, providing a seamless and efficient way to enhance your creative projects.
This parameter allows you to select the pre-trained model you wish to use for object detection and segmentation. The available options are derived from the Ultralytics library and are categorized into bounding box models (bbox/
) and segmentation models (segm/
). The choice of model will significantly impact the accuracy and type of detection performed.
This parameter sets the confidence threshold for bounding box detection. It determines the minimum confidence level required for a bounding box to be considered valid. The value ranges from 0.0 to 1.0, with a default of 0.5. Lowering this value may result in more detections, including less confident ones, while increasing it will yield fewer, but more confident detections.
This parameter controls the dilation applied to the detected bounding boxes. It is an integer value ranging from -512 to 512, with a default of 10. Positive values will expand the bounding boxes, while negative values will contract them. Adjusting this parameter can help in fine-tuning the area of interest around detected objects.
This parameter defines the cropping factor applied to the bounding boxes. It is a floating-point value ranging from 1.0 to 10.0, with a default of 3.0. This factor determines how much of the surrounding area is included when cropping the detected objects. A higher value will include more of the surrounding context, while a lower value will focus more closely on the detected object.
This output parameter provides the pipeline containing the detected bounding boxes and segmentation masks. The pipeline can be used for further processing or analysis within your workflow. It encapsulates all the necessary information and results from the detection process, making it easy to integrate with other nodes or tools.
model_name
options to find the one that best suits your specific detection needs. Each model has its strengths and may perform differently depending on the type of objects in your images.bbox_threshold
parameter to balance between the number of detections and their confidence levels. For more critical applications, a higher threshold may be preferable.bbox_dilation
parameter to fine-tune the size of the detected bounding boxes. This can be particularly useful when you need to include or exclude certain areas around the detected objects.bbox_crop_factor
can help you control the amount of context included around the detected objects. This is useful for tasks that require more or less surrounding information.model_name
does not exist in the available models list.model_name
parameter is correctly set to one of the available options from the Ultralytics library.bbox_threshold
value is outside the allowed range of 0.0 to 1.0.bbox_threshold
parameter to a value within the specified range.bbox_dilation
value is outside the allowed range of -512 to 512. - Solution: Set the bbox_dilation
parameter to a value within the allowed range.bbox_crop_factor
value is outside the allowed range of 1.0 to 10.0.bbox_crop_factor
parameter to a value within the specified range.© Copyright 2024 RunComfy. All Rights Reserved.