You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As lack of documentation, I can't find the right way to use BackgroundSubtractMOG2{} function. Currently I use like the following,
local cv = require 'cv' require 'cv.cudabgsegm' require 'cv.videoio' local mog2 = cv.cuda.BackgroundSubstractorMOG2{} local cap = cv.VideoCapture{filename='1.mp4'} local _, frameCV = cap:read{} local mask mog2:apply{image=frameCV, fgmask=mask}
the error information is: missing declaration for symbol 'BackgroundSubtractor_applyCuda'
Does anyone know how to use the BackgroundSubtractMOG2{} function? Thanks so much.
by the way, the video is loaded successfully, frameCV got the right value.
The text was updated successfully, but these errors were encountered:
As lack of documentation, I can't find the right way to use BackgroundSubtractMOG2{} function. Currently I use like the following,
local cv = require 'cv' require 'cv.cudabgsegm' require 'cv.videoio' local mog2 = cv.cuda.BackgroundSubstractorMOG2{} local cap = cv.VideoCapture{filename='1.mp4'} local _, frameCV = cap:read{} local mask mog2:apply{image=frameCV, fgmask=mask}
the error information is: missing declaration for symbol 'BackgroundSubtractor_applyCuda'
Does anyone know how to use the BackgroundSubtractMOG2{} function? Thanks so much.
by the way, the video is loaded successfully, frameCV got the right value.
The text was updated successfully, but these errors were encountered: