@camstack/addon-pipeline 1.2.42 → 1.2.44
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/audio-analyzer/index.js +4 -4
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/detection-pipeline/index.js +164 -88
- package/dist/detection-pipeline/index.mjs +158 -82
- package/dist/{dist-BdDd3ql_.js → dist-BuFE5rOK.js} +1608 -36
- package/dist/{dist-COK_1Ot8.mjs → dist-DOu93i_g.mjs} +1525 -37
- package/dist/{event-loop-stall-monitor-CWOJtTNc.mjs → event-loop-stall-monitor-CShgQE6l.mjs} +40 -2
- package/dist/{event-loop-stall-monitor-DNFRgNef.js → event-loop-stall-monitor-L08yG6bB.js} +40 -2
- package/dist/{model-download-service-Cp9f4dk6-fsdDExML.js → model-download-service-D8B-4ktF-7-YxE9Wx.js} +2 -2
- package/dist/{model-download-service-Cp9f4dk6-CwUb5v3Y.mjs → model-download-service-D8B-4ktF-BB7oZL3y.mjs} +2 -2
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +496 -67
- package/dist/pipeline-runner/index.mjs +496 -67
- package/dist/recorder/index.js +194 -11
- package/dist/recorder/index.mjs +191 -8
- package/dist/session-decode/decode-worker-child.js +197 -24
- package/dist/session-decode/decode-worker-child.mjs +197 -24
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-C8ovZN0g.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DiXoZnou.mjs} +2 -2
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BRc-m6W-.mjs +26 -0
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DAjAxXHm.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B_hakWAb.mjs} +1 -1
- package/dist/stream-broker/{hostInit-mEtjQWcr.mjs → hostInit-khRXMnjl.mjs} +2 -2
- package/dist/stream-broker/index.js +17331 -14101
- package/dist/stream-broker/index.mjs +17330 -14100
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/dist/worker-protocol-BOXlUhWO.mjs +244 -0
- package/dist/worker-protocol-VURr0nUh.js +279 -0
- package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-C0TIfr0G.js → MaskShapeCanvas-DI4BY7W2-DHZuYYjH.js} +1 -1
- package/embed-dist/assets/{MotionZonesSettings-NcxxQN8r-x0SkfHwv.js → MotionZonesSettings-NcxxQN8r-jFDOzPCD.js} +1 -1
- package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-BoaAB4Ta.js → PrivacyMaskSettings-APgPLF7p-BPBXgIX8.js} +1 -1
- package/embed-dist/assets/{index-BgRdCCVy.js → index-4CtQAybX.js} +12 -12
- package/embed-dist/assets/index-DC63og2c.css +2 -0
- package/embed-dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-SU_6F3Y7.mjs +0 -26
- package/dist/worker-protocol-D7RzZIla.mjs +0 -77
- package/dist/worker-protocol-DextwlTX.js +0 -94
- package/embed-dist/assets/index-CGdwTcwE.css +0 -2
package/dist/{event-loop-stall-monitor-CWOJtTNc.mjs → event-loop-stall-monitor-CShgQE6l.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as COCO_80_LABELS, o as COCO_TO_MACRO, r as AUDIO_MACRO_LABELS, z as hfModelUrl } from "./dist-DOu93i_g.mjs";
|
|
2
2
|
import { PerformanceObserver } from "node:perf_hooks";
|
|
3
3
|
//#region src/detection-pipeline/registry/model-catalogs.ts
|
|
4
4
|
var HF_REPO = "camstack/camstack-models";
|
|
@@ -1455,6 +1455,44 @@ var AnimalClassifierStep = class {
|
|
|
1455
1455
|
}];
|
|
1456
1456
|
}
|
|
1457
1457
|
};
|
|
1458
|
+
/**
|
|
1459
|
+
* `package-detection` — a ROOT detector, so its threshold is NOT the
|
|
1460
|
+
* classifier's `minConfidence` key.
|
|
1461
|
+
*
|
|
1462
|
+
* The executor filters every root detection through `macroFilterVerdict`, which
|
|
1463
|
+
* builds its key as `minConfidence${capitalize(macroClass)}`. This detector's
|
|
1464
|
+
* model emits `class: 'package'` and the step declares no `classMap`, so
|
|
1465
|
+
* `toMutableRootDetection` copies that through verbatim and the key the gate
|
|
1466
|
+
* reads is `minConfidencePackage`. A schema declaring `minConfidence` here
|
|
1467
|
+
* would render a slider that filters nothing.
|
|
1468
|
+
*
|
|
1469
|
+
* Why it exists: the 0.5 floor lived only in `definition.defaultConfidence`,
|
|
1470
|
+
* which is forwarded to the Python pool and reachable from no operator surface
|
|
1471
|
+
* (the catalog carries `configSchema` to the admin-ui; an empty schema renders
|
|
1472
|
+
* no form). Camera 615 reported a DOORMAT at 0.5669 on 2026-08-07, and the
|
|
1473
|
+
* model's own benchmark had already noted a doormat near-FP at 0.49 — the
|
|
1474
|
+
* shipped floor sat 0.01 above a known false positive with no way to move it.
|
|
1475
|
+
*
|
|
1476
|
+
* There is deliberately NO enable switch. Enablement is zone-driven
|
|
1477
|
+
* (`applyPackageZoneActivation` — drawing a `package`-stage zone rule IS the
|
|
1478
|
+
* enable), and a second enablement authority beside the zone rule is the exact
|
|
1479
|
+
* bug `packageDropEnabled` already was.
|
|
1480
|
+
*/
|
|
1481
|
+
var PackageDetectionStep = class extends PipelineStepBase {
|
|
1482
|
+
getConfigSchema() {
|
|
1483
|
+
return [{
|
|
1484
|
+
type: "slider",
|
|
1485
|
+
key: "minConfidencePackage",
|
|
1486
|
+
label: "Min Confidence — Package",
|
|
1487
|
+
description: "Drop package predictions below this score. Raise it when static porch furniture (a doormat, a plant pot) is reported as a parcel — those sit just above the default.",
|
|
1488
|
+
min: 0,
|
|
1489
|
+
max: 1,
|
|
1490
|
+
step: .05,
|
|
1491
|
+
default: this.definition.defaultConfidence,
|
|
1492
|
+
showValue: true
|
|
1493
|
+
}];
|
|
1494
|
+
}
|
|
1495
|
+
};
|
|
1458
1496
|
var ClassifierWithMinConfidence = class extends PipelineStepBase {
|
|
1459
1497
|
getConfigSchema() {
|
|
1460
1498
|
return [{
|
|
@@ -1628,7 +1666,7 @@ var STEP_PLATE_OCR = new PlateOcrStep({
|
|
|
1628
1666
|
maxPerTrack: 5
|
|
1629
1667
|
}
|
|
1630
1668
|
});
|
|
1631
|
-
var STEP_PACKAGE_DETECTION = new
|
|
1669
|
+
var STEP_PACKAGE_DETECTION = new PackageDetectionStep({
|
|
1632
1670
|
id: "package-detection",
|
|
1633
1671
|
name: "Package Detection",
|
|
1634
1672
|
slot: "detector",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
1
|
+
const require_dist = require("./dist-BuFE5rOK.js");
|
|
2
2
|
let node_perf_hooks = require("node:perf_hooks");
|
|
3
3
|
//#region src/detection-pipeline/registry/model-catalogs.ts
|
|
4
4
|
var HF_REPO = "camstack/camstack-models";
|
|
@@ -1455,6 +1455,44 @@ var AnimalClassifierStep = class {
|
|
|
1455
1455
|
}];
|
|
1456
1456
|
}
|
|
1457
1457
|
};
|
|
1458
|
+
/**
|
|
1459
|
+
* `package-detection` — a ROOT detector, so its threshold is NOT the
|
|
1460
|
+
* classifier's `minConfidence` key.
|
|
1461
|
+
*
|
|
1462
|
+
* The executor filters every root detection through `macroFilterVerdict`, which
|
|
1463
|
+
* builds its key as `minConfidence${capitalize(macroClass)}`. This detector's
|
|
1464
|
+
* model emits `class: 'package'` and the step declares no `classMap`, so
|
|
1465
|
+
* `toMutableRootDetection` copies that through verbatim and the key the gate
|
|
1466
|
+
* reads is `minConfidencePackage`. A schema declaring `minConfidence` here
|
|
1467
|
+
* would render a slider that filters nothing.
|
|
1468
|
+
*
|
|
1469
|
+
* Why it exists: the 0.5 floor lived only in `definition.defaultConfidence`,
|
|
1470
|
+
* which is forwarded to the Python pool and reachable from no operator surface
|
|
1471
|
+
* (the catalog carries `configSchema` to the admin-ui; an empty schema renders
|
|
1472
|
+
* no form). Camera 615 reported a DOORMAT at 0.5669 on 2026-08-07, and the
|
|
1473
|
+
* model's own benchmark had already noted a doormat near-FP at 0.49 — the
|
|
1474
|
+
* shipped floor sat 0.01 above a known false positive with no way to move it.
|
|
1475
|
+
*
|
|
1476
|
+
* There is deliberately NO enable switch. Enablement is zone-driven
|
|
1477
|
+
* (`applyPackageZoneActivation` — drawing a `package`-stage zone rule IS the
|
|
1478
|
+
* enable), and a second enablement authority beside the zone rule is the exact
|
|
1479
|
+
* bug `packageDropEnabled` already was.
|
|
1480
|
+
*/
|
|
1481
|
+
var PackageDetectionStep = class extends PipelineStepBase {
|
|
1482
|
+
getConfigSchema() {
|
|
1483
|
+
return [{
|
|
1484
|
+
type: "slider",
|
|
1485
|
+
key: "minConfidencePackage",
|
|
1486
|
+
label: "Min Confidence — Package",
|
|
1487
|
+
description: "Drop package predictions below this score. Raise it when static porch furniture (a doormat, a plant pot) is reported as a parcel — those sit just above the default.",
|
|
1488
|
+
min: 0,
|
|
1489
|
+
max: 1,
|
|
1490
|
+
step: .05,
|
|
1491
|
+
default: this.definition.defaultConfidence,
|
|
1492
|
+
showValue: true
|
|
1493
|
+
}];
|
|
1494
|
+
}
|
|
1495
|
+
};
|
|
1458
1496
|
var ClassifierWithMinConfidence = class extends PipelineStepBase {
|
|
1459
1497
|
getConfigSchema() {
|
|
1460
1498
|
return [{
|
|
@@ -1628,7 +1666,7 @@ var STEP_PLATE_OCR = new PlateOcrStep({
|
|
|
1628
1666
|
maxPerTrack: 5
|
|
1629
1667
|
}
|
|
1630
1668
|
});
|
|
1631
|
-
var STEP_PACKAGE_DETECTION = new
|
|
1669
|
+
var STEP_PACKAGE_DETECTION = new PackageDetectionStep({
|
|
1632
1670
|
id: "package-detection",
|
|
1633
1671
|
name: "Package Detection",
|
|
1634
1672
|
slot: "detector",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-emK7D4bc.js");
|
|
2
|
+
require("node:crypto");
|
|
2
3
|
let node_fs = require("node:fs");
|
|
3
4
|
node_fs = require_chunk.__toESM(node_fs, 1);
|
|
4
5
|
let node_path = require("node:path");
|
|
5
6
|
node_path = require_chunk.__toESM(node_path, 1);
|
|
6
|
-
|
|
7
|
-
//#region ../system/dist/model-download-service-Cp9f4dk6.mjs
|
|
7
|
+
//#region ../system/dist/model-download-service-D8B-4ktF.mjs
|
|
8
8
|
/**
|
|
9
9
|
* Map a rel path to one candidate absolute path PER root, keeping only roots the
|
|
10
10
|
* path stays within (traversal guard). The handler serves the first candidate
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import "node:crypto";
|
|
1
2
|
import * as fs from "node:fs";
|
|
2
3
|
import { createReadStream, promises } from "node:fs";
|
|
3
4
|
import * as path$1 from "node:path";
|
|
4
5
|
import path from "node:path";
|
|
5
|
-
|
|
6
|
-
//#region ../system/dist/model-download-service-Cp9f4dk6.mjs
|
|
6
|
+
//#region ../system/dist/model-download-service-D8B-4ktF.mjs
|
|
7
7
|
/**
|
|
8
8
|
* Map a rel path to one candidate absolute path PER root, keeping only roots the
|
|
9
9
|
* path stays within (traversal guard). The handler serves the first candidate
|
|
@@ -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-
|
|
5
|
+
const require_dist = require("../dist-BuFE5rOK.js");
|
|
6
6
|
const require_lazy_sharp = require("../lazy-sharp-CcYuXtsa.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { R as evaluateZoneRules, W as motionDetectionCapability, it as BaseAddon, lt as hydrateSchema, st as DeviceType } from "../dist-DOu93i_g.mjs";
|
|
2
2
|
import { t as getSharp } from "../lazy-sharp-B-mb8uWx.mjs";
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { join } from "node:path";
|