image

DeepMosaics

You can use it to automatically remove the mosaics in images and videos, or add mosaics to them.
This porject based on "semantic segmentation" and "Image-to-Image Translation".

More example

origin auto add mosaic auto clean mosaic
image image image
image image image
mosaic image DeepCreamPy ours
image image image
image image image
origin to Van Gogh to winter
image image image

An interesting example:Ricardo Milos to cat

Run DeepMosaics

You can either run DeepMosaics via pre-built binary package or from source.

Pre-built binary package

For windows, we bulid a GUI version for easy test.
Download this version and pre-trained model via [Google Drive] [百度云,提取码1x0a]

image
Attentions:

Run from source

Prerequisites

Simple example

Training with your own dataset

If you want to train with your own dataset, please refer to training_with_your_own_dataset.md

Acknowledgments

This code borrows heavily from [pytorch-CycleGAN-and-pix2pix] [Pytorch-UNet] [pix2pixHD] [BiSeNet].