@camstack/addon-provider-reolink 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
|
@@ -4655,7 +4655,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4655
4655
|
return inst;
|
|
4656
4656
|
}
|
|
4657
4657
|
//#endregion
|
|
4658
|
-
//#region ../types/dist/sleep-
|
|
4658
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4659
4659
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4660
4660
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4661
4661
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12194,7 +12194,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12194
12194
|
image: _instanceof(Uint8Array).optional(),
|
|
12195
12195
|
referenceImage: string().optional(),
|
|
12196
12196
|
deviceId: number().optional(),
|
|
12197
|
-
sessionId: string().optional()
|
|
12197
|
+
sessionId: string().optional(),
|
|
12198
|
+
/**
|
|
12199
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12200
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12201
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12202
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12203
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12204
|
+
*/
|
|
12205
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12198
12206
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12199
12207
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12200
12208
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12370,6 +12378,28 @@ var NativeCropResultSchema = object({
|
|
|
12370
12378
|
width: number().int().positive(),
|
|
12371
12379
|
height: number().int().positive()
|
|
12372
12380
|
});
|
|
12381
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12382
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12383
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12384
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12385
|
+
* normalized [0,1] convention). */
|
|
12386
|
+
var DetailParentSchema = object({
|
|
12387
|
+
bbox: NativeCropBboxSchema,
|
|
12388
|
+
className: string()
|
|
12389
|
+
});
|
|
12390
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12391
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12392
|
+
* single tracked detection. */
|
|
12393
|
+
var DetailResultSchema = object({
|
|
12394
|
+
stepId: string(),
|
|
12395
|
+
className: string(),
|
|
12396
|
+
score: number(),
|
|
12397
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12398
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12399
|
+
embedding: string().optional(),
|
|
12400
|
+
label: string().optional(),
|
|
12401
|
+
alignedCropJpeg: string().optional()
|
|
12402
|
+
});
|
|
12373
12403
|
/**
|
|
12374
12404
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12375
12405
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12630,7 +12660,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12630
12660
|
handle: FrameHandleSchema,
|
|
12631
12661
|
bbox: NativeCropBboxSchema,
|
|
12632
12662
|
maxWidth: number().int().positive().optional()
|
|
12633
|
-
}), NativeCropResultSchema.nullable())
|
|
12663
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12664
|
+
deviceId: number(),
|
|
12665
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12666
|
+
cropJpeg: string().optional(),
|
|
12667
|
+
parent: DetailParentSchema,
|
|
12668
|
+
steps: array(string()).optional()
|
|
12669
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12634
12670
|
/**
|
|
12635
12671
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12636
12672
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25476,6 +25512,12 @@ Object.freeze({
|
|
|
25476
25512
|
addonId: null,
|
|
25477
25513
|
access: "create"
|
|
25478
25514
|
},
|
|
25515
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25516
|
+
capName: "pipeline-runner",
|
|
25517
|
+
capScope: "system",
|
|
25518
|
+
addonId: null,
|
|
25519
|
+
access: "create"
|
|
25520
|
+
},
|
|
25479
25521
|
"plateGallery.correctPlateText": {
|
|
25480
25522
|
capName: "plate-gallery",
|
|
25481
25523
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -4650,7 +4650,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4650
4650
|
return inst;
|
|
4651
4651
|
}
|
|
4652
4652
|
//#endregion
|
|
4653
|
-
//#region ../types/dist/sleep-
|
|
4653
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4654
4654
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4655
4655
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4656
4656
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -12189,7 +12189,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
12189
12189
|
image: _instanceof(Uint8Array).optional(),
|
|
12190
12190
|
referenceImage: string().optional(),
|
|
12191
12191
|
deviceId: number().optional(),
|
|
12192
|
-
sessionId: string().optional()
|
|
12192
|
+
sessionId: string().optional(),
|
|
12193
|
+
/**
|
|
12194
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
12195
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
12196
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
12197
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
12198
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
12199
|
+
*/
|
|
12200
|
+
plane: _enum(["full", "frame"]).optional()
|
|
12193
12201
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
12194
12202
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
12195
12203
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -12365,6 +12373,28 @@ var NativeCropResultSchema = object({
|
|
|
12365
12373
|
width: number().int().positive(),
|
|
12366
12374
|
height: number().int().positive()
|
|
12367
12375
|
});
|
|
12376
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
12377
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
12378
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
12379
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
12380
|
+
* normalized [0,1] convention). */
|
|
12381
|
+
var DetailParentSchema = object({
|
|
12382
|
+
bbox: NativeCropBboxSchema,
|
|
12383
|
+
className: string()
|
|
12384
|
+
});
|
|
12385
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
12386
|
+
* or refined detection produced by running the crop-subtree on a
|
|
12387
|
+
* single tracked detection. */
|
|
12388
|
+
var DetailResultSchema = object({
|
|
12389
|
+
stepId: string(),
|
|
12390
|
+
className: string(),
|
|
12391
|
+
score: number(),
|
|
12392
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
12393
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
12394
|
+
embedding: string().optional(),
|
|
12395
|
+
label: string().optional(),
|
|
12396
|
+
alignedCropJpeg: string().optional()
|
|
12397
|
+
});
|
|
12368
12398
|
/**
|
|
12369
12399
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
12370
12400
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -12625,7 +12655,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
12625
12655
|
handle: FrameHandleSchema,
|
|
12626
12656
|
bbox: NativeCropBboxSchema,
|
|
12627
12657
|
maxWidth: number().int().positive().optional()
|
|
12628
|
-
}), NativeCropResultSchema.nullable())
|
|
12658
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
12659
|
+
deviceId: number(),
|
|
12660
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
12661
|
+
cropJpeg: string().optional(),
|
|
12662
|
+
parent: DetailParentSchema,
|
|
12663
|
+
steps: array(string()).optional()
|
|
12664
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
12629
12665
|
/**
|
|
12630
12666
|
* Hardware / firmware motion sensor cap — binary detected state plus
|
|
12631
12667
|
* a timestamp of the last observation. Distinct from
|
|
@@ -25471,6 +25507,12 @@ Object.freeze({
|
|
|
25471
25507
|
addonId: null,
|
|
25472
25508
|
access: "create"
|
|
25473
25509
|
},
|
|
25510
|
+
"pipelineRunner.runDetailSubtree": {
|
|
25511
|
+
capName: "pipeline-runner",
|
|
25512
|
+
capScope: "system",
|
|
25513
|
+
addonId: null,
|
|
25514
|
+
access: "create"
|
|
25515
|
+
},
|
|
25474
25516
|
"plateGallery.correctPlateText": {
|
|
25475
25517
|
capName: "plate-gallery",
|
|
25476
25518
|
capScope: "system",
|