/ReplaceNet

2951I Final Project

Primary LanguagePython

ReplaceNet

Salient Object Replacement in 2D Images
with direct supervision from image synthesis

Datasets

Training

Using Synthesizer

from synthesize import Synthesizer
from load_data import load_parsed_sod
from matplotlib import pyplot as plt
s = Synthesizer()
images, mask = load_parsed_sod()
si = s.synthesize(image=images[223], mask=mask[223], reference_mask=mask[53])
plt.imshow(si)
plt.show()