Exemplo n.º 1
0
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())
Exemplo n.º 2
0
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)
Exemplo n.º 3
0
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))
Exemplo n.º 4
0
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())