Hi,
I have been running my openCV setup on windows until now, but now I need to change to Ubuntu. Because of this, I was unable to create a .jar file for openCV version 3.x so I ended up with version 2.4.13.
This means that some of the lines of code that I had (perfectly working in Windows with openCV 3.1) no longer work.
I had the following line:
BackgroundSubtractorMOG2 mog2 = Video.createBackgroundSubtractorMOG2();
Now, I am trying to change this to work with openCV version 2.4.13, but I'm simply not able to.
I have tried the following line
mog2 = org.opencv.video.BackgroundSubtractorMOG();
but this gives me the following: org.opencv.video cannot be resolved to a type.
What can I do to make this run on my current setup?