@camstack/addon-static-turn 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/static-turn.addon.js +45 -3
- package/dist/static-turn.addon.mjs +45 -3
- package/package.json +1 -1
|
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4628
4628
|
return inst;
|
|
4629
4629
|
}
|
|
4630
4630
|
//#endregion
|
|
4631
|
-
//#region ../types/dist/sleep-
|
|
4631
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4632
4632
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4633
4633
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4634
4634
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10664,7 +10664,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10664
10664
|
image: _instanceof(Uint8Array).optional(),
|
|
10665
10665
|
referenceImage: string().optional(),
|
|
10666
10666
|
deviceId: number().optional(),
|
|
10667
|
-
sessionId: string().optional()
|
|
10667
|
+
sessionId: string().optional(),
|
|
10668
|
+
/**
|
|
10669
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10670
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10671
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10672
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10673
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10674
|
+
*/
|
|
10675
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10668
10676
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10669
10677
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10670
10678
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10807,6 +10815,28 @@ var NativeCropResultSchema = object({
|
|
|
10807
10815
|
width: number().int().positive(),
|
|
10808
10816
|
height: number().int().positive()
|
|
10809
10817
|
});
|
|
10818
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10819
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10820
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10821
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10822
|
+
* normalized [0,1] convention). */
|
|
10823
|
+
var DetailParentSchema = object({
|
|
10824
|
+
bbox: NativeCropBboxSchema,
|
|
10825
|
+
className: string()
|
|
10826
|
+
});
|
|
10827
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10828
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10829
|
+
* single tracked detection. */
|
|
10830
|
+
var DetailResultSchema = object({
|
|
10831
|
+
stepId: string(),
|
|
10832
|
+
className: string(),
|
|
10833
|
+
score: number(),
|
|
10834
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10835
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10836
|
+
embedding: string().optional(),
|
|
10837
|
+
label: string().optional(),
|
|
10838
|
+
alignedCropJpeg: string().optional()
|
|
10839
|
+
});
|
|
10810
10840
|
/**
|
|
10811
10841
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10812
10842
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11067,7 +11097,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11067
11097
|
handle: FrameHandleSchema,
|
|
11068
11098
|
bbox: NativeCropBboxSchema,
|
|
11069
11099
|
maxWidth: number().int().positive().optional()
|
|
11070
|
-
}), NativeCropResultSchema.nullable())
|
|
11100
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11101
|
+
deviceId: number(),
|
|
11102
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11103
|
+
cropJpeg: string().optional(),
|
|
11104
|
+
parent: DetailParentSchema,
|
|
11105
|
+
steps: array(string()).optional()
|
|
11106
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11071
11107
|
object({
|
|
11072
11108
|
detected: boolean(),
|
|
11073
11109
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -21907,6 +21943,12 @@ Object.freeze({
|
|
|
21907
21943
|
addonId: null,
|
|
21908
21944
|
access: "create"
|
|
21909
21945
|
},
|
|
21946
|
+
"pipelineRunner.runDetailSubtree": {
|
|
21947
|
+
capName: "pipeline-runner",
|
|
21948
|
+
capScope: "system",
|
|
21949
|
+
addonId: null,
|
|
21950
|
+
access: "create"
|
|
21951
|
+
},
|
|
21910
21952
|
"plateGallery.correctPlateText": {
|
|
21911
21953
|
capName: "plate-gallery",
|
|
21912
21954
|
capScope: "system",
|
|
@@ -4627,7 +4627,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4627
4627
|
return inst;
|
|
4628
4628
|
}
|
|
4629
4629
|
//#endregion
|
|
4630
|
-
//#region ../types/dist/sleep-
|
|
4630
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4631
4631
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4632
4632
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4633
4633
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10663,7 +10663,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10663
10663
|
image: _instanceof(Uint8Array).optional(),
|
|
10664
10664
|
referenceImage: string().optional(),
|
|
10665
10665
|
deviceId: number().optional(),
|
|
10666
|
-
sessionId: string().optional()
|
|
10666
|
+
sessionId: string().optional(),
|
|
10667
|
+
/**
|
|
10668
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10669
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10670
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10671
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10672
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10673
|
+
*/
|
|
10674
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10667
10675
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10668
10676
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10669
10677
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10806,6 +10814,28 @@ var NativeCropResultSchema = object({
|
|
|
10806
10814
|
width: number().int().positive(),
|
|
10807
10815
|
height: number().int().positive()
|
|
10808
10816
|
});
|
|
10817
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10818
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10819
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10820
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10821
|
+
* normalized [0,1] convention). */
|
|
10822
|
+
var DetailParentSchema = object({
|
|
10823
|
+
bbox: NativeCropBboxSchema,
|
|
10824
|
+
className: string()
|
|
10825
|
+
});
|
|
10826
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10827
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10828
|
+
* single tracked detection. */
|
|
10829
|
+
var DetailResultSchema = object({
|
|
10830
|
+
stepId: string(),
|
|
10831
|
+
className: string(),
|
|
10832
|
+
score: number(),
|
|
10833
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10834
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10835
|
+
embedding: string().optional(),
|
|
10836
|
+
label: string().optional(),
|
|
10837
|
+
alignedCropJpeg: string().optional()
|
|
10838
|
+
});
|
|
10809
10839
|
/**
|
|
10810
10840
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10811
10841
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11066,7 +11096,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11066
11096
|
handle: FrameHandleSchema,
|
|
11067
11097
|
bbox: NativeCropBboxSchema,
|
|
11068
11098
|
maxWidth: number().int().positive().optional()
|
|
11069
|
-
}), NativeCropResultSchema.nullable())
|
|
11099
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11100
|
+
deviceId: number(),
|
|
11101
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11102
|
+
cropJpeg: string().optional(),
|
|
11103
|
+
parent: DetailParentSchema,
|
|
11104
|
+
steps: array(string()).optional()
|
|
11105
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11070
11106
|
object({
|
|
11071
11107
|
detected: boolean(),
|
|
11072
11108
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -21906,6 +21942,12 @@ Object.freeze({
|
|
|
21906
21942
|
addonId: null,
|
|
21907
21943
|
access: "create"
|
|
21908
21944
|
},
|
|
21945
|
+
"pipelineRunner.runDetailSubtree": {
|
|
21946
|
+
capName: "pipeline-runner",
|
|
21947
|
+
capScope: "system",
|
|
21948
|
+
addonId: null,
|
|
21949
|
+
access: "create"
|
|
21950
|
+
},
|
|
21909
21951
|
"plateGallery.correctPlateText": {
|
|
21910
21952
|
capName: "plate-gallery",
|
|
21911
21953
|
capScope: "system",
|