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
210 Views Asked by rojele At
1
There are 1 best solutions below
Related Questions in OPENCV
- Creating multiple instances of a class with different initializing values in Flutter
- OpenCV2 on CLion
- How to Draw Chinese Characters on a Picture with OpenCV
- Python cv2 imwrite() - RGB or BGR
- AttributeError: 'Sequential' object has no attribute 'predict_classes'. Did you mean: 'predict_step'?
- Search for an icon on an image OpenCV
- DJI Tello won't follow me
- Python OpenCV and PyGame threading issue
- Need help in Converting Python script (Uses Yolo's pose estimation) to an android app
- Line Segmentation Problem: How to detect lines and draw bounding box of that line on handwritten letters Using CV2
- Configure CmakeLists.txt to avoid manually copying dlls
- How to detect the exact boundary of a Sudoku using OpenCV when there are multiple external boundaries?
- AttributeError: 'Results' object has no attribute 'box'. can anyone explain this?
- How to generate a VPI warpmap for polynomial distortion correction?
- I am trying to make a project of object detection on kaggle notebook using yolo. and i am facing this error. here is my code and my error
Related Questions in OPENFRAMEWORKS
- Openframeworks_ofxcv-blob Tracking
- trying to Vizualize water dropplets
- How to use the ofxOpenCV addon from the OF project generator?
- How to setup ofxUnitTests or any other unit testing framework in openframeworks?
- ufc champions by fighting style and weightclass graph display openframeworks c++
- Why are the particles in LiquidFun so bouncy?
- Xcode openframeworks project into visual studio openframeworks
- How to add external library (ODE) to OpenFrameworks QTCreator application (C++)
- Convert RGB32 image to ofPixels in Open Frameworks
- opencv BackgroundSubtractorMOG in openframeworks
- MFCC example problem: [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600000271380> F8BB1C28-BAE8-11D6-9C31-00039315CD46
- openGL Extensions availability and different GPU brands
- Xcode error - OpenFrameworks example projects giving 'Use of undeclared identifier Error'
- Visual Studio 2017: build tools for v142 cannot be found error, even though Platform Toolset is set to v141
- MinGW Installation Manager - Missing devpropdef.h file
Related Questions in BACKGROUND-SUBTRACTION
- How to save/load the whole internal states (not the parameters) of the BackgroundSubtractors, OpenCVSharp?
- Selection of specific object by selectROI from the main image while tracking process is being held on subtracted background
- OpenCV BackgroundSubtractorMOG2 seems to return false-positive pixels
- getting key error on running trackpy on background subtracted video
- suggest appropiate background substraction method
- Remove moving objects with OpenCV calculating the mode using Python
- OpenCV BackgroundSubtractor.getBackgroundImage crashes with invalid frame type
- Why am I getting "cv2.error: Unknown C++ exception from OpenCV code" when I'm using cv2.BackgroundSubtractorKNN() in Python?
- How to set background subtraction to stable object
- Getting background after removing foreground in OpenCV background subtraction
- OpenCV BackgroundSubtractorMOG2 algorithm crashes when executed as part of my Swift UI app
- How to calculate pixel number of foreground area in background subtraction
- PHP with Loop Calculation
- Python element-wise condition on numpy ndarray
- opencv BackgroundSubtractorMOG in openframeworks
Related Questions in MOG
- Getting background after removing foreground in OpenCV background subtraction
- opencv BackgroundSubtractorMOG in openframeworks
- MOG2 background substraction : Probability Density Function
- OpenCV foreground detection with adaptive background, static objects too
- Segmentation fault motion detection Opencv4tegra
- MOG background subtraction: history parameter not working
- Opencv MOG and GMG subtractor not working
- OpenCV MOG2 Background Subtraction strange result
- Not able to use background substractor module in opencv
- OpenCV: Background subtraction 0xC0000005: Access violation writing locatio
- How to disable shadow detection in MoG2
- How to eliminate the so-called "ghost" pixels from the masks generated by mog algorithm?
- How to get foreground mask given background image
- How to use BackgroundSubtractorMOG2 for images
- Error : CV_8U in function initialize
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 # Hahtags
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.