@camstack/addon-pipeline 1.2.292 → 1.2.294
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 +2 -2
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/{default-detection-model-DcTy-nJl.mjs → default-detection-model-0dPKRKUD.mjs} +62 -80
- package/dist/{default-detection-model-jjdmKKr3.js → default-detection-model-D24AJOTn.js} +67 -79
- package/dist/detection-pipeline/index.js +6 -5
- package/dist/detection-pipeline/index.mjs +6 -5
- package/dist/{dist-D7FonEUB.js → dist-CJR259Xf.js} +426 -22
- package/dist/{dist-Bn6BQW8q.mjs → dist-RXbmRAwP.mjs} +426 -22
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-D3C1krEi.js → node-DWg9zbY1.js} +1 -1
- package/dist/{node-BN0Na3HN.mjs → node-atmRSHPk.mjs} +1 -1
- package/dist/pipeline-runner/index.js +80 -5
- package/dist/pipeline-runner/index.mjs +80 -5
- package/dist/{process-memory-DI4jrCtX.js → process-memory-BJUXvTjd.js} +1 -1
- package/dist/{process-memory-CeZ8ms80.mjs → process-memory-BgFOHFnx.mjs} +1 -1
- package/dist/recorder/index.js +2 -2
- package/dist/recorder/index.mjs +2 -2
- package/dist/{segment-demux-js-COooJ-t0.js → segment-demux-js-C_fPJub3.js} +1 -1
- package/dist/{segment-demux-js-CNPzlcyO.mjs → segment-demux-js-G7wFpHzn.mjs} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BfrONGaR.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-6IyM-BIn.mjs} +2 -2
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-6IHzlLJ_.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-DhImOdbA.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DoyA71_q.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-0k0JYZnk.mjs → hostInit-BBYHWS3M.mjs} +2 -2
- 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/python/inference_pool.py +33 -10
- package/python/postprocessors/scrfd.py +21 -3
- package/python/postprocessors/test_scrfd.py +151 -0
- package/python/test_inference_pool_ov_ppp_scrfd.py +264 -0
- package/python/test_inference_pool_scrfd_normalization.py +142 -0
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-pSFdAaR0.mjs +0 -26
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
"""Pins the OpenVINO PPP fold's `'scrfd'` branch (`_build_ov_ppp_model`,
|
|
2
|
+
`inference_pool.py` ~1719) — the code path that folds InsightFace's SCRFD
|
|
3
|
+
input contract (`(x-127.5)/128`) into a compiled OpenVINO graph, mirrored
|
|
4
|
+
against `_apply_normalization`'s plain-Python path (covered separately by
|
|
5
|
+
`test_inference_pool_scrfd_normalization.py`).
|
|
6
|
+
|
|
7
|
+
`_ov_ppp_plan` (tested elsewhere) only proves the CONFIG VALUE `'scrfd'`
|
|
8
|
+
reaches a plan dict — it does not touch `_build_ov_ppp_model`'s actual
|
|
9
|
+
`elif plan["normalization"] == "scrfd":` branch, so renaming or deleting that
|
|
10
|
+
branch (falling through to the `else` — plain `/255`, no shift) would leave
|
|
11
|
+
every other test green. This file drives `_build_ov_ppp_model` itself and
|
|
12
|
+
asserts the exact preprocessing STEPS it records for `'scrfd'`.
|
|
13
|
+
|
|
14
|
+
No real OpenVINO install needed: `openvino` / `openvino.preprocess` are
|
|
15
|
+
FAKE modules that record every `PrePostProcessor` call instead of running one,
|
|
16
|
+
built fresh in `setUp` and removed in `tearDown` so nothing leaks into a
|
|
17
|
+
sibling test run in the same `python3 -m unittest` process (this repo's own
|
|
18
|
+
warning: "a blind stub POISONS the whole session"). If real `openvino` is
|
|
19
|
+
importable, this test still uses its own fakes (swapped in for the duration
|
|
20
|
+
of the test only) rather than depending on optional real behaviour — so it
|
|
21
|
+
runs the same way whether or not OpenVINO is installed.
|
|
22
|
+
|
|
23
|
+
`unittest.TestCase`, not pytest-style — runs on the bare interpreter, no
|
|
24
|
+
pytest needed (`scripts/test-python-pool.sh`, the path CI exercises).
|
|
25
|
+
"""
|
|
26
|
+
import sys
|
|
27
|
+
import types
|
|
28
|
+
import unittest
|
|
29
|
+
|
|
30
|
+
try: # real numpy when the sandbox has it — a blind stub POISONS the whole
|
|
31
|
+
import numpy # noqa: F401 # pytest session for every sibling that needs it
|
|
32
|
+
except ImportError:
|
|
33
|
+
_np = types.ModuleType("numpy")
|
|
34
|
+
_np.array = lambda seq, dtype=None: list(seq) # noqa: E731
|
|
35
|
+
_np.float32 = "float32"
|
|
36
|
+
sys.modules["numpy"] = _np
|
|
37
|
+
try: # real PIL when present, for the same reason
|
|
38
|
+
import PIL.Image # noqa: F401
|
|
39
|
+
except ImportError:
|
|
40
|
+
_pil = types.ModuleType("PIL")
|
|
41
|
+
_pil_image = types.ModuleType("PIL.Image")
|
|
42
|
+
_pil.Image = _pil_image
|
|
43
|
+
sys.modules["PIL"] = _pil
|
|
44
|
+
sys.modules["PIL.Image"] = _pil_image
|
|
45
|
+
if "postprocessors" not in sys.modules:
|
|
46
|
+
_pp = types.ModuleType("postprocessors")
|
|
47
|
+
_pp.POSTPROCESSORS = {}
|
|
48
|
+
sys.modules["postprocessors"] = _pp
|
|
49
|
+
|
|
50
|
+
import inference_pool # noqa: E402
|
|
51
|
+
from inference_pool import _SCRFD_MEAN, _SCRFD_STD, _build_ov_ppp_model # noqa: E402
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
# ---------------------------------------------------------------------------
|
|
55
|
+
# Fakes standing in for the real `openvino` / `openvino.preprocess` API
|
|
56
|
+
# surface `_build_ov_ppp_model` calls. Each records the calls made on it.
|
|
57
|
+
# ---------------------------------------------------------------------------
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class _FakeSteps:
|
|
61
|
+
"""Stands in for OpenVINO's `PreProcessSteps` — every call is recorded,
|
|
62
|
+
in order, so the test can assert the EXACT scale/mean sequence."""
|
|
63
|
+
|
|
64
|
+
def __init__(self, calls: list) -> None:
|
|
65
|
+
self._calls = calls
|
|
66
|
+
|
|
67
|
+
def convert_element_type(self, t):
|
|
68
|
+
self._calls.append(("convert_element_type", t))
|
|
69
|
+
return self
|
|
70
|
+
|
|
71
|
+
def scale(self, v):
|
|
72
|
+
self._calls.append(("scale", tuple(v)))
|
|
73
|
+
return self
|
|
74
|
+
|
|
75
|
+
def mean(self, v):
|
|
76
|
+
self._calls.append(("mean", tuple(v)))
|
|
77
|
+
return self
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class _FakeTensorInfo:
|
|
81
|
+
def set_element_type(self, t):
|
|
82
|
+
return self
|
|
83
|
+
|
|
84
|
+
def set_layout(self, layout):
|
|
85
|
+
return self
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class _FakeModelInfo:
|
|
89
|
+
def set_layout(self, layout):
|
|
90
|
+
return self
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class _FakeInputInfo:
|
|
94
|
+
def __init__(self, calls: list) -> None:
|
|
95
|
+
self._steps = _FakeSteps(calls)
|
|
96
|
+
|
|
97
|
+
def tensor(self):
|
|
98
|
+
return _FakeTensorInfo()
|
|
99
|
+
|
|
100
|
+
def model(self):
|
|
101
|
+
return _FakeModelInfo()
|
|
102
|
+
|
|
103
|
+
def preprocess(self):
|
|
104
|
+
return self._steps
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class _FakePrePostProcessor:
|
|
108
|
+
"""Records every preprocessing step applied, keyed by the model it was
|
|
109
|
+
built for — `_build_ov_ppp_model` builds exactly one per call."""
|
|
110
|
+
|
|
111
|
+
last_calls: "list | None" = None
|
|
112
|
+
|
|
113
|
+
def __init__(self, model) -> None:
|
|
114
|
+
self._calls: list = []
|
|
115
|
+
_FakePrePostProcessor.last_calls = self._calls
|
|
116
|
+
self._input = _FakeInputInfo(self._calls)
|
|
117
|
+
|
|
118
|
+
def input(self):
|
|
119
|
+
return self._input
|
|
120
|
+
|
|
121
|
+
def build(self):
|
|
122
|
+
return "BUILT_MODEL"
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class _FakeLayout:
|
|
126
|
+
def __init__(self, name: str) -> None:
|
|
127
|
+
self.name = name
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class _FakeType:
|
|
131
|
+
u8 = "u8"
|
|
132
|
+
f32 = "f32"
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
class _FakeDim:
|
|
136
|
+
"""Mimics an OpenVINO static Dimension (see `test_inference_pool_ov_ppp.py`)."""
|
|
137
|
+
|
|
138
|
+
def __init__(self, length: int) -> None:
|
|
139
|
+
self._length = length
|
|
140
|
+
self.is_static = True
|
|
141
|
+
|
|
142
|
+
def __int__(self) -> int:
|
|
143
|
+
raise TypeError("Dimension is not directly int()-able")
|
|
144
|
+
|
|
145
|
+
def get_length(self) -> int:
|
|
146
|
+
return self._length
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class _FakeInput:
|
|
150
|
+
def __init__(self, dims) -> None:
|
|
151
|
+
self._dims = dims
|
|
152
|
+
|
|
153
|
+
def get_partial_shape(self):
|
|
154
|
+
return self._dims
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class _FakeModel:
|
|
158
|
+
def __init__(self, dims) -> None:
|
|
159
|
+
self._input = _FakeInput(dims)
|
|
160
|
+
|
|
161
|
+
def input(self):
|
|
162
|
+
return self._input
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
class _FakeCore:
|
|
166
|
+
def __init__(self, dims) -> None:
|
|
167
|
+
self._dims = dims
|
|
168
|
+
|
|
169
|
+
def read_model(self, path):
|
|
170
|
+
return _FakeModel(self._dims)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
# A standard 640x640 NCHW 3-channel static-shape detector input — the shape
|
|
174
|
+
# `_ov_ppp_plan` requires to fold preprocessing at all.
|
|
175
|
+
_NCHW_640_DIMS = [_FakeDim(1), _FakeDim(3), _FakeDim(640), _FakeDim(640)]
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class BuildOvPppModelScrfdBranchTest(unittest.TestCase):
|
|
179
|
+
def setUp(self):
|
|
180
|
+
# Swap in the fakes for the duration of this test ONLY, whether or
|
|
181
|
+
# not real openvino/openvino.preprocess were already in sys.modules —
|
|
182
|
+
# restored in tearDown so nothing leaks into a sibling test run in
|
|
183
|
+
# the same `python3 -m unittest` process.
|
|
184
|
+
self._saved_openvino = sys.modules.get("openvino")
|
|
185
|
+
self._saved_openvino_preprocess = sys.modules.get("openvino.preprocess")
|
|
186
|
+
|
|
187
|
+
fake_openvino = types.ModuleType("openvino")
|
|
188
|
+
fake_openvino.Layout = _FakeLayout
|
|
189
|
+
fake_openvino.Type = _FakeType
|
|
190
|
+
fake_preprocess = types.ModuleType("openvino.preprocess")
|
|
191
|
+
fake_preprocess.PrePostProcessor = _FakePrePostProcessor
|
|
192
|
+
fake_openvino.preprocess = fake_preprocess
|
|
193
|
+
|
|
194
|
+
sys.modules["openvino"] = fake_openvino
|
|
195
|
+
sys.modules["openvino.preprocess"] = fake_preprocess
|
|
196
|
+
|
|
197
|
+
def tearDown(self):
|
|
198
|
+
for name, saved in (
|
|
199
|
+
("openvino", self._saved_openvino),
|
|
200
|
+
("openvino.preprocess", self._saved_openvino_preprocess),
|
|
201
|
+
):
|
|
202
|
+
if saved is None:
|
|
203
|
+
sys.modules.pop(name, None)
|
|
204
|
+
else:
|
|
205
|
+
sys.modules[name] = saved
|
|
206
|
+
|
|
207
|
+
def test_scrfd_branch_applies_the_scrfd_mean_and_std(self):
|
|
208
|
+
core = _FakeCore(_NCHW_640_DIMS)
|
|
209
|
+
config = {
|
|
210
|
+
"inputSize": 640,
|
|
211
|
+
"inputWidth": 640,
|
|
212
|
+
"inputHeight": 640,
|
|
213
|
+
"inputChannels": 3,
|
|
214
|
+
"preprocessMode": "letterbox",
|
|
215
|
+
"inputNormalization": "scrfd",
|
|
216
|
+
}
|
|
217
|
+
built, plan = _build_ov_ppp_model(core, "dummy-path", config)
|
|
218
|
+
self.assertEqual(built, "BUILT_MODEL")
|
|
219
|
+
self.assertEqual(plan["normalization"], "scrfd")
|
|
220
|
+
|
|
221
|
+
calls = _FakePrePostProcessor.last_calls
|
|
222
|
+
# convert_element_type, then scale(255) → mean(_SCRFD_MEAN) →
|
|
223
|
+
# scale(_SCRFD_STD) — exactly 4 recorded steps, in this order. If the
|
|
224
|
+
# 'scrfd' branch is removed (falling to the bare `else: scale(255)`),
|
|
225
|
+
# this drops to 2 steps and the assertion below fails.
|
|
226
|
+
self.assertEqual(
|
|
227
|
+
calls,
|
|
228
|
+
[
|
|
229
|
+
("convert_element_type", "f32"),
|
|
230
|
+
("scale", (255.0, 255.0, 255.0)),
|
|
231
|
+
("mean", (_SCRFD_MEAN, _SCRFD_MEAN, _SCRFD_MEAN)),
|
|
232
|
+
("scale", (_SCRFD_STD, _SCRFD_STD, _SCRFD_STD)),
|
|
233
|
+
],
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
def test_scrfd_branch_is_distinct_from_imagenet_and_none(self):
|
|
237
|
+
core = _FakeCore(_NCHW_640_DIMS)
|
|
238
|
+
|
|
239
|
+
def steps_for(normalization):
|
|
240
|
+
config = {
|
|
241
|
+
"inputSize": 640,
|
|
242
|
+
"inputWidth": 640,
|
|
243
|
+
"inputHeight": 640,
|
|
244
|
+
"inputChannels": 3,
|
|
245
|
+
"preprocessMode": "letterbox",
|
|
246
|
+
"inputNormalization": normalization,
|
|
247
|
+
}
|
|
248
|
+
_build_ov_ppp_model(core, "dummy-path", config)
|
|
249
|
+
return _FakePrePostProcessor.last_calls
|
|
250
|
+
|
|
251
|
+
scrfd_calls = steps_for("scrfd")
|
|
252
|
+
imagenet_calls = steps_for("imagenet")
|
|
253
|
+
none_calls = steps_for(None)
|
|
254
|
+
|
|
255
|
+
self.assertEqual(len(scrfd_calls), 4)
|
|
256
|
+
self.assertEqual(len(imagenet_calls), 4)
|
|
257
|
+
self.assertEqual(len(none_calls), 2) # convert_element_type + scale(255) only
|
|
258
|
+
self.assertNotEqual(scrfd_calls, imagenet_calls)
|
|
259
|
+
# The imagenet branch uses the real _IMAGENET_MEAN/_STD, not SCRFD's.
|
|
260
|
+
self.assertNotIn(("mean", (_SCRFD_MEAN, _SCRFD_MEAN, _SCRFD_MEAN)), imagenet_calls)
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
if __name__ == "__main__":
|
|
264
|
+
unittest.main()
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"""Pins the SCRFD input-normalization contract (`inputNormalization: 'scrfd'`).
|
|
2
|
+
|
|
3
|
+
The production defect (2026-09-26 model-replacement spike,
|
|
4
|
+
docs/superpowers/specs/2026-09-26-replacement-models-spike.md §2.4-2): the
|
|
5
|
+
pool fed SCRFD the historical plain `/255` ([0,1]) tensor, but upstream
|
|
6
|
+
InsightFace expects `(pixel - 127.5) / 128` ([-0.996, 0.996]). The re-hosted
|
|
7
|
+
ONNX/OpenVINO/CoreML artifacts are unmodified upstream graphs (first op is a
|
|
8
|
+
Conv — nothing absorbs the shift), so this has to be threaded through the
|
|
9
|
+
runtime preprocessor rather than baked into the graph (contrast with
|
|
10
|
+
AuraFace/CLIP, whose graphs bake their own normalization).
|
|
11
|
+
|
|
12
|
+
This one contract, `_apply_normalization`, is the SAME function the ONNX path
|
|
13
|
+
and the CoreML `multiArrayType` path both call — verified 2026-09-26 that the
|
|
14
|
+
hosted `camstack-scrfd-2.5g.mlpackage`'s input is `multiArrayType`, not
|
|
15
|
+
`imageType`, so it goes through this same function. The OpenVINO PPP fast
|
|
16
|
+
path (`_build_ov_ppp_model`) folds the identical scale/mean/scale sequence
|
|
17
|
+
into the compiled graph instead (covered separately, without needing a real
|
|
18
|
+
OpenVINO install, by `test_inference_pool_ov_ppp_scrfd.py`), and is mutually
|
|
19
|
+
exclusive with `_apply_normalization` (`_preprocess` returns early on the PPP
|
|
20
|
+
fast path, `inference_pool.py` ~1828) — so there is no double application on
|
|
21
|
+
any backend.
|
|
22
|
+
|
|
23
|
+
`unittest.TestCase`, not pytest-style: `scripts/test-python-pool.sh` runs the
|
|
24
|
+
`unittest.TestCase` modules on the bare interpreter (no pytest) — the path CI
|
|
25
|
+
actually exercises. Heavy deps (numpy/PIL/postprocessors) are stubbed on
|
|
26
|
+
`ImportError`, the same pattern as `test_inference_pool_ov_ppp.py`, so the
|
|
27
|
+
module always imports; the tests that need real ndarray arithmetic are
|
|
28
|
+
skipped (not silently passed) without real numpy, while the ones that don't
|
|
29
|
+
(the constants pin, and `_ov_ppp_plan`'s pure config threading) always run.
|
|
30
|
+
|
|
31
|
+
Run: python3 -m unittest test_inference_pool_scrfd_normalization -v
|
|
32
|
+
"""
|
|
33
|
+
import sys
|
|
34
|
+
import types
|
|
35
|
+
import unittest
|
|
36
|
+
|
|
37
|
+
try: # real numpy when the sandbox has it — a blind stub POISONS the whole
|
|
38
|
+
import numpy as _numpy_probe # noqa: F401 # session for every sibling that needs it
|
|
39
|
+
except ImportError:
|
|
40
|
+
_numpy_probe = None
|
|
41
|
+
|
|
42
|
+
# `import numpy` can SUCCEED against a MINIMAL STUB another test module in
|
|
43
|
+
# this same `python3 -m unittest` process already installed into
|
|
44
|
+
# `sys.modules['numpy']` (`test_inference_pool_ov_ppp.py` and siblings do the
|
|
45
|
+
# same guard) — a bare "did the import raise" check would then wrongly treat
|
|
46
|
+
# that stub as real numpy and crash on the first `arr.ndim` access. `ndarray`
|
|
47
|
+
# is real-numpy-only (no stub in this file tree defines it), so check for it
|
|
48
|
+
# instead of trusting import success alone.
|
|
49
|
+
_HAS_REAL_NUMPY = _numpy_probe is not None and hasattr(_numpy_probe, "ndarray")
|
|
50
|
+
if _numpy_probe is None:
|
|
51
|
+
_np = types.ModuleType("numpy")
|
|
52
|
+
# `inference_pool` builds `_IMAGENET_MEAN = np.array(...)` at import time.
|
|
53
|
+
_np.array = lambda seq, dtype=None: list(seq) # noqa: E731
|
|
54
|
+
_np.float32 = "float32"
|
|
55
|
+
sys.modules["numpy"] = _np
|
|
56
|
+
try: # real PIL when present, for the same reason
|
|
57
|
+
import PIL.Image # noqa: F401
|
|
58
|
+
except ImportError:
|
|
59
|
+
_pil = types.ModuleType("PIL")
|
|
60
|
+
_pil_image = types.ModuleType("PIL.Image")
|
|
61
|
+
_pil.Image = _pil_image
|
|
62
|
+
sys.modules["PIL"] = _pil
|
|
63
|
+
sys.modules["PIL.Image"] = _pil_image
|
|
64
|
+
if "postprocessors" not in sys.modules:
|
|
65
|
+
_pp = types.ModuleType("postprocessors")
|
|
66
|
+
_pp.POSTPROCESSORS = {}
|
|
67
|
+
sys.modules["postprocessors"] = _pp
|
|
68
|
+
|
|
69
|
+
import inference_pool # noqa: E402
|
|
70
|
+
from inference_pool import ( # noqa: E402
|
|
71
|
+
_SCRFD_MEAN,
|
|
72
|
+
_SCRFD_STD,
|
|
73
|
+
_apply_normalization,
|
|
74
|
+
_ov_ppp_plan,
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class ScrfdNormalizationConstantsTest(unittest.TestCase):
|
|
79
|
+
"""Plain floats, no ndarray ops — always runs, with or without numpy."""
|
|
80
|
+
|
|
81
|
+
def test_constants_match_upstream_formula(self):
|
|
82
|
+
# _SCRFD_MEAN/_SCRFD_STD are the pool's own pre-divided-by-255
|
|
83
|
+
# constants; cross-check them against the raw-pixel upstream formula
|
|
84
|
+
# `(pixel - 127.5) / 128` directly, so a future edit to either
|
|
85
|
+
# constant is caught here rather than only in the end-to-end face
|
|
86
|
+
# count.
|
|
87
|
+
self.assertAlmostEqual(_SCRFD_MEAN, 127.5 / 255.0)
|
|
88
|
+
self.assertAlmostEqual(_SCRFD_STD, 128.0 / 255.0)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class OvPppPlanThreadsScrfdTest(unittest.TestCase):
|
|
92
|
+
"""`_ov_ppp_plan` is pure Python (no numpy) — always runs."""
|
|
93
|
+
|
|
94
|
+
def test_scrfd_normalization_reaches_the_plan(self):
|
|
95
|
+
plan = _ov_ppp_plan(
|
|
96
|
+
dims=[1, 3, 640, 640],
|
|
97
|
+
input_channels=3,
|
|
98
|
+
preprocess_mode="letterbox",
|
|
99
|
+
normalization="scrfd",
|
|
100
|
+
enabled=True,
|
|
101
|
+
)
|
|
102
|
+
self.assertIsNotNone(plan)
|
|
103
|
+
self.assertEqual(plan["normalization"], "scrfd")
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
@unittest.skipUnless(_HAS_REAL_NUMPY, "_apply_normalization needs real ndarray ops")
|
|
107
|
+
class ApplyNormalizationScrfdTest(unittest.TestCase):
|
|
108
|
+
def setUp(self):
|
|
109
|
+
import numpy as np
|
|
110
|
+
|
|
111
|
+
self.np = np
|
|
112
|
+
|
|
113
|
+
def _flat_hwc(self, value: float):
|
|
114
|
+
"""A 1x1 HWC array holding a single already-`/255` pixel value."""
|
|
115
|
+
return self.np.array([[[value, value, value]]], dtype=self.np.float32)
|
|
116
|
+
|
|
117
|
+
def test_scrfd_mode_matches_upstream_formula_at_pixel_extremes(self):
|
|
118
|
+
# Upstream, on raw pixels: (pixel - 127.5) / 128.
|
|
119
|
+
# pixel=0 → -0.99609375 ; pixel=255 → 0.99609375 ; pixel=127.5 → 0.0
|
|
120
|
+
for pixel, expected in [(0.0, -0.99609375), (255.0, 0.99609375), (127.5, 0.0)]:
|
|
121
|
+
arr = self._flat_hwc(pixel / 255.0)
|
|
122
|
+
out = _apply_normalization(arr, {"inputNormalization": "scrfd"})
|
|
123
|
+
self.assertEqual(out.shape, arr.shape)
|
|
124
|
+
self.assertAlmostEqual(float(out[0, 0, 0]), expected, places=6)
|
|
125
|
+
|
|
126
|
+
def test_absent_and_none_and_zero_one_are_unchanged(self):
|
|
127
|
+
arr = self._flat_hwc(0.6)
|
|
128
|
+
for config in ({}, {"inputNormalization": "none"}, {"inputNormalization": "zero-one"}):
|
|
129
|
+
out = _apply_normalization(arr, config)
|
|
130
|
+
self.assertTrue(self.np.array_equal(out, arr))
|
|
131
|
+
|
|
132
|
+
def test_imagenet_mode_is_unaffected_by_the_scrfd_branch(self):
|
|
133
|
+
# Regression guard: adding the 'scrfd' branch must not perturb the
|
|
134
|
+
# existing 'imagenet' branch (animal/vehicle classifiers).
|
|
135
|
+
arr = self._flat_hwc(0.5)
|
|
136
|
+
out = _apply_normalization(arr, {"inputNormalization": "imagenet"})
|
|
137
|
+
expected = (arr - inference_pool._IMAGENET_MEAN) / inference_pool._IMAGENET_STD
|
|
138
|
+
self.assertTrue(self.np.allclose(out, expected))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
if __name__ == "__main__":
|
|
142
|
+
unittest.main()
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region \0virtual:mf:__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
|
|
2
|
-
var e = "__mf_init__virtual:mf:__mfe_internal__addon_stream_broker_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
|
|
3
|
-
if (!t) {
|
|
4
|
-
let n, r, i = new Promise((e, t) => {
|
|
5
|
-
n = e, r = t;
|
|
6
|
-
});
|
|
7
|
-
t = globalThis[e] = {
|
|
8
|
-
initPromise: i,
|
|
9
|
-
initResolve: n,
|
|
10
|
-
initReject: r
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
var n = t.initPromise, r = "__mf_module_cache__";
|
|
14
|
-
globalThis[r] ||= {
|
|
15
|
-
share: {},
|
|
16
|
-
remote: {}
|
|
17
|
-
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
|
-
var i = globalThis[r], a, o = (e) => {
|
|
19
|
-
e.ACCESSORY_LABEL, e.ACCESS_ROLES, e.ALEXA_EGRESS_PROFILE, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, e.AUDIO_ANALYSIS_CAP_NAME, e.AUDIO_BACKEND_CHOICES, e.AUDIO_CHUNK_FORMATS, e.AUDIO_MACRO_LABELS, e.AUDIO_PRESETS, e.AUDIO_SCALE_EPOCH_ISO, e.AUDIO_SCALE_EPOCH_MS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdminLinkTargetEnum, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionCandidateResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionJobSchema, e.AdoptionJobStateSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionOutcomeSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.AnalyticsLtsSeriesSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.ArchivedDebugNoteQueryInputSchema, e.ArchivedDebugNoteSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioAttachDeviceInputSchema, e.AudioAttachDeviceResultSchema, e.AudioChunkFormatSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioDetachDeviceResultSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AudioStreamPickSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationActionSchema, e.AutomationConditionOperatorSchema, e.AutomationConditionSchema, e.AutomationControlStatusSchema, e.AutomationRecipeSchema, e.AutomationTriggerSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BASE_LIVE_EGRESS_PROFILE, e.BATTERY_DEVICE_PROFILE, e.BATTERY_UNREACHABLE_AFTER_MS, e.BIRTH_DECISION_DEFAULT_LIMIT, e.BOOT_RECOVERY_BACKOFF_MS, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BackupRunPhaseSchema, e.BackupRunSchema, e.BackupRunStateSchema, e.BackupTriggerResultSchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BirthDecisionQueryInputSchema, e.BirthDecisionRecordSchema, e.BirthDecisionVerdictSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.BulkRecordSchema, e.CAMERA_SWITCH_CATALOG, e.CAMERA_SWITCH_ORDER, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.CLASS_MAP_MACRO_TARGETS, e.CLIP_BROKER_PACED_RATES, e.CLIP_PLAYBACK_OPTIONS, e.CLIP_REALTIME_SOURCE_RATES, e.CLIP_REASON_HEADER_MAX, e.CLIP_STILL_DISPOSITION_HEADER, e.CLIP_STILL_REASON_CODE_HEADER, e.CLIP_STILL_REASON_HEADER, e.CLIP_STREAM_SOURCE_RATES, e.CLIP_STREAM_TRANSPORT_HEADER, e.CLUSTER_MODEL_SCOPED_STEPS, e.CLUSTER_MODEL_SECTION_ID, e.CLUSTER_STEP_SETTING_FIELDS, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CONNECTION_TEST_TIMEOUT_MS, e.CONTAINER_CHILD_PRIORITY, e.CORE_BLOCKS_ADDON_ID, e.CORE_BLOCK_ADDON_PREFIX, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraOccupancySnapshotForDeviceSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusDegradationReasonSchema, e.CameraStatusDegradationSchema, e.CameraStatusSchema, e.CameraStatusStageSchema, e.CameraStreamSchema, e.CameraSwitchAuthoritySchema, e.CameraSwitchGroupSchema, e.CameraSwitchIdSchema, e.CameraSwitchSchema, e.CameraSwitchUnavailableReasonSchema, e.CameraSwitchWarningSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipBytesOfferSchema, e.ClipBytesSchema, e.ClipExportFailureSchema, e.ClipPlaybackOptionsSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClipSourceAvailabilitySchema, e.ClipSourceSchema, e.ClipStillDispositionSchema, e.ClipStillRefusalCodeSchema, e.ClipStreamAudioReasonSchema, e.ClipStreamAudioSchema, e.ClipStreamDialSchema, e.ClipWakeSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectionTestDescriptorSchema, e.ConnectionTestInputSchema, e.ConnectionTestOutcomeSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoreBlockCompileResultSchema, e.CoreBlockInputSchema, e.CoreBlockPlacementSchema, e.CoreBlockSchema, e.CoreBlockStatusSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DAYS_PER_WEEK, e.DAY_NAMES, e.DECLARED_DEVICE_SWEEP_LIMIT, e.DECLARED_INTEGRATION_FIXED_KEY, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_CLUSTER_STEP_MODELS, e.DEFAULT_CLUSTER_STEP_SETTINGS, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_DETAIL_CROP_CONVENTION, e.DEFAULT_EVENTS_BAND_BUFFER_SEC, e.DEFAULT_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, e.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, e.DEFAULT_NATIVE_LEASE_SETTINGS, e.DEFAULT_OVERLAY_LAYERS, e.DEFAULT_POOL_MEMORY_POLICY, e.DEFAULT_RECORDING_PROFILES, e.DEFAULT_RETENTION, e.DEFAULT_RUNTIME_STATE_DURABILITY, e.DEFAULT_TIMELAPSE_PREVIEW_TEXT, e.DEFAULT_TOKEN_EXPIRY, e.DERIVED_CAMERA_SILENCED_CAP_NAMES, e.DETAIL_CROP_PADDING_FIELD, e.DETAIL_CROP_PADDING_KEY, e.DETAIL_CROP_SECTION_ID, e.DETAIL_CROP_SQUARE_KEY, e.DETECTION_MACRO_CLASSES, e.DETECTION_PIPELINE_CAP_NAME, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_CHILDREN_BATCH_MAX, e.DEVICE_PROFILES, e.DEVICE_RESTORE_RETRY_CONCURRENCY, e.DEVICE_RESTORE_RETRY_DELAYS_MS, e.DEVICE_SCOPED_CAPS, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATE_READERS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DISPLAY_ICON_GROUPS, e.DISPLAY_ICON_KEYS, e.DISPLAY_ICON_OFFERED_KEYS, e.DISPLAY_ICON_VOCABULARY, e.DataStoreEngineInfoSchema, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DeclaredDevices, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetailCropConventionSchema, e.DetectionCatalogClassMapSchema, e.DetectionSourceSchema, e.DetectionSourcesSchema, e.DeviceAdminLinkSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, e.DeviceRestoreRetryScheduler, e.DeviceRole, e.DeviceRuntimeState, e.DeviceSelectorSchema, e.DeviceStatusSchema, e.DeviceType, e.DiagnosticIdSchema, e.DiagnosticWindowPatchSchema, e.DiagnosticWindowSchema, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DiskReconcileJobSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_DENSITY_BATCH_MAX, e.EVENT_KIND_BY_CAP, e.EVENT_OWNER_TYPES, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPORT_DENSE_MAX_RANGES, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.EgressEncodeSchema, e.EgressRateControlSchema, e.EgressTranscodeRequestSchema, e.EgressTranscodeSchema, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventDensityBucketSchema, e.EventDensityForDeviceSchema, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventKindsForDeviceSchema, e.EventMediaArtifactSchema, e.EventMediaCoverageSchema, e.EventMediaKindSchema, e.EventMediaProductionSchema, e.EventOwnerTypeSchema, e.EventSourceType, e.ExportBytesSchema, e.ExportClipSubjectSchema, e.ExportDenseRangeSchema, e.ExportDenseSchema, e.ExportDownloadSchema, e.ExportFootageSubjectSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportSubjectSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionBindingSourceSchema, e.ExpressionEvalError, e.ExpressionFieldBindingSchema, e.ExpressionGlobalBindingSchema, e.ExpressionLiteralBindingSchema, e.ExpressionParseError, e.ExpressionSourceSchema, e.FIRST_LEVEL_MACRO_CLASSES, e.FULL_IMAGE_BBOX, e.FailureContributionSchema, e.FailureCounters, e.FailureReasonCountSchema, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.Fmp4BoxSplitter, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.FrameLazyCountersSchema, e.FrameLazyMetricsSchema, e.G711_SCALE_CORRECTION_DB, e.GasStatusSchema, e.GetLoggingSettingsInputSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.GridLayoutPatchSchema, e.GridLayoutViewSchema, e.HAP_AUDIO_BASE, e.HAP_AUDIO_BITRATE_KBPS, e.HAP_AUDIO_VBV_KBITS, e.HAP_KEYFRAME_INTERVAL_SEC, e.HF_BASE_URL, e.HF_REPO, e.HOURS_PER_DAY, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HfModelResolutionSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.INFERENCE_DEVICE_EXCLUSION_REASONS, e.ImageContractSchema, e.ImageContractStateSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.InferenceDeviceExclusionReasonSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LEGACY_READ_ONLY_CONFIG_KEY, e.LOAD_CONTRIBUTION_ATTRIBUTIONS, e.LOAD_CONTRIBUTION_ROLES, e.LOCATION_DESCRIPTION_MAX, e.LOCATION_ICON_FALLBACK, e.LOCATION_ICON_IDS, e.LOG_CHANNEL_TICK_MS, e.LOG_LEVEL_RANK, e.LTS_SCOPE_CLASS_SEPARATOR, e.LabelAttributionSchema, e.LabelDefinitionSchema, e.LabelTierSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LedgerWalkDeviceReportSchema, e.LedgerWalkInputSchema, e.LedgerWalkRefusalSchema, e.LedgerWalkReportSchema, e.LedgerWalkSkipCountsSchema, e.LedgerWalkSkipReasonSchema, e.LegacyStorageLocationDefaultSchema, e.LinkedDeviceSchema, e.LinkedDevicesModeSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmDownloadProgressSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRetryPolicySchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmTimeoutDefaults, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LoadContributionSchema, e.LocateSegmentResultSchema, e.LocationDescriptionAssignmentSchema, e.LocationIconAssignmentSchema, e.LocationIconIdSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogChannelApplyResultSchema, e.LogChannelDescriptorSchema, e.LogChannelGate, e.LogChannelLevelSchema, e.LogChannelRegistry, e.LogChannelWindowPatchSchema, e.LogChannelWindowSchema, e.LogChannelWindowStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoggingEffectiveSchema, e.LoggingExplicitSchema, e.LoggingLevelLayerSchema, e.LoggingLevelSourceSchema, e.LoggingScopeKindSchema, e.LoggingSettingsPatchSchema, e.LoggingSettingsStateSchema, e.LoginMethodContributionSchema, e.LoginStageEnum, e.LtsBucketSchema, e.MACRO_LABELS, e.MAX_ARCHIVED_DEBUG_NOTES, e.MAX_BIRTH_DECISION_RECORDS, e.MAX_BIRTH_LATENCY_PROXY_MS, e.MAX_CLIP_EVENT_IDS, e.MAX_CLIP_LABELS, e.MAX_CONDITION_DEPTH, e.MAX_CONDITION_LEAVES, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.MAX_KEYS, e.MAX_REASONS_PER_KEY, e.MAX_SENSOR_TRIGGER_DEVICES, e.MAX_TRACK_DEBUG_NOTE_LEN, e.MEDIA_OWNER_TYPES, e.MEDIA_PRESENCE_OWNER_KINDS, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MINUTES_PER_DAY, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, e.MOTION_CLOSE_AFTER_MS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelExtraFileSchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileInfoSchema, e.MediaFileKindEnum, e.MediaFileRefSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MediaPresenceOwnerKindSchema, e.MediaRelocateModeSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.MigrateDeviceResultSchema, e.MigrateSwitchOutcomeSchema, e.MigrateSwitchReportSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelProviderIdSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.MutationFilterSchema, e.NATIVE_LEASE_ACTIVITY_FIELD, e.NATIVE_LEASE_ACTIVITY_KEY, e.NATIVE_LEASE_ADMISSION_FIELD, e.NATIVE_LEASE_ADMISSION_KEY, e.NATIVE_LEASE_BUDGET_FIELD, e.NATIVE_LEASE_BUDGET_KEY, e.NATIVE_LEASE_HOLD_FIELD, e.NATIVE_LEASE_HOLD_KEY, e.NATIVE_LEASE_SCENE_BUDGET_FIELD, e.NATIVE_LEASE_SCENE_BUDGET_KEY, e.NATIVE_LEASE_SECTION_ID, e.NATIVE_LEASE_TILE_BUDGET_FIELD, e.NATIVE_LEASE_TILE_BUDGET_KEY, e.NAVIGATION_ACTION_CATALOG, e.NAVIGATION_LIGHT_LEVEL_MAX, e.NAVIGATION_LIGHT_LEVEL_MIN, e.NC_ALARM_SYSTEM_EVENT_KINDS, e.NC_AUDIO_CONFIRM_HITS_DEFAULT, e.NC_AUDIO_CONFIRM_HITS_MAX, e.NC_AUDIO_CONFIRM_HITS_MIN, e.NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, e.NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, e.NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, e.NC_AUDIO_DBFS_FLOOR, e.NC_AUDIO_DB_MAX, e.NC_AUDIO_DB_MIN, e.NC_AUDIO_DB_OFFERED, e.NC_AUDIO_DB_STEP, e.NC_AUDIO_DEFAULTS, e.NC_AUDIO_HIT_PERCENT_MAX, e.NC_AUDIO_HIT_PERCENT_MIN, e.NC_AUDIO_SAMPLING_MAX_SEC, e.NC_AUDIO_SAMPLING_MIN_SEC, e.NC_AUDIO_SEED, e.NC_AUTHORABLE_SYSTEM_EVENT_KINDS, e.NC_BASE_CONDITION_KEYS, e.NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, e.NC_CLIP_RETENTION_MAX_SEC, e.NC_CONDITION_CATALOG, e.NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.NC_CONFIRM_DEFAULT_TIMEOUT_MS, e.NC_CONFIRM_MAX_TIMEOUT_MS, e.NC_CONFIRM_MIN_TIMEOUT_MS, e.NC_DEFAULT_SNOOZE_MINUTES, e.NC_HISTORY_LIMIT_DEFAULT, e.NC_HISTORY_LIMIT_MAX, e.NC_MAX_PER_TRACK_IMMEDIATE, e.NC_OCCUPANCY_DEFAULTS, e.NC_RULE_CLEARABLE_KEYS, e.NC_RULE_EDITOR_SECTION_ORDER, e.NC_RULE_KIND_SPECS, e.NC_RULE_SECTIONS, e.NC_SNOOZE_MAX_MINUTES, e.NC_SYSTEM_DELIVERY, e.NC_SYSTEM_EVENT_FILTER_KEYS, e.NC_TAXONOMY, e.NC_TEMPLATE_VARS, e.NETWORK_LINK_TYPES, e.NETWORK_LINK_UNKNOWN, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionOptionsSchema, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionSettingsPatchSchema, e.NativeObjectDetectionStatusSchema, e.NativeObjectGeometryEnum, e.NavigationActionEntrySchema, e.NavigationActionIdSchema, e.NavigationEntryKindSchema, e.NavigationFeaturesSchema, e.NavigationLightModeSchema, e.NavigationModeSchema, e.NavigationMoveCommandSchema, e.NavigationPointSchema, e.NavigationRuntimeStateSchema, e.NavigationStatusSchema, e.NcAlarmConfigSchema, e.NcAlarmModeCoverageSchema, e.NcAlarmSettingsPatchSchema, e.NcAlarmSettingsSchema, e.NcAlarmSkipReasonSchema, e.NcAlarmSkippedDeviceSchema, e.NcAudioConditionSchema, e.NcClipRetentionAskSchema, e.NcClipRetentionPlanSchema, e.NcConditionDescriptorSchema, e.NcConditionsSchema, e.NcConfirmExpectSchema, e.NcConfirmSchema, e.NcCrossingSchema, e.NcDeliverySchema, e.NcDeviceStateConditionSchema, e.NcHistoryEntrySchema, e.NcHistoryFilterSchema, e.NcHistoryRecordKindSchema, e.NcHistoryStatusSchema, e.NcHistorySubjectSchema, e.NcLinkedCameraModeSchema, e.NcMediaFrameSchema, e.NcMediaPolicySchema, e.NcOccupancyConditionSchema, e.NcPlateMatcherSchema, e.NcRuleActionSchema, e.NcRuleActionSequenceSchema, e.NcRuleActionsSchema, e.NcRuleClearableKeySchema, e.NcRuleInputSchema, e.NcRuleKindSchema, e.NcRuleNotificationButtonSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcRuleUpdateInputSchema, e.NcSceneConditionSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcSnoozeInputSchema, e.NcSnoozeSchema, e.NcSnoozeScopeSchema, e.NcSnoozeSuppressedSchema, e.NcSystemEventConditionSchema, e.NcSystemEventKindSchema, e.NcTaxonomyEntrySchema, e.NcTaxonomySchema, e.NcTemplateFamilySchema, e.NcTemplateFieldSchema, e.NcTemplatePreviewInputSchema, e.NcTemplatePreviewSchema, e.NcTemplateVarContextSchema, e.NcTemplateVarDescriptorSchema, e.NcTemplateVarGroupSchema, e.NcTestResultSchema, e.NcThrottleGranularitySchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NetworkLinkStatusSchema, e.NotificationActionIconSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPERATOR_WRITTEN_STALE_MS, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OVERFLOW_REASON, e.OVERLAY_LAYERS, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OccupancyBurstRefusalSchema, e.OnboardFieldSupportSchema, e.OnboardRecordTrackSchema, e.OnboardScheduleSupportSchema, e.OnboardStorageSchema, e.OnboardStorageVolumeSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdRenderOutcomeEnum, e.OsdRenderResultSchema, e.OsdSlotBindingSchema, e.OsdSlotViewSchema, e.OsdSourceOptionSchema, e.OsdSourceSchema, e.OsdSourceValueTypeEnum, e.OsdStatusSchema, e.PEER_BYTES_CHUNK_BYTES, e.PEER_BYTES_MAX_OUTSTANDING, e.PEER_BYTES_STALL_MS, e.PEER_BYTES_TICKET_TTL_MS, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_ANALYTICS_CAP_NAME, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PRIVACY_MASK_CAP_NAME, e.PROVIDER_KIND_CAP_NAMES, e.PROVIDER_PIN_FIELD, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.ParkRefusalSchema, e.ParkTrackFrameResultSchema, e.ParkedFrameKindSchema, e.ParkedTrackFrameSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PeerBytesTicketSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PoolMemoryWatchdog, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzHomePresetSchema, e.PtzHomeReturnSchema, e.PtzMoveCommandSchema, e.PtzOptionsSchema, e.PtzPositionSchema, e.PtzPresetFunctionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.RATE_CONTROL_RELAXED, e.RATE_CONTROL_TIGHT, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, e.RECORDING_EXPORT_MAX_READ_BYTES, e.RECORDING_SOURCE_CAMSTACK, e.RECORDING_SOURCE_CAMSTACK_ADDON, e.RECORDING_TIMELINE_BATCH_MAX, e.REDACTED_SECRET, e.RESERVED_BINDING_NAMES, e.RESERVED_COLLECTION_SOURCES, e.RESTORED_CAP_NAMES, e.ROOT_BUCKET_KEY, e.RUNTIME_DEFAULTS, e.RUNTIME_STATE_POLICY, e.RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadGopBytesResultSchema, e.ReadSegmentBytesResultSchema, e.ReadWindowBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordTriggerSchema, e.RecordWindowSchema, e.RecordingAvailabilityForDeviceSchema, e.RecordingAvailabilitySchema, e.RecordingBandAudioSchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysForDeviceSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingObjectTriggerClassSchema, e.RecordingOnboardOptionsSchema, e.RecordingOnboardPatchSchema, e.RecordingOnboardStatusSchema, e.RecordingPlaybackSchema, e.RecordingRangeSchema, e.RecordingReadSchema, e.RecordingRebalanceInputSchema, e.RecordingRebalanceMoveSchema, e.RecordingRebalancePlanSchema, e.RecordingRebalanceSkipReasonSchema, e.RecordingRebalanceSkipSchema, e.RecordingRetentionSchema, e.RecordingSignalRuntimeStateSchema, e.RecordingSignalStatusSchema, e.RecordingSourceAvailabilitySchema, e.RecordingSourceOptionsSchema, e.RecordingSourceSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RelocatableMediaCountInputSchema, e.RelocatableMediaCountSchema, e.RelocateFootageClassSchema, e.RelocateFootageInputSchema, e.RelocateJobSchema, e.RelocateJobStateSchema, e.RelocateMediaInputSchema, e.RelocateResidueInputSchema, e.RelocateResidueSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.ReportedFailureContributionSchema, e.ReportedLoadContributionSchema, e.RequestCensusGroupSchema, e.RequestCensusProcedureSchema, e.RequestCensusSnapshotSchema, e.RequestCensusStatusSchema, e.RetrainAnnotationDraftSchema, e.RetrainAnnotationKindSchema, e.RetrainAnnotationSchema, e.RetrainAnnotationSourceSchema, e.RetrainAssistResultSchema, e.RetrainAssistSubjectSchema, e.RetrainCopyRefusalSchema, e.RetrainFrameCandidateSchema, e.RetrainFrameListSchema, e.RetrainFrameSchema, e.RetrainFrameSelectionSchema, e.RetrainMacroClassSchema, e.RetrainStatusSchema, e.RetrainTrackSchema, e.RetrainTransitionResultSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerInferenceDeviceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCENE_CONDITIONS, e.SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, e.SCENE_DEFAULT_ANCHOR_THRESHOLD, e.SCENE_DEFAULT_CHECK_INTERVAL_SEC, e.SCENE_DEFAULT_OBSERVATION_SPACING_SEC, e.SCENE_DEFAULT_QUIET_SECONDS, e.SCENE_DEFAULT_UNCOVERED_POLICY, e.SCENE_DIVERGED, e.SCENE_RESET_RECAPTURES, e.SCOPE_PRESETS, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SHARE_VIEW_KINDS, e.SOURCE_CAPS, e.SOURCE_CAP_ACTIVE_FIELD, e.SOURCE_CAP_CHANGED_AT_FIELD, e.SOURCE_DEVICE_TYPES, e.SOURCE_INFO_METADATA_KEY, e.STATIONARY_OVERLAY_STYLE, e.STORAGE_ACCESS_FALLBACK, e.STORAGE_BYTES_PER_GB, e.STORAGE_LOCATION_MODES, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SUMMARIES_DEFAULT_LIMIT, e.SUMMARIES_MAX_LIMIT, e.SYSTEM_CAP_NAMES, e.SYSTEM_SCOPE_DEVICE_METHODS, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneConfirmSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusForDeviceSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.SceneUnavailableSchema, e.SceneUncoveredPolicySchema, e.SceneVerdictSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateOutcomeSchema, e.ServerUpdateStateSchema, e.SetLoggingSettingsInputSchema, e.SetSiteLocationInputSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SiteLocationSchema, e.SiteLocationSourceSchema, e.SiteLocationStatusSchema, e.SiteZoneSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageAccessSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageCleanupInputSchema, e.StorageCleanupJobSchema, e.StorageCleanupPhaseSchema, e.StorageCleanupStatusInputSchema, e.StorageDrainProgressSchema, e.StorageEndDownloadInputSchema, e.StorageEvictionPolicySchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationModeSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageMigrationClassSchema, e.StorageMigrationDestinationsSchema, e.StorageMigrationDrainInputSchema, e.StorageMigrationFindingCodeSchema, e.StorageMigrationFindingSchema, e.StorageMigrationFootageMoveInputSchema, e.StorageMigrationInputSchema, e.StorageMigrationJobSchema, e.StorageMigrationLaneSchema, e.StorageMigrationLeaseInputSchema, e.StorageMigrationMediaMoveInputSchema, e.StorageMigrationModeSchema, e.StorageMigrationMoveProgressSchema, e.StorageMigrationMoveSchema, e.StorageMigrationMoverSchema, e.StorageMigrationParticipantSchema, e.StorageMigrationPhaseSchema, e.StorageMigrationPlanSchema, e.StorageMigrationResidueSchema, e.StorageMigrationSourcesSchema, e.StorageOccupancyReportSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSignalSchema, e.StreamSignalsStatusSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SummarySchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TAXONOMY_COLORS, e.TIMELAPSE_DENSE_FLOOR_SEC, e.TIMEZONES, e.TRANSCODE_DOWN_MAX_BITRATE_KBPS, e.TRANSCODE_DOWN_MAX_HEIGHT, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TerminalInstanceInfoSchema, e.TerminalLegacyCameraSchema, e.TerminalOutputBatchSchema, e.TerminalOutputEventSchema, e.TerminalProfileInfoSchema, e.TerminalSessionInfoSchema, e.TestConnectionResultSchema, e.TestConnectionStatusEnum, e.TestResultSchema, e.TimelapseRuleInputSchema, e.TimelapseRulePatchSchema, e.TimelapseRuleSchema, e.TimelapseTemplateSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackFlagsPatchSchema, e.TrackFlagsSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackSourceSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TrainingExportDeviceTotalsSchema, e.TrainingExportSummarySchema, e.TransportPlaneCountsSchema, e.TransportPlaneSchema, e.TurnServerSchema, e.UNATTRIBUTED_BUCKET_KEY, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UnstampedEventMediaCountSchema, e.UnstampedRowsSchema, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VIDEOCLIPS_MAX_OFFER_BYTES, e.VIDEOCLIPS_MAX_READ_BYTES, e.VISIT_MERGE_GAP_MS, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VectorDeclareIndexInputSchema, e.VectorDeleteByFilterInputSchema, e.VectorDeleteInputSchema, e.VectorDeleteResultSchema, e.VectorFilterSchema, e.VectorGetInputSchema, e.VectorGetResultSchema, e.VectorItemSchema, e.VectorMatchSchema, e.VectorMetadataSchema, e.VectorMetricSchema, e.VectorQueryInputSchema, e.VectorQueryResultSchema, e.VectorStatsInputSchema, e.VectorStatsResultSchema, e.VectorUpsertInputSchema, e.VectorUpsertResultSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WEBRTC_CLIMB_HOLD_CODES, e.WEBRTC_EGRESS_PROFILE, e.WEBRTC_TRY_BLOCKERS, e.WEEKLY_MASK_LENGTH, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcClimbHoldSchema, e.WebrtcLadderDecisionSchema, e.WebrtcSessionDebugSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WebrtcTierFailureSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.WrapperEvidenceSchema, e.WrapperIdentitySchema, e.WrapperKindSchema, e.YAMNET_TO_MACRO, e.ZoneCrossingDirectionSchema, e.ZoneCrossingSchema, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.__resetLogChannelRegistryForTests, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.assertTimelapseCadences, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioChunkBytesPerSample, e.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, e.audioScaleEraOf, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.bareAddonId, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildAudioArgs, e.buildDeviceAdminUrl, e.buildEventKindDescriptor, e.buildFfmpegArgs, e.buildInputArgs, e.buildModelVariantGroups, e.buildNcTaxonomy, e.buildRoleScopes, e.buildStreamParamsConfigSchema, e.buildVideoArgs, e.buttonCapability, e.cameraCredentialsCapability, e.cameraGridLayoutCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.canonicalEgressPlan, e.carbonMonoxideCapability, e.cellsToRects, e.classifyBearerPrincipal, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.clipExportFailure, e.clipExportFailureOf, e.clipReasonHeaderValue, e.clusterModelSettingKey, e.clusterStepSettingFieldsFor, e.clusterStepSettingKey, e.codecIsAccepted, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.collectSecretConfigKeys, e.colorCapability, e.colorForKind, e.commitWatchdogRestart, e.compareToTarget, e.compileExpression, e.compileExpressionSafe, e.composeSwitchedOff, e.conditionDepth, e.conditionExclusionReason, e.conditionVisibleForKind, e.connectionTestCapability, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.coreBlockAddonId, e.coreBlockIdFromAddonId, e.coreBlocksCapability, e.cosineSimilarity, e.countConditionLeaves, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createEventBusSliceSource, e.createExpressionScope, e.createHwAccelCache, e.createLazyTrpcSource, e.createLogChannelsProvider, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dataStoreProviderCapability, e.dayNightCapability, e.dayOfWeekToIndex, e.declarationOwnerNodeId, e.declareLogChannel, e.decodeVectorBase64, e.decoderCapability, e.defaultDeliveryForSection, e.defaultDeviceFor, e.defineCustomActions, e.deriveBatteryPresence, e.deriveCameraSwitches, e.deriveDetailCropRect, e.deriveRecordingMode, e.describeCustomActions, e.describeModelVariant, e.describeOnboardClamp, e.describeOnboardRefusal, e.detectAccessRole, e.detectionPipelineCapability, e.deviceAdminLinkCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceSelectorMatches, e.deviceStateCapability, e.deviceStatusCapability, e.displayIconEntry, e.displayIconsInGroup, e.doorbellCapability, e.droppedConditionsForKind, e.egressTranscodeSharingKey, e.egressTransportFromRequest, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.emitsCollectionSelector, e.encodeProfileFromStreamShape, e.encodeVectorBase64, e.enumSensorCapability, e.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateExpressionSource, e.evaluatePoolMemory, e.evaluateSensorEdge, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.evictionPolicyForMode, e.evictionPolicyOfLocation, e.expandAudioChunkToF32le, e.expandCapMethods, e.expandContainer, e.exportSubjectOf, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.failureContributionCapability, e.failureRate, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.foldSnapshotByFunction, e.formatForBackend, e.formatForRuntime, e.formatMediaOwnerKey, e.formatMinutes, e.formatParkedFor, e.gasCapability, e.gbToBytes, e.generateAutomationBlock, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getLogChannelRegistry, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.inferModelProvider, e.initialPoolMemoryState, e.integrationsCapability, e.intercomCapability, e.invocationFromEncodeProfile, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isAudioChunkFormat, e.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isDisplayIconKey, e.isEvent, e.isEventOwnerType, e.isFirstLevelMacroClass, e.isIsolatedBuiltin, e.isKnownTemplateVar, e.isLocationEnabled, e.isMediaOwnerType, e.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSecretConfigField, e.isSoftwareDecode, e.isSourceCap, e.isStorageLocationMode, e.isSystemDelivery, e.isVoidInput, e.ituDbfsFromPreEpoch, e.jobKindSchema, e.kebabToCamel, e.knownValues, e.lawnMowerControlCapability, e.legacyAutoLinkIds, e.legacyModeOf, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.loadContributionCapability, e.localNetworkCapability, e.locationIconKey, e.locationSimilarity, e.lockControlCapability, e.logBannerArgs, e.logChannelsCapability, e.logDestinationCapability, e.logLevelAtMost, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, a = e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mayReadLocation, e.mayWriteToLocation, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.methodAccessForHttpMethod, e.metricsProviderCapability, e.migrateLegacyDeviceSignalConfig, e.minutesToTimeOfDay, e.modeMayRead, e.modeMayWrite, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.navigationCapability, e.networkAccessCapability, e.networkLinkCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeAudioLabel, e.normalizeTokenScopes, e.normalizeUnit, e.notificationOutputCapability, e.notificationRulesCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.objectInputDeclaresRequiredDeviceId, e.occupancyScope, e.optionalMethod, e.osdCapability, e.osdManagerCapability, e.overlayClusterStepSettings, e.parseAdminBase, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseMediaOwnerKey, e.parseOccupancyScope, e.parseProcStatus, e.parseProfileBrokerId, e.parseRuleSection, e.parseStreamParamsFormPatch, e.patchAudio, e.petFeederCapability, e.pickAccessoryControl, e.pickClusterStepModels, e.pickClusterStepSettings, e.pickDetailCropConvention, e.pickNativeLeaseOverride, e.pickPreferredRtspEntry, e.pickRestartCandidate, e.pickVideoEncoder, e.pickerForCondition, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.poolMemoryThreshold, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.principalMayReachAddon, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.rankStreams, e.readClusterStepModels, e.readClusterStepSettings, e.readDetailCropConvention, e.readDeviceStateFrom, e.readNativeLeaseOverride, e.readNodePin, e.readTimelapseGeneratedAt, e.readinessKey, e.rebootCapability, e.recordingArchiveCapability, e.recordingCapability, e.recordingExportCapability, e.recordingOnboardCapability, e.recordingSignalCapability, e.rectsToCells, e.reducePoints, e.requiresPython, e.reservedSourceOwner, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveBucketMs, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveContainerPrimaryChild, e.resolveCreateExportSubject, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveExportProfiles, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveLocationIcon, e.resolveLocationMode, e.resolveMethodAuth, e.resolveModelFormat, e.resolveMutate, e.resolvePoolMemoryPolicy, e.resolveRecordingProfiles, e.resolveRunnerId, e.resolveStreamMaps, e.resolveVariantModelId, e.resolveViewableDeviceIds, e.roleSpec, e.ruleEditorSectionsForKind, e.ruleKindOf, e.ruleKindSpec, e.ruleMatchesSection, e.ruleSection, e.ruleSectionOf, e.ruleSeedForSection, e.runInferenceStep, e.runtimeDevices, e.runtimeStatePolicyFor, e.sceneMonitorCapability, e.schemaDeclaresAnyField, e.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.searchDisplayIcons, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.signalPercentFromBars, e.signalPercentFromRssi, e.siteZoneKey, e.sleep, e.sleepCancellable, e.sliceActiveValue, e.sliceChangedAt, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.stateVocabularyFor, e.storageCapability, e.storageEvictableCapability, e.storageMigrationCapability, e.storageOccupancyCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.streamSignalsCapability, e.stripRetiredBandPreBufferSec, e.strippedOfLegacyReadOnly, e.subKindsOf, e.summarisePrivacyAudio, e.summarizeEffectiveScope, e.supportedRuntimes, e.switchCapability, e.switchedOffIds, e.synthesizeSourceInfo, e.systemCapability, e.systemEventFilterApplies, e.systemEventFilterAppliesToAnyKind, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.templateVarsFor, e.terminalSessionCapability, e.textToHtml, e.timeOfDayToMinutes, e.toDeviceSummary, e.toExpressionValue, e.toNodeId, e.toStreamSourceEntry, e.toastCapability, e.toggleAudioLabel, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.validateRecipeBounds, e.valveCapability, e.vectorDimFromBase64, e.vectorStoreCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.weeklyMaskIndex, e.weeklyMaskIsUniform, e.weeklyMaskToWindows, e.windowsToWeeklyMask, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.withLocationMode, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
|
-
}, s = i.share["default:@camstack/types"];
|
|
21
|
-
s === void 0 ? n.then(() => {
|
|
22
|
-
if (s = i.share["default:@camstack/types"], s === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
|
23
|
-
o(s);
|
|
24
|
-
}) : o(s);
|
|
25
|
-
//#endregion
|
|
26
|
-
export { a as t };
|