@camera.ui/sdk 0.0.29 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +30 -1
- package/dist/internal/index.d.ts +2 -0
- package/dist/sensor/base.js +2 -0
- package/dist/sensor/index.js +1 -0
- package/dist/sensor/objectAssist.js +18 -0
- package/dist/sensor/registry.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3684,6 +3684,8 @@ declare enum SensorType {
|
|
|
3684
3684
|
Classifier = "classifier",
|
|
3685
3685
|
/** CLIP embedding generation for semantic search */
|
|
3686
3686
|
Clip = "clip",
|
|
3687
|
+
/** Object assist that locates objects in a frame so secondaries get real crops from camera-side detections */
|
|
3688
|
+
ObjectAssist = "objectAssist",
|
|
3687
3689
|
/** Contact/open-close sensor (door, window) */
|
|
3688
3690
|
Contact = "contact",
|
|
3689
3691
|
/** Temperature sensor (°C) */
|
|
@@ -4537,6 +4539,14 @@ declare const SENSOR_META: readonly [{
|
|
|
4537
4539
|
};
|
|
4538
4540
|
};
|
|
4539
4541
|
readonly semantics: null;
|
|
4542
|
+
}, {
|
|
4543
|
+
readonly type: SensorType.ObjectAssist;
|
|
4544
|
+
readonly category: SensorCategory.Sensor;
|
|
4545
|
+
readonly assignmentKey: "objectAssist";
|
|
4546
|
+
readonly multiProvider: false;
|
|
4547
|
+
readonly isDetectionType: true;
|
|
4548
|
+
readonly properties: {};
|
|
4549
|
+
readonly semantics: null;
|
|
4540
4550
|
}, {
|
|
4541
4551
|
readonly type: SensorType.Occupancy;
|
|
4542
4552
|
readonly category: SensorCategory.Sensor;
|
|
@@ -4883,6 +4893,8 @@ interface AudioDetectionSettings {
|
|
|
4883
4893
|
minDecibels: number;
|
|
4884
4894
|
/** Audio dwell time in seconds */
|
|
4885
4895
|
timeout: number;
|
|
4896
|
+
/** Minimum confidence threshold (0 - 1) for a labelled audio detection to count. */
|
|
4897
|
+
confidence?: number;
|
|
4886
4898
|
}
|
|
4887
4899
|
/**
|
|
4888
4900
|
* Face detection settings.
|
|
@@ -7386,5 +7398,22 @@ interface OAuthClientCredentialsCapable extends OAuthCapable {
|
|
|
7386
7398
|
configureClientCredentials(clientId: string, clientSecret: string): Promise<OAuthState>;
|
|
7387
7399
|
}
|
|
7388
7400
|
|
|
7389
|
-
|
|
7401
|
+
/**
|
|
7402
|
+
* Registry metadata for the object assist slot.
|
|
7403
|
+
*
|
|
7404
|
+
* There is no sensor class for this type: a plugin assigned to the slot serves
|
|
7405
|
+
* it with the {@link ObjectDetectorSensor} it already registers, so plugins
|
|
7406
|
+
* declare and implement object detection only.
|
|
7407
|
+
*/
|
|
7408
|
+
declare const objectAssistMeta: {
|
|
7409
|
+
readonly type: SensorType.ObjectAssist;
|
|
7410
|
+
readonly category: SensorCategory.Sensor;
|
|
7411
|
+
readonly assignmentKey: "objectAssist";
|
|
7412
|
+
readonly multiProvider: false;
|
|
7413
|
+
readonly isDetectionType: true;
|
|
7414
|
+
readonly properties: {};
|
|
7415
|
+
readonly semantics: null;
|
|
7416
|
+
};
|
|
7417
|
+
|
|
7418
|
+
export { API_EVENT, AudioDetectorSensor, AudioProperty, AudioSensor, BASE_AUDIO_LABELS, BasePlugin, BatteryCapability, BatteryInfo, BatteryProperty, BehaviorSubject, ChargingState, ClassifierDetectorSensor, ClassifierProperty, ClassifierSensor, ClipDetectorSensor, ContactProperty, ContactSensor, DETECTION_ATTRIBUTES, DETECTION_LABELS, Disposable, DoorbellProperty, DoorbellTrigger, EVENT_TRIGGER_TYPES, FaceDetectorSensor, FaceProperty, FaceSensor, GarageControl, GarageProperty, GarageState, HumidityInfo, HumidityProperty, LeakProperty, LeakSensor, LicensePlateDetectorSensor, LicensePlateProperty, LicensePlateSensor, LightCapability, LightControl, LightProperty, LockControl, LockProperty, LockState, MotionDetectorSensor, MotionProperty, MotionSensor, OBJECT_DETECTION_LABELS, ObjectDetectorSensor, ObjectProperty, ObjectSensor, Observable, OccupancyProperty, OccupancySensor, PTZCapability, PTZControl, PTZProperty, PluginCapability, PluginInterface, PluginRole, RING_AUTO_RESET_MS, ReplaySubject, RtpPacket, SENSOR_META, SecuritySystem, SecuritySystemProperty, SecuritySystemState, Sensor, SensorCategory, SensorDomain, SensorType, Severity, SirenCapability, SirenControl, SirenProperty, SmokeProperty, SmokeSensor, Subject, SwitchControl, SwitchProperty, TemperatureInfo, TemperatureProperty, audioMeta, batteryMeta, canCreateCameras, canProvideSensorsToAnyCameras, classifierMeta, clipMeta, contactMeta, defineSensor, distinctUntilChanged, doorbellMeta, faceMeta, filter, firstValueFrom, garageMeta, getContractValidationErrors, hasCapability, hasInterface, humidityMeta, isHub, leakMeta, licensePlateMeta, lightMeta, lockMeta, map, mergeMap, motionMeta, objectAssistMeta, objectMeta, occupancyMeta, pairwise, ptzMeta, securitySystemMeta, sensorMeta, share, sirenMeta, smokeMeta, switchMeta, temperatureMeta, validateContractConsistency };
|
|
7390
7419
|
export type { AssignedPlugin, AudioCodec, AudioCodecProperties, AudioDetectionInterface, AudioDetectionPluginResponse, AudioDetectionSettings, AudioFFmpegCodec, AudioFrameData, AudioInputSpec, AudioLabel, AudioMetadata, AudioModelSpec, AudioResult, AudioSensorLike, AudioSensorProperties, AudioStreamInfo, BaseAudioLabel, BaseCamera, BaseCameraConfig, BatteryInfoLike, BatteryInfoProperties, BoundingBox, Camera, CameraAspectRatio, CameraAspectRatioPreset, CameraConfig, CameraConfigInputSettings, CameraDetectionSettings, CameraDevice, CameraDeviceSource, CameraFrameWorkerSettings, CameraImplementation, CameraInformation, CameraInput, CameraPluginInfo, CameraRecordingSettings, CameraRole, CameraSource, CameraType, CameraUiSettings, ClassifierDetection, ClassifierDetectionInterface, ClassifierDetectionPluginResponse, ClassifierResult, ClassifierSensorLike, ClassifierSensorProperties, ClipDetectionInterface, ClipDetectionPluginResponse, ClipEmbedding, ClipResult, ClipTextEmbeddingResult, ContactSensorLike, ContactSensorProperties, CoreManager, CoreManagerEvent, CreateDownloadOptions, CreateStreamDownloadOptions, Detection, DetectionAttribute, DetectionEvent, DetectionEventState, DetectionEventType, DetectionLabel, DetectionLine, DetectionZone, DeviceManager, DeviceStorage, DiscoveredCamera, DiscoveryProvider, DoorbellTriggerLike, DoorbellTriggerProperties, DownloadCleanup, DownloadManager, DownloadToken, EventAttribute, EventDescription, EventDetection, EventSegment, EventTrigger, EventTriggerType, FMTPInfo, FaceDetection, FaceDetectionInterface, FaceDetectionPluginResponse, FaceDetectionSettings, FaceResult, FaceSensorLike, FaceSensorProperties, Fmp4Session, Fmp4SessionOptions, FormSubmitResponse, FormSubmitSchema, GarageControlLike, GarageControlProperties, Go2RtcRTSPSource, Go2RtcSnapshotSource, Go2RtcWSSource, HardwareAcceleration, HumidityInfoLike, HumidityInfoProperties, ImageMetadata, JsonArraySchema, JsonBaseSchema, JsonBaseSchemaWithoutCallbacks, JsonBooleanSchema, JsonEnumSchema, JsonFactorySchema, JsonNumberSchema, JsonSchema, JsonSchemaArray, JsonSchemaArrayWithoutCallbacks, JsonSchemaBoolean, JsonSchemaBooleanWithoutCallbacks, JsonSchemaButton, JsonSchemaEnum, JsonSchemaEnumWithoutCallbacks, JsonSchemaNumber, JsonSchemaNumberWithoutCallbacks, JsonSchemaString, JsonSchemaStringWithoutCallbacks, JsonSchemaSubmit, JsonSchemaType, JsonSchemaWithoutCallbacks, JsonSchemaWithoutKey, JsonStringSchema, LeakSensorLike, LeakSensorProperties, LicensePlateDetection, LicensePlateDetectionInterface, LicensePlateDetectionPluginResponse, LicensePlateDetectionSettings, LicensePlateResult, LicensePlateSensorLike, LicensePlateSensorProperties, LightControlLike, LightControlProperties, LineDirection, LockControlLike, LockControlProperties, LoggerService, ModelSpec, MotionDetectionInterface, MotionDetectionPluginResponse, MotionDetectionSettings, MotionResolution, MotionResult, MotionSensorLike, MotionSensorProperties, Notification, NotificationManager, NotifierDevice, NotifierInterface, OAuthAuthCodeFlowCapable, OAuthCapable, OAuthClientCredentialsCapable, OAuthDeviceFlowCapable, OAuthMetadata, OAuthProviderConfig, OAuthProviderDeclaration, OAuthState, OAuthStatus, ObjectDetectionInterface, ObjectDetectionLabel, ObjectDetectionPluginResponse, ObjectDetectionSettings, ObjectModelSpec, ObjectResult, ObjectSensorLike, ObjectSensorProperties, OccupancySensorLike, OccupancySensorProperties, OperatorFn, PTZControlLike, PTZControlProperties, PTZDirection, PTZPosition, PTZRelativeMove, PluginAPI, PluginAssignments, PluginConfig, PluginContract, PluginInfo, PluginInterfaces, Point, ProbeAudioCodec, ProbeConfig, ProbeStream, PropertyChangeOf, PtzAutotrackSettings, PythonVersion, RTPInfo, RTSPAudioCodec, RTSPUrlOptions, RecordingMode, RecordingSource, RtpSession, RtpSessionBackchannelOptions, RtpSessionOptions, SchemaCondition, SchemaConditionOperator, SchemaConfig, SecuritySystemLike, SecuritySystemProperties, SensorAssignmentKey, SensorCapability, SensorCascadeTrigger, SensorLike, SensorMeta, SensorPropertySpec, SensorPropertyType, SensorPropertyValueType, SensorSemantics, SensorTriggerRef, SensorTriggerSettings, SensorVirtualDefaults, SirenControlLike, SirenControlProperties, SmokeSensorLike, SmokeSensorProperties, SnapshotInterface, SnapshotSettings, SnapshotUrlOptions, StreamDirection, StreamUrls, StreamingInterface, StreamingRole, SwitchControlLike, SwitchControlProperties, TemperatureInfoLike, TemperatureInfoProperties, ToastMessage, TrackedDetection, VideoCodec, VideoCodecProperties, VideoFFmpegCodec, VideoFrameData, VideoInputSpec, VideoStreamInfo, VideoStreamingMode, ZoneFilter, ZoneType };
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -358,6 +358,8 @@ declare enum SensorType {
|
|
|
358
358
|
Classifier = "classifier",
|
|
359
359
|
/** CLIP embedding generation for semantic search */
|
|
360
360
|
Clip = "clip",
|
|
361
|
+
/** Object assist that locates objects in a frame so secondaries get real crops from camera-side detections */
|
|
362
|
+
ObjectAssist = "objectAssist",
|
|
361
363
|
/** Contact/open-close sensor (door, window) */
|
|
362
364
|
Contact = "contact",
|
|
363
365
|
/** Temperature sensor (°C) */
|
package/dist/sensor/base.js
CHANGED
|
@@ -21,6 +21,8 @@ export var SensorType;
|
|
|
21
21
|
SensorType["Classifier"] = "classifier";
|
|
22
22
|
/** CLIP embedding generation for semantic search */
|
|
23
23
|
SensorType["Clip"] = "clip";
|
|
24
|
+
/** Object assist that locates objects in a frame so secondaries get real crops from camera-side detections */
|
|
25
|
+
SensorType["ObjectAssist"] = "objectAssist";
|
|
24
26
|
// Sensors — read-only state/environment sensors
|
|
25
27
|
/** Contact/open-close sensor (door, window) */
|
|
26
28
|
SensorType["Contact"] = "contact";
|
package/dist/sensor/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export * from './registry.js';
|
|
|
17
17
|
export * from './lock.js';
|
|
18
18
|
export * from './motion.js';
|
|
19
19
|
export * from './object.js';
|
|
20
|
+
export * from './objectAssist.js';
|
|
20
21
|
export * from './occupancy.js';
|
|
21
22
|
export * from './ptz.js';
|
|
22
23
|
export * from './securitySystem.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SensorCategory, SensorType } from './base.js';
|
|
2
|
+
import { defineSensor } from './meta.js';
|
|
3
|
+
/**
|
|
4
|
+
* Registry metadata for the object assist slot.
|
|
5
|
+
*
|
|
6
|
+
* There is no sensor class for this type: a plugin assigned to the slot serves
|
|
7
|
+
* it with the {@link ObjectDetectorSensor} it already registers, so plugins
|
|
8
|
+
* declare and implement object detection only.
|
|
9
|
+
*/
|
|
10
|
+
export const objectAssistMeta = defineSensor({
|
|
11
|
+
type: SensorType.ObjectAssist,
|
|
12
|
+
category: SensorCategory.Sensor,
|
|
13
|
+
assignmentKey: 'objectAssist',
|
|
14
|
+
multiProvider: false,
|
|
15
|
+
isDetectionType: true,
|
|
16
|
+
properties: {},
|
|
17
|
+
semantics: null,
|
|
18
|
+
});
|
package/dist/sensor/registry.js
CHANGED
|
@@ -13,6 +13,7 @@ import { lightMeta } from './light.js';
|
|
|
13
13
|
import { lockMeta } from './lock.js';
|
|
14
14
|
import { motionMeta } from './motion.js';
|
|
15
15
|
import { objectMeta } from './object.js';
|
|
16
|
+
import { objectAssistMeta } from './objectAssist.js';
|
|
16
17
|
import { occupancyMeta } from './occupancy.js';
|
|
17
18
|
import { ptzMeta } from './ptz.js';
|
|
18
19
|
import { securitySystemMeta } from './securitySystem.js';
|
|
@@ -37,6 +38,7 @@ export const SENSOR_META = [
|
|
|
37
38
|
lockMeta,
|
|
38
39
|
motionMeta,
|
|
39
40
|
objectMeta,
|
|
41
|
+
objectAssistMeta,
|
|
40
42
|
occupancyMeta,
|
|
41
43
|
ptzMeta,
|
|
42
44
|
securitySystemMeta,
|