@camstack/addon-pipeline 1.2.619 → 1.2.621
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 +3 -3
- package/dist/audio-analyzer/index.mjs +3 -3
- package/dist/{custom-model-catalog-CtwTRnkw.mjs → custom-model-catalog-0_SnSXzN.mjs} +2 -2
- package/dist/{custom-model-catalog-Cn0kRD3w.js → custom-model-catalog-Il8UY4D4.js} +2 -2
- package/dist/detection-pipeline/index.js +11 -6
- package/dist/detection-pipeline/index.mjs +11 -6
- package/dist/{dist-CKI0TPq_.js → dist-ClkumZgv.js} +6870 -1414
- package/dist/{dist-L2gIYUSW.mjs → dist-DHqkQhTQ.mjs} +6859 -1415
- package/dist/{model-catalogs-CvjhHSYH.js → model-catalogs-BagalaYp.js} +1 -1
- package/dist/{model-catalogs-BEL5IntY.mjs → model-catalogs-Z1GZAhSb.mjs} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-Cl9jPP-W.js → node-0O_61WVW.js} +1 -1
- package/dist/{node-BTcllpO8.mjs → node-CkJLxlWI.mjs} +1 -1
- package/dist/pipeline-runner/index.js +3 -3
- package/dist/pipeline-runner/index.mjs +3 -3
- package/dist/{process-memory-oCLpTRfC.js → process-memory-DdIOhjYB.js} +1 -1
- package/dist/{process-memory-BZysh_Ow.mjs → process-memory-Dj3UgL1e.mjs} +1 -1
- package/dist/recorder/index.js +10 -18
- package/dist/recorder/index.mjs +10 -18
- package/dist/{segment-demux-js-BYhSnRdH.js → segment-demux-js-BePzacki.js} +1 -1
- package/dist/{segment-demux-js-CRLu3mac.mjs → segment-demux-js-Bv0t0-tQ.mjs} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CUjRbxP-.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-dNk74ahz.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-2KkGoQ55.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-BRT-stIJ.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-Dx-WrMx0.mjs} +1 -1
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-DXO96V0R.mjs → hostInit-CH5g78CJ.mjs} +3 -3
- package/dist/stream-broker/index.js +3 -3
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- 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-BaoBRCJs.mjs +0 -26
|
@@ -3,9 +3,9 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../chunk-emK7D4bc.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
7
|
-
const require_model_catalogs = require("../model-catalogs-
|
|
8
|
-
const require_process_memory = require("../process-memory-
|
|
6
|
+
const require_dist = require("../dist-ClkumZgv.js");
|
|
7
|
+
const require_model_catalogs = require("../model-catalogs-BagalaYp.js");
|
|
8
|
+
const require_process_memory = require("../process-memory-DdIOhjYB.js");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
10
10
|
node_fs = require_chunk.__toESM(node_fs);
|
|
11
11
|
let node_path = require("node:path");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import { $ as audioAnalyzerCapability,
|
|
3
|
-
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-
|
|
4
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
2
|
+
import { $ as audioAnalyzerCapability, Bt as mapAudioLabelToMacro, F as PoolMemoryWatchdog, In as BaseAddon, Jn as hydrateSchema, Kn as expandAudioChunkToF32le, Pn as errMsg, Q as audioAnalysisCapability, Vn as audioChunkBytesPerSample, _r as EventCategory, dn as resolvePoolMemoryPolicy, er as nodePin, h as DEFAULT_AUDIO_ANALYZER_CONFIG, r as AUDIO_BACKEND_CHOICES } from "../dist-DHqkQhTQ.mjs";
|
|
3
|
+
import { n as AUDIO_CLASSIFIER_MODELS } from "../model-catalogs-Z1GZAhSb.mjs";
|
|
4
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-Dj3UgL1e.mjs";
|
|
5
5
|
import * as fs from "node:fs";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
7
7
|
import { ensureModel } from "@camstack/system/addon-utils";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as FACE_DETECTION_MODELS, c as OBJECT_DETECTION_MODELS, d as PLATE_OCR_MODELS, f as SEGMENTATION_REFINER_MODELS, i as CLIP_EMBEDDING_MODELS, l as PACKAGE_DETECTION_MODELS, n as AUDIO_CLASSIFIER_MODELS, o as FACE_EMBEDDING_MODELS, p as VEHICLE_CLASSIFIER_MODELS, r as BIRD_CLASSIFIER_MODELS, s as INSTANCE_SEGMENTATION_MODELS, t as ANIMAL_CLASSIFIER_MODELS, u as PLATE_DETECTION_MODELS } from "./model-catalogs-
|
|
1
|
+
import { Pt as inferModelProvider, _n as stepModelRunsOnFormat, b as DEVICE_BACKEND_TO_FORMAT, et as audioKindId, f as COCO_80_LABELS, i as AUDIO_MACRO_LABELS, k as LABEL_SUPPLY_VOCABULARIES, p as COCO_TO_MACRO } from "./dist-DHqkQhTQ.mjs";
|
|
2
|
+
import { a as FACE_DETECTION_MODELS, c as OBJECT_DETECTION_MODELS, d as PLATE_OCR_MODELS, f as SEGMENTATION_REFINER_MODELS, i as CLIP_EMBEDDING_MODELS, l as PACKAGE_DETECTION_MODELS, n as AUDIO_CLASSIFIER_MODELS, o as FACE_EMBEDDING_MODELS, p as VEHICLE_CLASSIFIER_MODELS, r as BIRD_CLASSIFIER_MODELS, s as INSTANCE_SEGMENTATION_MODELS, t as ANIMAL_CLASSIFIER_MODELS, u as PLATE_DETECTION_MODELS } from "./model-catalogs-Z1GZAhSb.mjs";
|
|
3
3
|
import { t as isWorkerReply } from "./worker-protocol-D_NzPcnh.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
//#region src/detection-pipeline/registry/effective-confidence.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_dist = require("./dist-
|
|
2
|
-
const require_model_catalogs = require("./model-catalogs-
|
|
1
|
+
const require_dist = require("./dist-ClkumZgv.js");
|
|
2
|
+
const require_model_catalogs = require("./model-catalogs-BagalaYp.js");
|
|
3
3
|
const require_worker_protocol = require("./worker-protocol-C-G8qmye.js");
|
|
4
4
|
let node_crypto = require("node:crypto");
|
|
5
5
|
//#region src/detection-pipeline/registry/effective-confidence.ts
|
|
@@ -3,11 +3,11 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_chunk = require("../chunk-emK7D4bc.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
7
|
-
const require_node = require("../node-
|
|
8
|
-
const require_custom_model_catalog = require("../custom-model-catalog-
|
|
6
|
+
const require_dist = require("../dist-ClkumZgv.js");
|
|
7
|
+
const require_node = require("../node-0O_61WVW.js");
|
|
8
|
+
const require_custom_model_catalog = require("../custom-model-catalog-Il8UY4D4.js");
|
|
9
9
|
const require_lazy_sharp = require("../lazy-sharp-BuwKlQLR.js");
|
|
10
|
-
const require_process_memory = require("../process-memory-
|
|
10
|
+
const require_process_memory = require("../process-memory-DdIOhjYB.js");
|
|
11
11
|
let node_os = require("node:os");
|
|
12
12
|
node_os = require_chunk.__toESM(node_os);
|
|
13
13
|
let node_fs = require("node:fs");
|
|
@@ -9937,9 +9937,14 @@ var DetectionPipelineProvider = class DetectionPipelineProvider {
|
|
|
9937
9937
|
}
|
|
9938
9938
|
}
|
|
9939
9939
|
const rootModelId = resolveTreeRootModelId(tree.roots);
|
|
9940
|
-
const
|
|
9940
|
+
const rootDeviceKey = require_custom_model_catalog.deviceKeyOf(dispatchEngine);
|
|
9941
|
+
const stampRoot = (r) => rootModelId === void 0 ? {
|
|
9941
9942
|
...r,
|
|
9942
|
-
|
|
9943
|
+
rootDeviceKey
|
|
9944
|
+
} : {
|
|
9945
|
+
...r,
|
|
9946
|
+
rootModelId,
|
|
9947
|
+
rootDeviceKey
|
|
9943
9948
|
};
|
|
9944
9949
|
if (input.replay !== true) this.clusterModelSwitchLog.note(input.deviceId ?? 0, tree);
|
|
9945
9950
|
setupMs = performance.now() - wallT0 - decodeMs;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as __require } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { c as readProcessCost } from "../node-
|
|
4
|
-
import { C as resolveModelDefaultConfidence, S as landmarkPrecisionVerdict, _ as ALL_STEPS, b as getStepDefinition, f as localFrameRegistry, g as ALL_PIPELINE_STEPS, l as resolveDefaultDetectionModel, n as mergeCustomModels, o as deviceKeyOf, r as buildSubtreeCanRun, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, v as getDefaultModelForFormat, x as resolveModelForFormat, y as getStep } from "../custom-model-catalog-
|
|
2
|
+
import { $t as pipelineExecutorCapability, Ct as enumerateInferenceDevices, F as PoolMemoryWatchdog, Hn as createEvent, In as BaseAddon, It as linkedLabelStepId, Jn as hydrateSchema, Jt as overlayClusterStepSettings, Kt as modelBindingKey, O as LABEL_SUPPLY_MACRO, Pn as errMsg$1, Rt as loadContributionCapability, Sn as supportedRuntimes$1, X as applyModelBoundSettings, Xt as pickClusterStepSettings, _n as stepModelRunsOnFormat, _r as EventCategory, _t as detectionPipelineCapability, bt as edgetpuDelegateDevice, ct as containingParentIndex, d as CLUSTER_MODEL_SCOPED_STEPS, dn as resolvePoolMemoryPolicy, er as nodePin, fr as object, ft as defaultDeviceFor$1, g as DEFAULT_CLUSTER_STEP_SETTINGS, gr as union, hn as runtimeDevices$1, hr as string, mn as rootSuppliesOf, n as APPLE_SA_TO_MACRO, on as resolveClusterStepModelId, or as array, q as YAMNET_TO_MACRO, qn as hfModelUrl, rr as sleep, st as collectModelBoundKeys, wt as evaluateZoneRules } from "../dist-DHqkQhTQ.mjs";
|
|
3
|
+
import { c as readProcessCost } from "../node-CkJLxlWI.mjs";
|
|
4
|
+
import { C as resolveModelDefaultConfidence, S as landmarkPrecisionVerdict, _ as ALL_STEPS, b as getStepDefinition, f as localFrameRegistry, g as ALL_PIPELINE_STEPS, l as resolveDefaultDetectionModel, n as mergeCustomModels, o as deviceKeyOf, r as buildSubtreeCanRun, s as resolveDeviceEngine, t as CustomModelCatalog, u as macroGateVerdict, v as getDefaultModelForFormat, x as resolveModelForFormat, y as getStep } from "../custom-model-catalog-0_SnSXzN.mjs";
|
|
5
5
|
import { t as getSharp } from "../lazy-sharp-DXsqwpph.mjs";
|
|
6
|
-
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-
|
|
6
|
+
import { n as pickNodePlatformArch, t as readProcessMemory } from "../process-memory-Dj3UgL1e.mjs";
|
|
7
7
|
import * as os$1 from "node:os";
|
|
8
8
|
import * as fs from "node:fs";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
@@ -9930,9 +9930,14 @@ var DetectionPipelineProvider = class DetectionPipelineProvider {
|
|
|
9930
9930
|
}
|
|
9931
9931
|
}
|
|
9932
9932
|
const rootModelId = resolveTreeRootModelId(tree.roots);
|
|
9933
|
-
const
|
|
9933
|
+
const rootDeviceKey = deviceKeyOf(dispatchEngine);
|
|
9934
|
+
const stampRoot = (r) => rootModelId === void 0 ? {
|
|
9934
9935
|
...r,
|
|
9935
|
-
|
|
9936
|
+
rootDeviceKey
|
|
9937
|
+
} : {
|
|
9938
|
+
...r,
|
|
9939
|
+
rootModelId,
|
|
9940
|
+
rootDeviceKey
|
|
9936
9941
|
};
|
|
9937
9942
|
if (input.replay !== true) this.clusterModelSwitchLog.note(input.deviceId ?? 0, tree);
|
|
9938
9943
|
setupMs = performance.now() - wallT0 - decodeMs;
|