sujaykhandekar / Automated-objects-removal-inpainter

Automated object remover Inpainter is a project that combines Semantic segmentation and EdgeConnect architectures with minor changes in order to remove specified object/s from list of 20 objects from all the input photos
Other
199 stars 40 forks source link

Provide my own mask for removal #27

Closed styfeng closed 1 year ago

styfeng commented 1 year ago

Rather than specifying the exact object classes and the number of each that I want to remove, is it possible for me to upload a mask image (black and white) myself? Basically, no need to detect/find the locations of objects, since I'll know that through my own mask file. I just want to be able to effectively remove the masked objects from the image. It seems stable diffusion inpainting does not work very well for object removal, so I'm hoping this may work better.

styfeng commented 1 year ago

Nevermind, I think I can just use EdgeConnect by itself for this.