diff --git a/plugins/objectdetector/package-lock.json b/plugins/objectdetector/package-lock.json index 88f87960c..b1b23cca7 100644 --- a/plugins/objectdetector/package-lock.json +++ b/plugins/objectdetector/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/objectdetector", - "version": "0.1.34", + "version": "0.1.35", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/objectdetector", - "version": "0.1.34", + "version": "0.1.35", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/objectdetector/package.json b/plugins/objectdetector/package.json index eb2fa656e..de13240b5 100644 --- a/plugins/objectdetector/package.json +++ b/plugins/objectdetector/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/objectdetector", - "version": "0.1.34", + "version": "0.1.35", "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/smart-motionsensor.ts b/plugins/objectdetector/src/smart-motionsensor.ts index 93c80c1e0..bbe43bac5 100644 --- a/plugins/objectdetector/src/smart-motionsensor.ts +++ b/plugins/objectdetector/src/smart-motionsensor.ts @@ -44,6 +44,18 @@ export class SmartMotionSensor extends ScryptedDeviceBase implements Settings, R type: 'number', defaultValue: 0.7, }, + requireDetectionThumbnail: { + title: 'Require Detections with Images', + description: 'When enabled, this sensor will ignore detections results that do not have images.', + type: 'boolean', + defaultValue: false, + }, + requireScryptedNvrDetections: { + title: 'Require Scrypted Detections', + description: 'When enabled, this sensor will ignore onboard camera detections.', + type: 'boolean', + defaultValue: false, + }, labels: { group: 'Recognition', title: 'Labels', @@ -59,18 +71,6 @@ export class SmartMotionSensor extends ScryptedDeviceBase implements Settings, R type: 'number', defaultValue: 2, }, - requireDetectionThumbnail: { - title: 'Require Detections with Images', - description: 'When enabled, this sensor will ignore detections results that do not have images.', - type: 'boolean', - defaultValue: false, - }, - requireScryptedNvrDetections: { - title: 'Require Scrypted Detections', - description: 'When enabled, this sensor will ignore onboard camera detections.', - type: 'boolean', - defaultValue: false, - }, }); listener: EventListenerRegister;