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 (a year ago)
- v20240125-164422
- v20240125-125005
- v20240125-124739
- v20240125-123938
- v20231213-142136
Node Details
Primitive Nodes (6)
Note
Reroute
Custom Nodes (27)
ComfyUI
- ControlNetApplyAdvanced
- VAEDecode
- PreviewImage
- SaveImage
- JoinImageWithAlpha
- CLIPTextEncode
- InvertMask
- CheckpointLoaderSimple
- ControlNetLoader
- LoadImage
- VAEEncode
- KSampler
- SetLatentNoiseMask
- VAELoader
- ImpactDilateMask
- LamaRemover
- InpaintPreprocessor
- WD14Tagger|pysssss
- ImageResize
- SAMModelLoader (segment anything)
- GroundingDinoModelLoader (segment anything)
- GroundingDinoSAMSegment (segment anything)
Model Details
Checkpoints (1)
📷-v1.x\epicphotogasm_z.safetensors
LoRAs (0)