Replace Video BG is a project similar to ExtractFG but it replaces live video/camera feed background with custom video. This algorithm uses Semantic Segmentation of images with PixelLib using Pascalvoc model. As in this usecase we do not need any instances of the detected images hence we do not prefer instance segmentation, semantic segmentation is sufficient for this task. It segments the foreground and then adds it to the video background thus, replacing the video background in real-time.