From 8a49bd4365cb9fddf06eaf7671e39d6a7db4258c Mon Sep 17 00:00:00 2001 From: Andrews Cordolino Sobral <andrewssobral@gmail.com> Date: Sun, 31 Jul 2022 16:33:59 +0200 Subject: [PATCH] Fixed typos --- examples/Demo.cpp | 3 ++- examples/Demo2.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/Demo.cpp b/examples/Demo.cpp index 3b4c0bf..802fec5 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 43f1991..bc72a3f 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); -- GitLab