diff --git a/examples/Demo.cpp b/examples/Demo.cpp index 3b4c0bfdfc0122e63877bc8387a701ae5d395562..802fec54df3986fc26233832c9337ca930c43cea 100644 --- a/examples/Demo.cpp +++ b/examples/Demo.cpp @@ -19,7 +19,7 @@ int main(int argc, char** argv) if (argc > 1) { - std::cout << "Openning: " << argv[1] << std::endl; + std::cout << "Opening: " << argv[1] << std::endl; capture.open(argv[1]); } else @@ -39,6 +39,7 @@ int main(int argc, char** argv) for (const std::string& algorithmName : algorithmsName) { + // if (algorithmName.rfind("FrameDifference", 0) != 0) continue; std::cout << "Running " << algorithmName << std::endl; auto bgs = BGS_Factory::Instance()->Create(algorithmName); diff --git a/examples/Demo2.cpp b/examples/Demo2.cpp index 43f19917bf0ab4c7afae3653e90aa5164a048c12..bc72a3fa1810fe103a6386e8982571e5b75d6bc8 100644 --- a/examples/Demo2.cpp +++ b/examples/Demo2.cpp @@ -17,7 +17,7 @@ int main(int argc, char** argv) std::string baseDir = "./dataset/frames"; if (argc > 1) baseDir = argv[1]; - std::cout << "Openning: " << baseDir << std::endl; + std::cout << "Opening: " << baseDir << std::endl; /* Background Subtraction Methods */ auto algorithmsName = BGS_Factory::Instance()->GetRegisteredAlgorithmsName(); @@ -27,6 +27,7 @@ int main(int argc, char** argv) for (const std::string& algorithmName : algorithmsName) { + // if (algorithmName.rfind("FrameDifference", 0) != 0) continue; std::cout << "Running " << algorithmName << std::endl; auto bgs = BGS_Factory::Instance()->Create(algorithmName);