From e8432e0ae1e34be6a25a4b3d78226c4fbbb55234 Mon Sep 17 00:00:00 2001
From: yshira <yuta1125tp@gmail.com>
Date: Fri, 18 Feb 2022 23:28:27 +0900
Subject: [PATCH] fix typo (#208)

Fix typo in load_config() Fix loading of enableAdaptiveBackgroundLearning and enableAdaptiveSelectiveBackgroundLearning.
---
 src/FrameProcessor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/FrameProcessor.cpp b/src/FrameProcessor.cpp
index 38eb71f..8116df2 100644
--- a/src/FrameProcessor.cpp
+++ b/src/FrameProcessor.cpp
@@ -475,7 +475,7 @@ namespace bgslibrary
     fs["enableWeightedMovingMean"] >> enableWeightedMovingMean;
     fs["enableWeightedMovingVariance"] >> enableWeightedMovingVariance;
     fs["enableAdaptiveBackgroundLearning"] >> enableAdaptiveBackgroundLearning;
-    fs["enableAdaptiveBackgroundLearning"] >> enableAdaptiveSelectiveBackgroundLearning;
+    fs["enableAdaptiveSelectiveBackgroundLearning"] >> enableAdaptiveSelectiveBackgroundLearning;
     fs["enableMixtureOfGaussianV2"] >> enableMixtureOfGaussianV2;
 
 #if CV_MAJOR_VERSION == 2
-- 
GitLab