From a54c84b405f4dc09f23c09f2d3f74696c66ac57d Mon Sep 17 00:00:00 2001 From: seydx <34152761+seydx@users.noreply.github.com> Date: Tue, 11 Jan 2022 06:29:18 +0100 Subject: [PATCH] fix wrong sensitivity for videoanalysis --- src/controller/camera/services/videoanalysis.service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/camera/services/videoanalysis.service.js b/src/controller/camera/services/videoanalysis.service.js index 5a7e2a1f..9b3766ef 100644 --- a/src/controller/camera/services/videoanalysis.service.js +++ b/src/controller/camera/services/videoanalysis.service.js @@ -324,7 +324,7 @@ class VideoAnalysisService { } #createRegions(regions = [], sensitivity) { - sensitivity = sensitivity >= 100 && sensitivity <= 100 ? sensitivity : 50; + sensitivity = sensitivity >= 0 && sensitivity <= 100 ? sensitivity : 50; const zones = regions ?.map((region, index) => {