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