@camstack/addon-decoder-nodeav 1.1.10 → 1.1.11
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.js +45 -3
- package/dist/index.mjs +45 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4634,7 +4634,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4634
4634
|
return inst;
|
|
4635
4635
|
}
|
|
4636
4636
|
//#endregion
|
|
4637
|
-
//#region ../types/dist/sleep-
|
|
4637
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4638
4638
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4639
4639
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4640
4640
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10682,7 +10682,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10682
10682
|
image: _instanceof(Uint8Array).optional(),
|
|
10683
10683
|
referenceImage: string().optional(),
|
|
10684
10684
|
deviceId: number().optional(),
|
|
10685
|
-
sessionId: string().optional()
|
|
10685
|
+
sessionId: string().optional(),
|
|
10686
|
+
/**
|
|
10687
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10688
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10689
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10690
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10691
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10692
|
+
*/
|
|
10693
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10686
10694
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10687
10695
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10688
10696
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10825,6 +10833,28 @@ var NativeCropResultSchema = object({
|
|
|
10825
10833
|
width: number().int().positive(),
|
|
10826
10834
|
height: number().int().positive()
|
|
10827
10835
|
});
|
|
10836
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10837
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10838
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10839
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10840
|
+
* normalized [0,1] convention). */
|
|
10841
|
+
var DetailParentSchema = object({
|
|
10842
|
+
bbox: NativeCropBboxSchema,
|
|
10843
|
+
className: string()
|
|
10844
|
+
});
|
|
10845
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10846
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10847
|
+
* single tracked detection. */
|
|
10848
|
+
var DetailResultSchema = object({
|
|
10849
|
+
stepId: string(),
|
|
10850
|
+
className: string(),
|
|
10851
|
+
score: number(),
|
|
10852
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10853
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10854
|
+
embedding: string().optional(),
|
|
10855
|
+
label: string().optional(),
|
|
10856
|
+
alignedCropJpeg: string().optional()
|
|
10857
|
+
});
|
|
10828
10858
|
/**
|
|
10829
10859
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10830
10860
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11085,7 +11115,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11085
11115
|
handle: FrameHandleSchema,
|
|
11086
11116
|
bbox: NativeCropBboxSchema,
|
|
11087
11117
|
maxWidth: number().int().positive().optional()
|
|
11088
|
-
}), NativeCropResultSchema.nullable())
|
|
11118
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11119
|
+
deviceId: number(),
|
|
11120
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11121
|
+
cropJpeg: string().optional(),
|
|
11122
|
+
parent: DetailParentSchema,
|
|
11123
|
+
steps: array(string()).optional()
|
|
11124
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11089
11125
|
object({
|
|
11090
11126
|
detected: boolean(),
|
|
11091
11127
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -22032,6 +22068,12 @@ Object.freeze({
|
|
|
22032
22068
|
addonId: null,
|
|
22033
22069
|
access: "create"
|
|
22034
22070
|
},
|
|
22071
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22072
|
+
capName: "pipeline-runner",
|
|
22073
|
+
capScope: "system",
|
|
22074
|
+
addonId: null,
|
|
22075
|
+
access: "create"
|
|
22076
|
+
},
|
|
22035
22077
|
"plateGallery.correctPlateText": {
|
|
22036
22078
|
capName: "plate-gallery",
|
|
22037
22079
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -4630,7 +4630,7 @@ function _instanceof(cls, params = {}) {
|
|
|
4630
4630
|
return inst;
|
|
4631
4631
|
}
|
|
4632
4632
|
//#endregion
|
|
4633
|
-
//#region ../types/dist/sleep-
|
|
4633
|
+
//#region ../types/dist/sleep-Baang_XW.mjs
|
|
4634
4634
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4635
4635
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4636
4636
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -10678,7 +10678,15 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
|
|
|
10678
10678
|
image: _instanceof(Uint8Array).optional(),
|
|
10679
10679
|
referenceImage: string().optional(),
|
|
10680
10680
|
deviceId: number().optional(),
|
|
10681
|
-
sessionId: string().optional()
|
|
10681
|
+
sessionId: string().optional(),
|
|
10682
|
+
/**
|
|
10683
|
+
* Execution plane. 'full' (default) runs the whole tree — benchmark,
|
|
10684
|
+
* reference-image, and detail-subtree calls. 'frame' is the live
|
|
10685
|
+
* per-frame dispatch: ONLY root-plane steps run; crop children
|
|
10686
|
+
* (inputClasses ≠ null) are skipped and served per-track via
|
|
10687
|
+
* pipelineRunner.runDetailSubtree (two-plane design).
|
|
10688
|
+
*/
|
|
10689
|
+
plane: _enum(["full", "frame"]).optional()
|
|
10682
10690
|
}), PipelineRunResultBridge, { kind: "mutation" }), method(object({
|
|
10683
10691
|
engine: PipelineEngineChoiceSchema.optional(),
|
|
10684
10692
|
steps: array(PipelineStepInputSchema).min(1),
|
|
@@ -10821,6 +10829,28 @@ var NativeCropResultSchema = object({
|
|
|
10821
10829
|
width: number().int().positive(),
|
|
10822
10830
|
height: number().int().positive()
|
|
10823
10831
|
});
|
|
10832
|
+
/** Parent detection context passed to `runDetailSubtree` — the crop's
|
|
10833
|
+
* originating detection, in FRAME-space coordinates. Reuses
|
|
10834
|
+
* `NativeCropBboxSchema`'s `{x,y,w,h}` shape (same numeric fields; here
|
|
10835
|
+
* the coordinates are frame-space rather than getNativeCrop's
|
|
10836
|
+
* normalized [0,1] convention). */
|
|
10837
|
+
var DetailParentSchema = object({
|
|
10838
|
+
bbox: NativeCropBboxSchema,
|
|
10839
|
+
className: string()
|
|
10840
|
+
});
|
|
10841
|
+
/** One child-step result from `runDetailSubtree` — an embedding, label,
|
|
10842
|
+
* or refined detection produced by running the crop-subtree on a
|
|
10843
|
+
* single tracked detection. */
|
|
10844
|
+
var DetailResultSchema = object({
|
|
10845
|
+
stepId: string(),
|
|
10846
|
+
className: string(),
|
|
10847
|
+
score: number(),
|
|
10848
|
+
/** FRAME-space bbox (already mapped back from crop space). */
|
|
10849
|
+
bbox: NativeCropBboxSchema.optional(),
|
|
10850
|
+
embedding: string().optional(),
|
|
10851
|
+
label: string().optional(),
|
|
10852
|
+
alignedCropJpeg: string().optional()
|
|
10853
|
+
});
|
|
10824
10854
|
/**
|
|
10825
10855
|
* Per-camera tunable ranges + defaults. Single source of truth used
|
|
10826
10856
|
* by both the Zod data schema (validation + default fallback) and
|
|
@@ -11081,7 +11111,13 @@ method(RunnerCameraConfigSchema, object({ success: literal(true) }), { kind: "mu
|
|
|
11081
11111
|
handle: FrameHandleSchema,
|
|
11082
11112
|
bbox: NativeCropBboxSchema,
|
|
11083
11113
|
maxWidth: number().int().positive().optional()
|
|
11084
|
-
}), NativeCropResultSchema.nullable())
|
|
11114
|
+
}), NativeCropResultSchema.nullable()), method(object({
|
|
11115
|
+
deviceId: number(),
|
|
11116
|
+
frameHandle: FrameHandleSchema.optional(),
|
|
11117
|
+
cropJpeg: string().optional(),
|
|
11118
|
+
parent: DetailParentSchema,
|
|
11119
|
+
steps: array(string()).optional()
|
|
11120
|
+
}), object({ details: array(DetailResultSchema) }).nullable(), { kind: "mutation" });
|
|
11085
11121
|
object({
|
|
11086
11122
|
detected: boolean(),
|
|
11087
11123
|
/** Ms epoch of the last detected-true observation. Null if never detected. */
|
|
@@ -22028,6 +22064,12 @@ Object.freeze({
|
|
|
22028
22064
|
addonId: null,
|
|
22029
22065
|
access: "create"
|
|
22030
22066
|
},
|
|
22067
|
+
"pipelineRunner.runDetailSubtree": {
|
|
22068
|
+
capName: "pipeline-runner",
|
|
22069
|
+
capScope: "system",
|
|
22070
|
+
addonId: null,
|
|
22071
|
+
access: "create"
|
|
22072
|
+
},
|
|
22031
22073
|
"plateGallery.correctPlateText": {
|
|
22032
22074
|
capName: "plate-gallery",
|
|
22033
22075
|
capScope: "system",
|