From 975319a65db55af7c5ccf8bcb039ecd0537efa7a Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Fri, 17 Mar 2023 16:19:50 -0700 Subject: [PATCH] motion: implement a default inclusion zone that prevents on screen clocks from triggering motion --- plugins/objectdetector/package-lock.json | 4 +-- plugins/objectdetector/package.json | 2 +- plugins/objectdetector/src/main.ts | 34 ++++++++++++++----- .../tensorflow-lite/src/detect/__init__.py | 1 - 4 files changed, 28 insertions(+), 13 deletions(-) diff --git a/plugins/objectdetector/package-lock.json b/plugins/objectdetector/package-lock.json index c2c280be67..f6e4d3aa29 100644 --- a/plugins/objectdetector/package-lock.json +++ b/plugins/objectdetector/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/objectdetector", - "version": "0.0.107", + "version": "0.0.108", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/objectdetector", - "version": "0.0.107", + "version": "0.0.108", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/objectdetector/package.json b/plugins/objectdetector/package.json index 310ee7e094..c805899a46 100644 --- a/plugins/objectdetector/package.json +++ b/plugins/objectdetector/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/objectdetector", - "version": "0.0.107", + "version": "0.0.108", "description": "Scrypted Video Analysis Plugin. Installed alongside a detection service like OpenCV or TensorFlow.", "author": "Scrypted", "license": "Apache-2.0", diff --git a/plugins/objectdetector/src/main.ts b/plugins/objectdetector/src/main.ts index 80f5d23a9e..2b4c587004 100644 --- a/plugins/objectdetector/src/main.ts +++ b/plugins/objectdetector/src/main.ts @@ -597,6 +597,9 @@ class ObjectDetectionMixin extends SettingsMixinDeviceBase