Instance Segmentation & Generative Inpainting
Locate inpaint directory under the model_logs directory
Contain Flask's endpoint handler. Integrating and Image save process are located.
Contain instant segmentation logic with torchvision. This module generate four image.
- Persons erased image
- Whole persons mask
- Half of persons mask
- Another half of persons mask
Contain inpainting logic with tensorflow. From the segmentation module's '1. Persons erased image' and '2. whole persons mask', process inpainting logic and return output image.