Remove Object and fill with background
3.7
3 reviewsDescription
This workflow allows you to load an image and remove something from it. It could be a tree, it could be a person, it could be just about anything. The app will then fill the empty area with appropriate content to merge with the background.
- Using SAM or Rembg, you can cut out objects, but what is underneath them? Yes, an abyss is spreading😏
- When you actually draw a picture, you have a background, then a person on top of it, then clothes on top of that…
- This is not a puzzle, but an experimental workflow to create practical layer separation.
How to use this workflow
- Load the image with the `Load Image node`.
- Write the name of the object you want to cut out in the `GroundingDinoSAMSegment (segment anything) node`.
- This workflow cuts out 2 objects, but you can also increase the number of objects.
- Press the `Queue Prompt` button.
Method
- Cut out objects with HQ-SAM.
- Roughly fill in the cut-out parts with LaMa.
- Use ControlNet inpaint and Tile to increase the detail of the inpainted part.
ChangeLog
- Adding the ImageResize node
- Adding the SetLatentNoiseMask node
- Modifying the custom node for using LaMa
News
日本語の解説
Discussion
(No comments yet)
Loading...
Reviews
No reviews yet
Versions (6)
- latest (2 years ago)
- v20240125-164422
- v20240125-125005
- v20240125-124739
- v20240125-123938
- v20231213-142136
Node Details
Primitive Nodes (6)
Note (2)
Reroute (4)
Custom Nodes (27)
ComfyUI
- ControlNetApplyAdvanced (2)
- VAEDecode (1)
- PreviewImage (2)
- SaveImage (2)
- JoinImageWithAlpha (1)
- CLIPTextEncode (2)
- InvertMask (1)
- CheckpointLoaderSimple (1)
- ControlNetLoader (2)
- LoadImage (1)
- VAEEncode (1)
- KSampler (1)
- SetLatentNoiseMask (1)
- VAELoader (1)
- ImpactDilateMask (1)
- LamaRemover (1)
- InpaintPreprocessor (1)
- WD14Tagger|pysssss (1)
- ImageResize (1)
- SAMModelLoader (segment anything) (1)
- GroundingDinoModelLoader (segment anything) (1)
- GroundingDinoSAMSegment (segment anything) (1)
Model Details
Checkpoints (1)
📷-v1.x\epicphotogasm_z.safetensors
LoRAs (0)