ComfyUI > Nodes > comfy_Pond_Nodes > 🐳YOLO图像拼接

ComfyUI Node: 🐳YOLO图像拼接

Class Name

YoloImagePasteNode

Category
🐳Pond/yolo
Author
Pondowner857 (Account age: 730days)
Extension
comfy_Pond_Nodes
Latest Updated
2026-01-28
Github Stars
0.04K

How to Install comfy_Pond_Nodes

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

🐳YOLO图像拼接 Description

YoloImagePasteNode enables precise image overlay on a base image using YOLO-generated bounding boxes.

🐳YOLO图像拼接:

The YoloImagePasteNode is designed to facilitate the seamless integration of images by pasting them onto a base image using bounding boxes, which are typically generated by object detection models like YOLO (You Only Look Once). This node is particularly useful for AI artists who want to create composite images by overlaying detected objects onto different backgrounds or scenes. The node allows for precise control over the placement and blending of the pasted images, ensuring that the final composition appears natural and cohesive. By leveraging the bounding box coordinates, the node can accurately position each image, while additional parameters such as feathering and blending enable smooth transitions between the pasted images and the base image. This functionality is essential for creating visually appealing and professional-looking composites in digital art and design projects.

🐳YOLO图像拼接 Input Parameters:

original_image

The original_image parameter represents the base image onto which other images will be pasted. It serves as the canvas for the composite image creation process. This parameter is crucial as it determines the background and context for the pasted images.

paste_images

The paste_images parameter is a list of images that are to be pasted onto the original_image. Each image in this list corresponds to a bounding box, and the node will handle the placement and blending of these images based on the provided coordinates.

bboxes

The bboxes parameter contains the bounding box coordinates for each image in the paste_images list. These coordinates dictate where each image will be placed on the original_image. Accurate bounding boxes are essential for ensuring that the pasted images align correctly with the intended areas.

paste_mode

The paste_mode parameter determines the method of pasting images. It can be a single mode or a list of modes, with the first mode being used if a list is provided. This parameter influences how the images are integrated into the base image, affecting the overall composition.

target_index

The target_index parameter specifies the index of the image to be pasted when using a specific paste mode. It is particularly useful when you want to paste a single image from the list, allowing for targeted and precise image placement.

feather_amount

The feather_amount parameter controls the amount of feathering applied to the edges of the pasted images. Feathering helps to blend the edges smoothly with the base image, reducing harsh lines and creating a more natural transition. The value can be adjusted to achieve the desired level of blending.

blend_alpha

The blend_alpha parameter sets the transparency level for blending the pasted images with the base image. A higher alpha value results in more opaque pasted images, while a lower value increases transparency. This parameter is key for achieving the right balance between visibility and integration.

color_match

The color_match parameter is a boolean that determines whether color matching should be applied to the pasted images. When enabled, the colors of the pasted images are adjusted to better match the base image, enhancing the overall harmony of the composite.

edge_blend

The edge_blend parameter is a boolean that specifies whether edge blending should be applied. This feature helps to smooth out the transitions at the edges of the pasted images, further enhancing the natural appearance of the composite.

🐳YOLO图像拼接 Output Parameters:

result_tensor

The result_tensor is the final composite image represented as a tensor. It contains the base image with all the pasted images integrated according to the specified parameters. This output is crucial for further processing or saving the composite image.

mask_tensor

The mask_tensor is a tensor that represents the mask of the pasted areas. It indicates which parts of the result_tensor have been modified by the pasted images. This output is useful for understanding the extent of modifications and for potential use in further image processing tasks.

🐳YOLO图像拼接 Usage Tips:

  • Ensure that the bounding boxes provided in the bboxes parameter accurately correspond to the objects you wish to paste, as this will significantly affect the alignment and appearance of the final composite image.
  • Experiment with the feather_amount and blend_alpha parameters to achieve the desired level of blending and transparency, which can greatly enhance the realism of the composite image.
  • Utilize the color_match and edge_blend options to improve the integration of pasted images, especially when working with images that have different lighting or color profiles.

🐳YOLO图像拼接 Common Errors and Solutions:

Incorrect bounding box coordinates

  • Explanation: If the bounding box coordinates are incorrect, the pasted images may not align properly with the intended areas on the base image.
  • Solution: Double-check the bounding box coordinates to ensure they accurately represent the desired placement areas for the pasted images.

Mismatched list lengths for paste_images and bboxes

  • Explanation: If the number of images in paste_images does not match the number of bounding boxes in bboxes, the node may not function correctly.
  • Solution: Ensure that each image in the paste_images list has a corresponding bounding box in the bboxes list.

Invalid paste_mode or target_index

  • Explanation: Using an invalid paste_mode or target_index can lead to unexpected behavior or errors during the image pasting process.
  • Solution: Verify that the paste_mode and target_index are set to valid values that correspond to the intended pasting method and image index.

🐳YOLO图像拼接 Related Nodes

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

🐳YOLO图像拼接