Error in backgroundSubtractorMOG_

asked 2019-12-18 02:03:35 -0500

updated 2019-12-18 06:48:19 -0500

berak gravatar image

I have run the file and it shows me this warning

Warning:The following error was caught while executing 'cv.BackgroundSubtractorMOG' class destructor: Undefined function 'BackgroundSubtractorMOG_' for input arguments of type 'double'.

And this error was displayed;

Error in cv.BackgroundSubtractorMOG/delete (line 59) BackgroundSubtractorMOG_(, 'delete');

Kindly guide me ASAP

edit retag flag offensive close merge delete



which language are you talking about ? opencv version ? what did you install, and how ?

please add the resp. piece of code to your question

berak gravatar imageberak ( 2019-12-18 02:13:30 -0500 )edit

i am using this file on matlab and opencv version is 4.1.2. I have taken this code from github just to run it but in the check.m file of this link link text in the line number of 16 of check.m. I am having an error.

tsameema gravatar imagetsameema ( 2019-12-18 06:33:42 -0500 )edit

umm, imho, the matlab bindings are utterly neglected / unmaintained ;(

the repo you try to use was built with opencv2.4.9 bindindings, which are entirely dead.

my advice: give up on this, and move on to something better maintained.

berak gravatar imageberak ( 2019-12-18 06:48:09 -0500 )edit