diff --git a/plugins/core/package-lock.json b/plugins/core/package-lock.json
index 193e09a49..6d7f2fcb5 100644
--- a/plugins/core/package-lock.json
+++ b/plugins/core/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@scrypted/core",
- "version": "0.1.101",
+ "version": "0.1.102",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/core",
- "version": "0.1.101",
+ "version": "0.1.102",
"license": "Apache-2.0",
"dependencies": {
"@scrypted/common": "file:../../common",
diff --git a/plugins/core/package.json b/plugins/core/package.json
index c7bec0e50..1f755a3c1 100644
--- a/plugins/core/package.json
+++ b/plugins/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@scrypted/core",
- "version": "0.1.101",
+ "version": "0.1.102",
"description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.",
"author": "Scrypted",
"license": "Apache-2.0",
diff --git a/plugins/core/ui/src/components/Device.vue b/plugins/core/ui/src/components/Device.vue
index d88eb54ea..fa0289713 100644
--- a/plugins/core/ui/src/components/Device.vue
+++ b/plugins/core/ui/src/components/Device.vue
@@ -5,7 +5,7 @@
color="primary" icon="mdi-vuetify" border="left">
{{
- getAlertIcon(alert)
+ getAlertIcon(alert)
}}
{{ alert.title }}
@@ -185,7 +185,8 @@
-
+
@@ -240,6 +241,7 @@ import Scene from "../interfaces/Scene.vue";
import TemperatureSetting from "../interfaces/TemperatureSetting.vue";
import PositionSensor from "../interfaces/sensors/PositionSensor.vue";
import DeviceProvider from "../interfaces/DeviceProvider.vue";
+import ObjectDetection from "../interfaces/ObjectDetection.vue";
import MixinProvider from "../interfaces/MixinProvider.vue";
import Readme from "../interfaces/Readme.vue";
import Scriptable from "../interfaces/automation/Scriptable.vue";
@@ -286,7 +288,9 @@ const leftInterfaces = [
ScryptedInterface.DeviceProvider,
ScryptedInterface.Readme,
];
-const leftAboveInterfaces = [ScryptedInterface.Camera];
+const leftAboveInterfaces = [
+ ScryptedInterface.Camera,
+];
const noCardInterfaces = [
ScryptedInterface.Camera,
@@ -294,7 +298,10 @@ const noCardInterfaces = [
ScryptedInterface.Scriptable,
];
-const aboveInterfaces = [ScryptedInterface.Scriptable];
+const aboveInterfaces = [
+ ScryptedInterface.ObjectDetection,
+ ScryptedInterface.Scriptable
+];
const cardActionInterfaces = [
ScryptedInterface.OauthClient,
@@ -379,6 +386,8 @@ export default {
Automation,
Program,
Scriptable,
+
+ ObjectDetection,
},
mixins: [Mixin],
data() {
diff --git a/plugins/core/ui/src/interfaces/ObjectDetection.vue b/plugins/core/ui/src/interfaces/ObjectDetection.vue
new file mode 100644
index 000000000..8868ff067
--- /dev/null
+++ b/plugins/core/ui/src/interfaces/ObjectDetection.vue
@@ -0,0 +1,91 @@
+
+
+ Drag and Drop a JPG or PNG to analyze.
+
+
![]()
+
+
+
+
+
+
+
+