@camstack/addon-post-analysis 1.2.283 → 1.2.284

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.
@@ -10136,10 +10136,17 @@ var ModelCatalogEntrySchema = object({
10136
10136
  inputChannels: number().int().positive().optional(),
10137
10137
  labels: array(LabelDefinitionSchema).readonly(),
10138
10138
  inputLayout: _enum(["nchw", "nhwc"]).optional(),
10139
+ /**
10140
+ * `'scrfd'` applies InsightFace's SCRFD input contract, `(x - 127.5) / 128`
10141
+ * (upstream `insightface/model_zoo/scrfd.py`), instead of the historical
10142
+ * plain `/255`. Measured against COCO GT: 188 → 196 faces found on the
10143
+ * `scrfd-2.5g` catalog entry (2026-09-26 model-replacement spike, §2.4-2).
10144
+ */
10139
10145
  inputNormalization: _enum([
10140
10146
  "zero-one",
10141
10147
  "imagenet",
10142
- "none"
10148
+ "none",
10149
+ "scrfd"
10143
10150
  ]).optional(),
10144
10151
  /**
10145
10152
  * The model already applies softmax IN-GRAPH — its raw output is a
@@ -10241,7 +10248,8 @@ var ModelConvertMetadataSchema = object({
10241
10248
  inputNormalization: _enum([
10242
10249
  "zero-one",
10243
10250
  "imagenet",
10244
- "none"
10251
+ "none",
10252
+ "scrfd"
10245
10253
  ]).optional(),
10246
10254
  preprocessMode: _enum(["letterbox", "resize"]).optional(),
10247
10255
  outputFormat: _enum([
@@ -24198,7 +24206,17 @@ var DetailResultSchema = object({
24198
24206
  /** Face short side (px) measured on the NATIVE crop surface. The `bbox`
24199
24207
  * above is detection-frame px (≈6× smaller on a 4K camera) — min-face-size
24200
24208
  * consumers MUST prefer this when present (2026-07-22 native-gate fix). */
24201
- nativeFaceShortSidePx: number().optional()
24209
+ nativeFaceShortSidePx: number().optional(),
24210
+ /**
24211
+ * The five facial landmarks of a `face` detail, in the SAME frame space as
24212
+ * `bbox` (D644). Additive and optional: post-analysis stores them beside the
24213
+ * face's source frame so a future alignment can be re-derived exactly; a
24214
+ * runner that predates the field sends none and the face is stored without.
24215
+ */
24216
+ landmarks: array(object({
24217
+ x: number(),
24218
+ y: number()
24219
+ })).optional()
24202
24220
  });
24203
24221
  /**
24204
24222
  * Why an executing node REFUSED a stateless step run (`runStatelessStep`).
@@ -10105,10 +10105,17 @@ var ModelCatalogEntrySchema = object({
10105
10105
  inputChannels: number().int().positive().optional(),
10106
10106
  labels: array(LabelDefinitionSchema).readonly(),
10107
10107
  inputLayout: _enum(["nchw", "nhwc"]).optional(),
10108
+ /**
10109
+ * `'scrfd'` applies InsightFace's SCRFD input contract, `(x - 127.5) / 128`
10110
+ * (upstream `insightface/model_zoo/scrfd.py`), instead of the historical
10111
+ * plain `/255`. Measured against COCO GT: 188 → 196 faces found on the
10112
+ * `scrfd-2.5g` catalog entry (2026-09-26 model-replacement spike, §2.4-2).
10113
+ */
10108
10114
  inputNormalization: _enum([
10109
10115
  "zero-one",
10110
10116
  "imagenet",
10111
- "none"
10117
+ "none",
10118
+ "scrfd"
10112
10119
  ]).optional(),
10113
10120
  /**
10114
10121
  * The model already applies softmax IN-GRAPH — its raw output is a
@@ -10210,7 +10217,8 @@ var ModelConvertMetadataSchema = object({
10210
10217
  inputNormalization: _enum([
10211
10218
  "zero-one",
10212
10219
  "imagenet",
10213
- "none"
10220
+ "none",
10221
+ "scrfd"
10214
10222
  ]).optional(),
10215
10223
  preprocessMode: _enum(["letterbox", "resize"]).optional(),
10216
10224
  outputFormat: _enum([
@@ -24167,7 +24175,17 @@ var DetailResultSchema = object({
24167
24175
  /** Face short side (px) measured on the NATIVE crop surface. The `bbox`
24168
24176
  * above is detection-frame px (≈6× smaller on a 4K camera) — min-face-size
24169
24177
  * consumers MUST prefer this when present (2026-07-22 native-gate fix). */
24170
- nativeFaceShortSidePx: number().optional()
24178
+ nativeFaceShortSidePx: number().optional(),
24179
+ /**
24180
+ * The five facial landmarks of a `face` detail, in the SAME frame space as
24181
+ * `bbox` (D644). Additive and optional: post-analysis stores them beside the
24182
+ * face's source frame so a future alignment can be re-derived exactly; a
24183
+ * runner that predates the field sends none and the face is stored without.
24184
+ */
24185
+ landmarks: array(object({
24186
+ x: number(),
24187
+ y: number()
24188
+ })).optional()
24171
24189
  });
24172
24190
  /**
24173
24191
  * Why an executing node REFUSED a stateless step run (`runStatelessStep`).
@@ -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-CT5xOY86.js");
5
+ const require_dist = require("../dist-Bpx5JMso.js");
6
6
  let node_fs = require("node:fs");
7
7
  node_fs = require_dist.__toESM(node_fs);
8
8
  let node_path = require("node:path");
@@ -1,4 +1,4 @@
1
- import { Tt as embeddingEncoderCapability, Ut as parseProcStatus, Xt as resolvePoolMemoryPolicy, jt as hfModelUrl, tt as PoolMemoryWatchdog, un as BaseAddon } from "../dist-zp1v7cCp.mjs";
1
+ import { Tt as embeddingEncoderCapability, Ut as parseProcStatus, Xt as resolvePoolMemoryPolicy, jt as hfModelUrl, tt as PoolMemoryWatchdog, un as BaseAddon } from "../dist-C770IfQJ.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";
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.257",
21
+ version: "1.2.259",
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.257",
39
+ version: "1.2.259",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,