diff --git a/.properties b/.properties index ea98f544a59a7991adfd7295702e5844a68debd7..1409c3d8b2ad1ec760923d635ceceaf58ede4b73 100644 --- a/.properties +++ b/.properties @@ -1 +1 @@ -version=3.2.0-SNAPSHOT +version=3.3.0-SNAPSHOT diff --git a/CMakeLists.txt b/CMakeLists.txt index fe068a9645693464d9a90b3604f671b9eee09c64..4d635ff2398c23001cb072d49fd7e1921307eabf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.1) -project(bgslibrary VERSION 3.2.0) +project(bgslibrary VERSION 3.3.0) include(CheckCXXCompilerFlag) diff --git a/README.md b/README.md index a2f4dfc64c63d337151fdce893453af943796fe2..386bc1495ecb90f56c36a02142a78133c3010884 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## BGSLibrary A Background Subtraction Library -[](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](http://www.gnu.org/licenses/gpl-3.0) [](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](https://github.com/andrewssobral/bgslibrary/wiki/List-of-available-algorithms) +[](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](http://www.gnu.org/licenses/gpl-3.0) [](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](https://github.com/andrewssobral/bgslibrary/wiki/Build-status) [](https://github.com/andrewssobral/bgslibrary/wiki/List-of-available-algorithms) <p align="center"> <a href="https://youtu.be/_UbERwuQ0OU" target="_blank"> @@ -11,7 +11,7 @@ A Background Subtraction Library Last page update: **04/03/2023** -Library Version: **3.2.0** (see **[Build Status](https://github.com/andrewssobral/bgslibrary/wiki/Build-status)** and **[Release Notes](https://github.com/andrewssobral/bgslibrary/wiki/Release-notes)** for more info) +Library Version: **3.3.0** (see **[Build Status](https://github.com/andrewssobral/bgslibrary/wiki/Build-status)** and **[Release Notes](https://github.com/andrewssobral/bgslibrary/wiki/Release-notes)** for more info) The **BGSLibrary** was developed in early 2012 by [Andrews Sobral](http://andrewssobral.wixsite.com/home) as a C++ framework (with wrappers available for Python, Java and MATLAB) for foreground-background separation in videos using [OpenCV](http://www.opencv.org/). The bgslibrary is compatible with OpenCV versions 2.4.x, 3.x and 4.x, and can be compiled on Windows, Linux, and Mac OS X. It currently contains **43** algorithms and is available free of charge to all users, both academic and commercial. The library's source code is available under the [MIT license](https://opensource.org/licenses/MIT). diff --git a/gui/qt/bgslibrary_gui.cpp b/gui/qt/bgslibrary_gui.cpp index 9360f5483ea8f9f3462d089a716c16eda21fe28e..bb42949bae3477d766f299de4640352151585166 100644 --- a/gui/qt/bgslibrary_gui.cpp +++ b/gui/qt/bgslibrary_gui.cpp @@ -3,7 +3,7 @@ int main(int argc, char *argv[]) { std::cout << "--------------------------------------------" << std::endl; - std::cout << "Background Subtraction Library v3.2.0 " << std::endl; + std::cout << "Background Subtraction Library v3.3.0 " << std::endl; std::cout << "https://github.com/andrewssobral/bgslibrary " << std::endl; std::cout << "by: " << std::endl; std::cout << "Andrews Sobral (andrewssobral@gmail.com) " << std::endl; @@ -13,7 +13,7 @@ int main(int argc, char *argv[]) QApplication a(argc, argv); QCoreApplication::setApplicationName("BGSLibrary"); - QCoreApplication::setApplicationVersion("3.2.0"); + QCoreApplication::setApplicationVersion("3.3.0"); MainWindow w; w.show(); diff --git a/setup.py b/setup.py index c0211cb36466b5da02707d620cc716d54b3142b6..8ddefdffe27d07c74dab73cdfd83356cea572f71 100644 --- a/setup.py +++ b/setup.py @@ -208,7 +208,7 @@ with open("README.md", "r") as fh: setup( name='pybgs', - version='3.2.0.post1', + version='3.3.0.post0', author='Andrews Sobral', author_email='andrewssobral@gmail.com', url='https://github.com/andrewssobral/bgslibrary', diff --git a/wrapper/python/bgslibrary_module.cpp b/wrapper/python/bgslibrary_module.cpp index 2ba553658ef8d705e6d484bfdc2fdbdb3062ecc4..d23df21988e9b7f6c1744892e8c5ba497bf617db 100644 --- a/wrapper/python/bgslibrary_module.cpp +++ b/wrapper/python/bgslibrary_module.cpp @@ -35,7 +35,7 @@ PYBIND11_MODULE(pybgs, m) { NDArrayConverter::init_numpy(); m.doc() = "python wrapper for bgslibrary using pybind11"; - py::object version = py::cast("3.2.0"); + py::object version = py::cast("3.3.0"); m.attr("__version__") = version; // Basic test @@ -182,6 +182,13 @@ PYBIND11_MODULE(pybgs, m) .def("getBackgroundModel", &T2FMRF_UV::getBackgroundModel) ; + py::class_<MultiCue>(m, "MultiCue") + .def(py::init<>()) + .def("apply", &MultiCue::apply) + .def("getBackgroundModel", &MultiCue::getBackgroundModel) + ; +#endif + py::class_<FuzzySugenoIntegral>(m, "FuzzySugenoIntegral") .def(py::init<>()) .def("apply", &FuzzySugenoIntegral::apply) @@ -242,13 +249,6 @@ PYBIND11_MODULE(pybgs, m) .def("getBackgroundModel", &IndependentMultimodal::getBackgroundModel) ; - py::class_<MultiCue>(m, "MultiCue") - .def(py::init<>()) - .def("apply", &MultiCue::apply) - .def("getBackgroundModel", &MultiCue::getBackgroundModel) - ; -#endif - #if (CV_MAJOR_VERSION == 2) || (CV_MAJOR_VERSION == 3 && CV_MINOR_VERSION <= 4 && CV_VERSION_REVISION <= 7) py::class_<LBP_MRF>(m, "LBP_MRF") .def(py::init<>())