BackgroundSubtractorCNT is in OpenCV 3.3.0
Although BackgroundSubtractorCNT is in OpenCv 3.3.0, future features and improvements will be added in the offline project.
Proudly announcing that BackgroundSubtractorCNT is in OpenCV
The guys at OpenCV decided to incorporate the original code of BackgroundSubtractorCNT into opencv_contrib-3.3.0.
Although I didn’t motivate this (see here), I’m pretty glad they found it useful enough to take it in.
You can potentially use the original BackgroundSubtractorCNT project with opencv_conrib-3.3.0. This will only be beneficial if and when the BackgroundSubtractorCNT project will advance faster in development.
If you’re going to do that, then:
- For using the code from the BackgroundSubtractorCNT project, you should be okay as long as you’re:
- Not “using namespace cv::bgsubcnt;“
- Are using the cv::bgsubcnt namespace explicitly, as in cv::bgsubcnt::createBackgroundSubtractorCNT(…).
- For using the code from the opencv_contrib-3.3.0, use it as you would use any other of their BackgroundSubtractor classes.
Currently BackgroundSubtractorCNT is maintained as a project of its own. Future development of features and improvements will happen in this offline project.
Whichever code you’re going to use (same code – different progress), the best documentation is currently available at the official site.
Until next time,