i try to test the DPZivkovicAGMMBGS algorithm for the background segmentation when i run it i have this error [closed]
Using OpenCV 2.4.8 VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument DPZivkovicAGMMBGS() OpenCV Error: Null pointer (Invalid pointer to file storage) in cvWriteReal, file /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/persistence.cpp, line 2972 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/persistence.cpp:2972: error: (-27) Invalid pointer to file storage in function cvWriteReal
RUN FINISHED; Aborted; core dumped; real time: 4s; user: 30ms; system: 40ms
this algorithm is not part of opencv. what are you using there ?
its an algorithm from BGSLibrary i use it for the background substraction
https://github.com/andrewssobral/bgsl...