I'm trying to work through this but have found out via the python shell command help(cv2)
that I havent got the BackgroundSubtractorMOG
and BackgroundSubtractorMOG2
attributes available in my build.
It took me ages to get opencv compiled and working, so i'm very nervous of re-compiling it and adding the extra attributes.
1) is there a safe way to install these extra attributes without upsetting my setup? 2) how can I do this, easy steps please, as I'm a beginner!