Error in backgroundSubtractorMOG_

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

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

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_(this.id, 'delete');

Kindly guide me ASAP

edit retag flag offensive close merge delete

Comments

1

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 -0600 )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 -0600 )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 -0600 )edit