does anybody knows how to implement nowadays an opencv background subtractor like MOG or MOG2? I tried to use ofxCvMOG2 library (https://github.com/naus3a/ofxCvMOG2) but when I run the example the error "cannot create an instance of an abstract class" appears and I got stuck there. May be my version of openframeworks (0.11.2) doesn't fit to a five years old library? Any help in pointing me in the right direction woul be really appreciated. Thanks in advance!
opencv BackgroundSubtractorMOG in openframeworks
209 Views Asked by rojele At
1
There are 1 best solutions below
Related Questions in OPENCV
- segmentation fault: 11, extracting data in vector
- Disable OpenCL in OpenCV completely
- Python - Writing your own function with opencv giving an error
- Opengl Augmented Reality in Android from solvepnp
- OpenCv Multispectral Image openCV
- Displaying bitmap image on Android (OpenCV)
- Applying homography on non planar surface
- BackgroundSubtractor getBackgroundImage() function return empty Image
- How to choose good SURF feature keypoints?
- opencv python error: Assertion failed (size.width>0 && size.height>0)
- CIDetector to filter rectangle and get cropped image
- How to detect squares in video with OpenCV?
- Python OpenCV error: (-215) size.width>0 && size.height>0 in function imshow
- OpenCV algorithm of contours searching and creation of bounding rectagle
- OpenCV Opening/Closing shifts the positions of the pixels
Related Questions in OPENFRAMEWORKS
- openFrameworks / freeimage.a cause error with ios arm 64
- get convexhull points from array in openframeworks opencv
- how to set the mouse position in a GUI addons
- Apple Mach-O Linker (Id) Error on xCode 6.1 OSX 10.10
- monitor a C++ OpenFrameworks application, for freezing or memory leaks, then force quit and restart?
- c++ Open frameworks OpenGl drawing special chars like é á ú
- Getting a lot of errors when using Kinect SDK on OpenFrameworks project
- I want a template to return different classes
- Removing and re-adding elements to a vector
- dlib Templating with openFrameworks in VS2015
- How to bundle an openframeworks application in xcode (relative resource linking?)
- Is it ever possible to call pointInside: on an irregular shape?
- Xcode - deleted openFrameworks libraries, now can't compile and having trouble re-adding
- How can I get past a "Library not loaded:" issue?
- Shape manipulation with openFrameworks
Related Questions in BACKGROUND-SUBTRACTION
- opencv3.0.0 BackgroundSubtractor::apply leads to "R6025 pure virtual function call"
- after background subtraction how to track certain object in masked area?
- how to detect moving object in live video camera using openCV
- Roboust Human detection and tracking in a crowded area
- stabilized frame differencing using OpenCV abs() except for nonoverlapped areas
- Error class BackgroundSubtractorMOG2 in OpenCV
- Vehicle Counting Based on BackgroundSubtractorMOG
- how to use matlab vision.ForegroundDetector with webcam
- OpenCV BackgroundSubtractor yields poor results on objects with similar color as background color
- python opencv 3.3.0 video object detection
- Any tutorial/ good documentation on how to use the Mixture of Gaussians opencv implementation?
- Tips for background subtraction in the face of noise
- Foreground Extraction
- OpenCV2 Python createBackgroundSubtractor module not found
- Object Counter in Opencv + BeagleBone Black Performance Issue
Related Questions in MOG
- Error : CV_8U in function initialize
- Any tutorial/ good documentation on how to use the Mixture of Gaussians opencv implementation?
- Mixture of Gaussians - C
- Getting background after removing foreground in OpenCV background subtraction
- Segmentation fault motion detection Opencv4tegra
- MOG2 background substraction : Probability Density Function
- opencv BackgroundSubtractorMOG in openframeworks
- OpenCV: Background subtraction 0xC0000005: Access violation writing locatio
- weighting GMM components
- OpenCV MOG2 Background Subtraction strange result
- Background Subtraction: Creating an ensemble structure of mixture of gaussians
- How to use cv::BackgroundSubtractorMOG in OpenCV?
- Opencv MOG and GMG subtractor not working
- Mask for BackgroundSubtractorMOG2
- MOG background subtraction: history parameter not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
https://github.com/rojele/ofxCvMOG2_openCv4.5
I made it work. Here is the updated implementation of an opencv 4.5 mog2 background subtractor addon for openframeworks: ofxCvMOG2. The previous version of the addon, as commented above, was outdated, relied in opencv v2.4 and needed some little changes in the declaration of the subtractor and in the specifications of values like history, threshold and mixtures. Hope it could be useful to you.