HypoX64 / DeepMosaics

Automatically remove the mosaics in images and videos, or add mosaics to them.
GNU General Public License v3.0
2.08k stars 433 forks source link

Multiple regions of mosaics #76

Open rqi14 opened 3 years ago

rqi14 commented 3 years ago

Hi. It seems the code only cleans the largest region of mosaics if there is more than one. Is it possible to clean all of them?

HypoX64 commented 2 years ago

This is the default setting and currently does not support multi-region.

JohnJimmy commented 2 years ago

What I've done for multi-region images is just run DeepMosaics against the same image once for each mosaic region. First time will remove the first region of mosaic, and then run DeepMosaics against the result of the first run and it will remove the second region. rinse and repeat for each region until they are all gone.

MoonSkyViewer commented 1 year ago

Use this setting --all_mosaic_area

Sprite980 commented 7 months ago

For cleaning, i feed the picture stream directly to the netG network. No previous mosaic detection. It takes long for high resolution but you also save time because there is no mosaic detection and cut-out, insertion necessary. Amazingly, the result is very good and no problems with muliti mosaic areas. -> HypoX64, thanks a lot for your great work.