@camstack/addon-provider-onvif 1.1.23 → 1.1.24
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
|
@@ -4631,7 +4631,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4631
4631
|
return inst;
|
|
4632
4632
|
}
|
|
4633
4633
|
//#endregion
|
|
4634
|
-
//#region ../types/dist/sleep-
|
|
4634
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4635
4635
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4636
4636
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4637
4637
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10849,7 +10849,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10849
10849
|
image: _instanceof(Uint8Array).optional(),
|
|
10850
10850
|
referenceImage: string().optional(),
|
|
10851
10851
|
deviceId: number().optional(),
|
|
10852
|
-
sessionId: string().optional()
|
|
10852
|
+
sessionId: string().optional(),
|
|
10853
|
+
/**
|
|
10854
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10855
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10856
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10857
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10858
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10859
|
+
*/
|
|
10860
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10853
10861
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10854
10862
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10855
10863
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10992,6 +11000,28 @@ var NativeCropResultSchema = object({
|
|
|
10992
11000
|
width: number().int().positive(),
|
|
10993
11001
|
height: number().int().positive()
|
|
10994
11002
|
});
|
|
11003
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11004
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11005
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11006
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11007
|
+
* normalized [0,1] convention). */
|
|
11008
|
+
var DetailParentSchema = object({
|
|
11009
|
+
bbox: NativeCropBboxSchema,
|
|
11010
|
+
className: string()
|
|
11011
|
+
});
|
|
11012
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11013
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11014
|
+
* single tracked detection. */
|
|
11015
|
+
var DetailResultSchema = object({
|
|
11016
|
+
stepId: string(),
|
|
11017
|
+
className: string(),
|
|
11018
|
+
score: number(),
|
|
11019
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11020
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11021
|
+
embedding: string().optional(),
|
|
11022
|
+
label: string().optional(),
|
|
11023
|
+
alignedCropJpeg: string().optional()
|
|
11024
|
+
});
|
|
10995
11025
|
/**
|
|
10996
11026
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10997
11027
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11252,7 +11282,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11252
11282
|
handle: FrameHandleSchema,
|
|
11253
11283
|
bbox: NativeCropBboxSchema,
|
|
11254
11284
|
maxWidth: number().int().positive().optional()
|
|
11255
|
-
}), NativeCropResultSchema.nullable())
|
|
11285
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11286
|
+
deviceId: number(),
|
|
11287
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11288
|
+
cropJpeg: string().optional(),
|
|
11289
|
+
parent: DetailParentSchema,
|
|
11290
|
+
steps: array(string()).optional()
|
|
11291
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11256
11292
|
object({
|
|
11257
11293
|
detected: boolean(),
|
|
11258
11294
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -22456,6 +22492,12 @@ Object.freeze({
|
|
|
22456
22492
|
addonId: null,
|
|
22457
22493
|
access: "create"
|
|
22458
22494
|
},
|
|
22495
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22496
|
+
capName: "pipeline-runner",
|
|
22497
|
+
capScope: "system",
|
|
22498
|
+
addonId: null,
|
|
22499
|
+
access: "create"
|
|
22500
|
+
},
|
|
22459
22501
|
"plateGallery.correctPlateText": {
|
|
22460
22502
|
capName: "plate-gallery",
|
|
22461
22503
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4632,7 +4632,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4632
4632
|
return inst;
|
|
4633
4633
|
}
|
|
4634
4634
|
//#endregion
|
|
4635
|
-
//#region ../types/dist/sleep-
|
|
4635
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4636
4636
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4637
4637
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4638
4638
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10850,7 +10850,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10850
10850
|
image: _instanceof(Uint8Array).optional(),
|
|
10851
10851
|
referenceImage: string().optional(),
|
|
10852
10852
|
deviceId: number().optional(),
|
|
10853
|
-
sessionId: string().optional()
|
|
10853
|
+
sessionId: string().optional(),
|
|
10854
|
+
/**
|
|
10855
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10856
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10857
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10858
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10859
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10860
|
+
*/
|
|
10861
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10854
10862
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10855
10863
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10856
10864
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10993,6 +11001,28 @@ var NativeCropResultSchema = object({
|
|
|
10993
11001
|
width: number().int().positive(),
|
|
10994
11002
|
height: number().int().positive()
|
|
10995
11003
|
});
|
|
11004
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
11005
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
11006
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
11007
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
11008
|
+
* normalized [0,1] convention). */
|
|
11009
|
+
var DetailParentSchema = object({
|
|
11010
|
+
bbox: NativeCropBboxSchema,
|
|
11011
|
+
className: string()
|
|
11012
|
+
});
|
|
11013
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
11014
|
+
* or refined detection produced by running the crop-subtree on a
|
|
11015
|
+
* single tracked detection. */
|
|
11016
|
+
var DetailResultSchema = object({
|
|
11017
|
+
stepId: string(),
|
|
11018
|
+
className: string(),
|
|
11019
|
+
score: number(),
|
|
11020
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
11021
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
11022
|
+
embedding: string().optional(),
|
|
11023
|
+
label: string().optional(),
|
|
11024
|
+
alignedCropJpeg: string().optional()
|
|
11025
|
+
});
|
|
10996
11026
|
/**
|
|
10997
11027
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10998
11028
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11253,7 +11283,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11253
11283
|
handle: FrameHandleSchema,
|
|
11254
11284
|
bbox: NativeCropBboxSchema,
|
|
11255
11285
|
maxWidth: number().int().positive().optional()
|
|
11256
|
-
}), NativeCropResultSchema.nullable())
|
|
11286
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11287
|
+
deviceId: number(),
|
|
11288
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11289
|
+
cropJpeg: string().optional(),
|
|
11290
|
+
parent: DetailParentSchema,
|
|
11291
|
+
steps: array(string()).optional()
|
|
11292
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11257
11293
|
object({
|
|
11258
11294
|
detected: boolean(),
|
|
11259
11295
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -22457,6 +22493,12 @@ Object.freeze({
|
|
|
22457
22493
|
addonId: null,
|
|
22458
22494
|
access: "create"
|
|
22459
22495
|
},
|
|
22496
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22497
|
+
capName: "pipeline-runner",
|
|
22498
|
+
capScope: "system",
|
|
22499
|
+
addonId: null,
|
|
22500
|
+
access: "create"
|
|
22501
|
+
},
|
|
22460
22502
|
"plateGallery.correctPlateText": {
|
|
22461
22503
|
capName: "plate-gallery",
|
|
22462
22504
|
capScope: "system",
|