diff --git a/plugins/objectdetector/package-lock.json b/plugins/objectdetector/package-lock.json index 9b45eff08..0454e36fd 100644 --- a/plugins/objectdetector/package-lock.json +++ b/plugins/objectdetector/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/objectdetector", - "version": "0.0.121", + "version": "0.0.122", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/objectdetector", - "version": "0.0.121", + "version": "0.0.122", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/objectdetector/package.json b/plugins/objectdetector/package.json index f08d05ec5..d8f635c47 100644 --- a/plugins/objectdetector/package.json +++ b/plugins/objectdetector/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/objectdetector", - "version": "0.0.121", + "version": "0.0.122", "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 8f3f9c5e5..f81b581e6 100644 --- a/plugins/objectdetector/src/main.ts +++ b/plugins/objectdetector/src/main.ts @@ -61,6 +61,10 @@ class ObjectDetectionMixin extends SettingsMixinDeviceBase { + this.endObjectDetection(); + this.maybeStartMotionDetection(); + }, defaultValue: 'Default', }, motionSensorSupplementation: {