mirror of
https://github.com/koush/scrypted.git
synced 2026-06-20 16:40:30 +01:00
videoanalysis: fix settings order
This commit is contained in:
4
plugins/objectdetector/package-lock.json
generated
4
plugins/objectdetector/package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user