import numpy as np
import cv2 as cv
from bg_substractor_utils import do_substraction
import video_sources

do_substraction(video_sources.video_2,
                cv.bgsegm.createBackgroundSubtractorLSBP())
import numpy as np
import cv2 as cv
from bg_substractor_utils import do_substraction
import video_sources

do_substraction(video_sources.video_6,
                cv.bgsegm.createBackgroundSubtractorCNT(isParallel=False),
                delay=15)
import numpy as np
import cv2 as cv
from bg_substractor_utils import do_substraction
import video_sources

do_substraction(video_sources.video_6,
                cv.createBackgroundSubtractorMOG2(detectShadows=True))
import numpy as np
import cv2 as cv
from bg_substractor_utils import do_substraction
import video_sources

do_substraction(video_sources.video_6, cv.bgsegm.createBackgroundSubtractorMOG())