@camstack/addon-post-analysis 1.2.5 → 1.2.6

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.
@@ -11039,6 +11039,22 @@ var CameraMetricsSchema = object({
11039
11039
  ])
11040
11040
  });
11041
11041
  var CameraMetricsWithDeviceIdSchema = CameraMetricsSchema.extend({ deviceId: number() });
11042
+ /**
11043
+ * Reference to the frame's retained NATIVE surface + the parent crop's placement
11044
+ * within the frame, so the executor can re-cut a leaf child ROI at native
11045
+ * resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
11046
+ */
11047
+ var NativeCropRefSchema = object({
11048
+ /** Handle keying the retained native surface (node-pinned to its owner). */
11049
+ handle: FrameHandleSchema,
11050
+ /** The parent crop's padded/clamped rectangle in FRAME-space pixels. */
11051
+ cropFrameSpace: object({
11052
+ x: number(),
11053
+ y: number(),
11054
+ w: number(),
11055
+ h: number()
11056
+ })
11057
+ });
11042
11058
  var ModelFormatSchema$1 = _enum([
11043
11059
  "onnx",
11044
11060
  "coreml",
@@ -11314,7 +11330,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11314
11330
  * Omitted ⇒ the runner's default device (current single-engine
11315
11331
  * behaviour). Selects WHICH device pool of the node runs the call.
11316
11332
  */
11317
- deviceKey: string().optional()
11333
+ deviceKey: string().optional(),
11334
+ /**
11335
+ * Two-plane NATIVE child-crop reference. Set by `runDetailSubtree` ONLY
11336
+ * when the parent crop was resolved from the frame's retained NATIVE
11337
+ * surface (a frameHandle HIT). Lets the executor re-cut a LEAF crop
11338
+ * child's ROI (plate-ocr, face-embedding, leaf classifiers) at native
11339
+ * resolution from that surface — the SAME quality path faces already
11340
+ * had — instead of the downscaled parent tile. `handle` keys the native
11341
+ * surface (node-pinned to its owner); `cropFrameSpace` is the parent
11342
+ * crop's padded/clamped rectangle in FRAME-space pixels, used to compose
11343
+ * the executor's crop-normalized child ROI back into frame-normalized
11344
+ * coordinates. Auxiliary to the image source (`image`/`frame`/…), NOT one
11345
+ * of the mutually-exclusive image inputs. Absent ⇒ tile-crop children
11346
+ * (today's behaviour on the fallback path).
11347
+ */
11348
+ nativeCropRef: NativeCropRefSchema.optional()
11318
11349
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11319
11350
  engine: PipelineEngineChoiceSchema.optional(),
11320
11351
  steps: array(PipelineStepInputSchema).min(1),
@@ -11530,7 +11561,11 @@ var DetailResultSchema = object({
11530
11561
  bbox: NativeCropBboxSchema.optional(),
11531
11562
  embedding: string().optional(),
11532
11563
  label: string().optional(),
11533
- alignedCropJpeg: string().optional()
11564
+ alignedCropJpeg: string().optional(),
11565
+ /** Face short side (px) measured on the NATIVE crop surface. The `bbox`
11566
+ * above is detection-frame px (≈6× smaller on a 4K camera) — min-face-size
11567
+ * consumers MUST prefer this when present (2026-07-22 native-gate fix). */
11568
+ nativeFaceShortSidePx: number().optional()
11534
11569
  });
11535
11570
  /**
11536
11571
  * Per-camera tunable ranges + defaults. Single source of truth used
@@ -11017,6 +11017,22 @@ var CameraMetricsSchema = object({
11017
11017
  ])
11018
11018
  });
11019
11019
  var CameraMetricsWithDeviceIdSchema = CameraMetricsSchema.extend({ deviceId: number() });
11020
+ /**
11021
+ * Reference to the frame's retained NATIVE surface + the parent crop's placement
11022
+ * within the frame, so the executor can re-cut a leaf child ROI at native
11023
+ * resolution on the detail plane. See the `runPipeline` `nativeCropRef` field.
11024
+ */
11025
+ var NativeCropRefSchema = object({
11026
+ /** Handle keying the retained native surface (node-pinned to its owner). */
11027
+ handle: FrameHandleSchema,
11028
+ /** The parent crop's padded/clamped rectangle in FRAME-space pixels. */
11029
+ cropFrameSpace: object({
11030
+ x: number(),
11031
+ y: number(),
11032
+ w: number(),
11033
+ h: number()
11034
+ })
11035
+ });
11020
11036
  var ModelFormatSchema$1 = _enum([
11021
11037
  "onnx",
11022
11038
  "coreml",
@@ -11292,7 +11308,22 @@ method(_void(), array(PipelineEngineChoiceSchema)), method(_void(), PipelineEngi
11292
11308
  * Omitted ⇒ the runner's default device (current single-engine
11293
11309
  * behaviour). Selects WHICH device pool of the node runs the call.
11294
11310
  */
11295
- deviceKey: string().optional()
11311
+ deviceKey: string().optional(),
11312
+ /**
11313
+ * Two-plane NATIVE child-crop reference. Set by `runDetailSubtree` ONLY
11314
+ * when the parent crop was resolved from the frame's retained NATIVE
11315
+ * surface (a frameHandle HIT). Lets the executor re-cut a LEAF crop
11316
+ * child's ROI (plate-ocr, face-embedding, leaf classifiers) at native
11317
+ * resolution from that surface — the SAME quality path faces already
11318
+ * had — instead of the downscaled parent tile. `handle` keys the native
11319
+ * surface (node-pinned to its owner); `cropFrameSpace` is the parent
11320
+ * crop's padded/clamped rectangle in FRAME-space pixels, used to compose
11321
+ * the executor's crop-normalized child ROI back into frame-normalized
11322
+ * coordinates. Auxiliary to the image source (`image`/`frame`/…), NOT one
11323
+ * of the mutually-exclusive image inputs. Absent ⇒ tile-crop children
11324
+ * (today's behaviour on the fallback path).
11325
+ */
11326
+ nativeCropRef: NativeCropRefSchema.optional()
11296
11327
  }), PipelineRunResultBridge, { kind: "mutation" }), method(object({
11297
11328
  engine: PipelineEngineChoiceSchema.optional(),
11298
11329
  steps: array(PipelineStepInputSchema).min(1),
@@ -11508,7 +11539,11 @@ var DetailResultSchema = object({
11508
11539
  bbox: NativeCropBboxSchema.optional(),
11509
11540
  embedding: string().optional(),
11510
11541
  label: string().optional(),
11511
- alignedCropJpeg: string().optional()
11542
+ alignedCropJpeg: string().optional(),
11543
+ /** Face short side (px) measured on the NATIVE crop surface. The `bbox`
11544
+ * above is detection-frame px (≈6× smaller on a 4K camera) — min-face-size
11545
+ * consumers MUST prefer this when present (2026-07-22 native-gate fix). */
11546
+ nativeFaceShortSidePx: number().optional()
11512
11547
  });
11513
11548
  /**
11514
11549
  * Per-camera tunable ranges + defaults. Single source of truth used
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-Dlb4YrCt.js");
5
+ const require_dist = require("../dist-BvEJmXbR.js");
6
6
  let node_fs = require("node:fs");
7
7
  let node_fs$1 = require_dist.__toESM(node_fs, 1);
8
8
  node_fs = require_dist.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { b as BaseAddon, f as hfModelUrl, u as embeddingEncoderCapability } from "../dist-Db0CsDGK.mjs";
1
+ import { b as BaseAddon, f as hfModelUrl, u as embeddingEncoderCapability } from "../dist-DGkWhfba.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import * as path$1 from "node:path";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-Dlb4YrCt.js");
1
+ const require_dist = require("./dist-BvEJmXbR.js");
2
2
  let node_fs = require("node:fs");
3
3
  node_fs = require_dist.__toESM(node_fs, 1);
4
4
  let node_path = require("node:path");
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.5",
21
+ version: "1.2.7",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.5",
39
+ version: "1.2.7",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,