@camstack/addon-provider-rtsp 1.1.21 → 1.1.22
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/addon.js +45 -3
- package/dist/addon.mjs +45 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4666,7 +4666,7 @@ function preprocess(fn, schema) {
|
|
|
4666
4666
|
});
|
|
4667
4667
|
}
|
|
4668
4668
|
//#endregion
|
|
4669
|
-
//#region ../types/dist/sleep-
|
|
4669
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4670
4670
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4671
4671
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4672
4672
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12065,7 +12065,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12065
12065
|
image: _instanceof(Uint8Array).optional(),
|
|
12066
12066
|
referenceImage: string().optional(),
|
|
12067
12067
|
deviceId: number().optional(),
|
|
12068
|
-
sessionId: string().optional()
|
|
12068
|
+
sessionId: string().optional(),
|
|
12069
|
+
/**
|
|
12070
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12071
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12072
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12073
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12074
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12075
|
+
*/
|
|
12076
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12069
12077
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12070
12078
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12071
12079
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12241,6 +12249,28 @@ var NativeCropResultSchema = object({
|
|
|
12241
12249
|
width: number().int().positive(),
|
|
12242
12250
|
height: number().int().positive()
|
|
12243
12251
|
});
|
|
12252
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12253
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12254
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12255
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12256
|
+
* normalized [0,1] convention). */
|
|
12257
|
+
var DetailParentSchema = object({
|
|
12258
|
+
bbox: NativeCropBboxSchema,
|
|
12259
|
+
className: string()
|
|
12260
|
+
});
|
|
12261
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12262
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12263
|
+
* single tracked detection. */
|
|
12264
|
+
var DetailResultSchema = object({
|
|
12265
|
+
stepId: string(),
|
|
12266
|
+
className: string(),
|
|
12267
|
+
score: number(),
|
|
12268
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12269
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12270
|
+
embedding: string().optional(),
|
|
12271
|
+
label: string().optional(),
|
|
12272
|
+
alignedCropJpeg: string().optional()
|
|
12273
|
+
});
|
|
12244
12274
|
/**
|
|
12245
12275
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12246
12276
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12501,7 +12531,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12501
12531
|
handle: FrameHandleSchema,
|
|
12502
12532
|
bbox: NativeCropBboxSchema,
|
|
12503
12533
|
maxWidth: number().int().positive().optional()
|
|
12504
|
-
}), NativeCropResultSchema.nullable())
|
|
12534
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12535
|
+
deviceId: number(),
|
|
12536
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12537
|
+
cropJpeg: string().optional(),
|
|
12538
|
+
parent: DetailParentSchema,
|
|
12539
|
+
steps: array(string()).optional()
|
|
12540
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12505
12541
|
/**
|
|
12506
12542
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12507
12543
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25019,6 +25055,12 @@ Object.freeze({
|
|
|
25019
25055
|
addonId: null,
|
|
25020
25056
|
access: "create"
|
|
25021
25057
|
},
|
|
25058
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25059
|
+
capName: "pipeline-runner",
|
|
25060
|
+
capScope: "system",
|
|
25061
|
+
addonId: null,
|
|
25062
|
+
access: "create"
|
|
25063
|
+
},
|
|
25022
25064
|
"plateGallery.correctPlateText": {
|
|
25023
25065
|
capName: "plate-gallery",
|
|
25024
25066
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4642,7 +4642,7 @@ function preprocess(fn, schema) {
|
|
|
4642
4642
|
});
|
|
4643
4643
|
}
|
|
4644
4644
|
//#endregion
|
|
4645
|
-
//#region ../types/dist/sleep-
|
|
4645
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4646
4646
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4647
4647
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4648
4648
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12041,7 +12041,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12041
12041
|
image: _instanceof(Uint8Array).optional(),
|
|
12042
12042
|
referenceImage: string().optional(),
|
|
12043
12043
|
deviceId: number().optional(),
|
|
12044
|
-
sessionId: string().optional()
|
|
12044
|
+
sessionId: string().optional(),
|
|
12045
|
+
/**
|
|
12046
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12047
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12048
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12049
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12050
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12051
|
+
*/
|
|
12052
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12045
12053
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12046
12054
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12047
12055
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12217,6 +12225,28 @@ var NativeCropResultSchema = object({
|
|
|
12217
12225
|
width: number().int().positive(),
|
|
12218
12226
|
height: number().int().positive()
|
|
12219
12227
|
});
|
|
12228
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12229
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12230
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12231
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12232
|
+
* normalized [0,1] convention). */
|
|
12233
|
+
var DetailParentSchema = object({
|
|
12234
|
+
bbox: NativeCropBboxSchema,
|
|
12235
|
+
className: string()
|
|
12236
|
+
});
|
|
12237
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12238
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12239
|
+
* single tracked detection. */
|
|
12240
|
+
var DetailResultSchema = object({
|
|
12241
|
+
stepId: string(),
|
|
12242
|
+
className: string(),
|
|
12243
|
+
score: number(),
|
|
12244
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12245
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12246
|
+
embedding: string().optional(),
|
|
12247
|
+
label: string().optional(),
|
|
12248
|
+
alignedCropJpeg: string().optional()
|
|
12249
|
+
});
|
|
12220
12250
|
/**
|
|
12221
12251
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12222
12252
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12477,7 +12507,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12477
12507
|
handle: FrameHandleSchema,
|
|
12478
12508
|
bbox: NativeCropBboxSchema,
|
|
12479
12509
|
maxWidth: number().int().positive().optional()
|
|
12480
|
-
}), NativeCropResultSchema.nullable())
|
|
12510
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12511
|
+
deviceId: number(),
|
|
12512
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12513
|
+
cropJpeg: string().optional(),
|
|
12514
|
+
parent: DetailParentSchema,
|
|
12515
|
+
steps: array(string()).optional()
|
|
12516
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12481
12517
|
/**
|
|
12482
12518
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12483
12519
|
* a timestamp of the last observation. Distinct from
|
|
@@ -24995,6 +25031,12 @@ Object.freeze({
|
|
|
24995
25031
|
addonId: null,
|
|
24996
25032
|
access: "create"
|
|
24997
25033
|
},
|
|
25034
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25035
|
+
capName: "pipeline-runner",
|
|
25036
|
+
capScope: "system",
|
|
25037
|
+
addonId: null,
|
|
25038
|
+
access: "create"
|
|
25039
|
+
},
|
|
24998
25040
|
"plateGallery.correctPlateText": {
|
|
24999
25041
|
capName: "plate-gallery",
|
|
25000
25042
|
capScope: "system",
|