@camstack/addon-export-alexa 1.2.29 → 1.2.31
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/export-alexa.addon.js +204 -61
- package/dist/export-alexa.addon.mjs +204 -61
- package/package.json +1 -1
|
@@ -7734,7 +7734,7 @@ var RecordingBandSchema = object({
|
|
|
7734
7734
|
postBufferSec: number().min(0).optional()
|
|
7735
7735
|
});
|
|
7736
7736
|
({
|
|
7737
|
-
preBufferSec:
|
|
7737
|
+
preBufferSec: 15,
|
|
7738
7738
|
postBufferSec: 30
|
|
7739
7739
|
}).postBufferSec * 1e3;
|
|
7740
7740
|
/**
|
|
@@ -13800,128 +13800,103 @@ var COCO_TO_MACRO = {
|
|
|
13800
13800
|
var AUDIO_MACRO_LABELS = [
|
|
13801
13801
|
{
|
|
13802
13802
|
id: "speech",
|
|
13803
|
-
name: "Speech"
|
|
13804
|
-
icon: "🗣️"
|
|
13803
|
+
name: "Speech"
|
|
13805
13804
|
},
|
|
13806
13805
|
{
|
|
13807
13806
|
id: "scream",
|
|
13808
|
-
name: "Scream / Shout"
|
|
13809
|
-
icon: "😱"
|
|
13807
|
+
name: "Scream / Shout"
|
|
13810
13808
|
},
|
|
13811
13809
|
{
|
|
13812
13810
|
id: "crying",
|
|
13813
|
-
name: "Crying / Baby"
|
|
13814
|
-
icon: "😢"
|
|
13811
|
+
name: "Crying / Baby"
|
|
13815
13812
|
},
|
|
13816
13813
|
{
|
|
13817
13814
|
id: "laughter",
|
|
13818
|
-
name: "Laughter"
|
|
13819
|
-
icon: "😂"
|
|
13815
|
+
name: "Laughter"
|
|
13820
13816
|
},
|
|
13821
13817
|
{
|
|
13822
13818
|
id: "music",
|
|
13823
|
-
name: "Music"
|
|
13824
|
-
icon: "🎵"
|
|
13819
|
+
name: "Music"
|
|
13825
13820
|
},
|
|
13826
13821
|
{
|
|
13827
13822
|
id: "dog",
|
|
13828
|
-
name: "Dog"
|
|
13829
|
-
icon: "🐕"
|
|
13823
|
+
name: "Dog"
|
|
13830
13824
|
},
|
|
13831
13825
|
{
|
|
13832
13826
|
id: "cat",
|
|
13833
|
-
name: "Cat"
|
|
13834
|
-
icon: "🐈"
|
|
13827
|
+
name: "Cat"
|
|
13835
13828
|
},
|
|
13836
13829
|
{
|
|
13837
13830
|
id: "bird",
|
|
13838
|
-
name: "Bird"
|
|
13839
|
-
icon: "🐦"
|
|
13831
|
+
name: "Bird"
|
|
13840
13832
|
},
|
|
13841
13833
|
{
|
|
13842
13834
|
id: "animal",
|
|
13843
|
-
name: "Animal (other)"
|
|
13844
|
-
icon: "🐾"
|
|
13835
|
+
name: "Animal (other)"
|
|
13845
13836
|
},
|
|
13846
13837
|
{
|
|
13847
13838
|
id: "alarm",
|
|
13848
|
-
name: "Alarm / Siren"
|
|
13849
|
-
icon: "🚨"
|
|
13839
|
+
name: "Alarm / Siren"
|
|
13850
13840
|
},
|
|
13851
13841
|
{
|
|
13852
13842
|
id: "doorbell",
|
|
13853
|
-
name: "Doorbell / Knock"
|
|
13854
|
-
icon: "🔔"
|
|
13843
|
+
name: "Doorbell / Knock"
|
|
13855
13844
|
},
|
|
13856
13845
|
{
|
|
13857
13846
|
id: "glass_breaking",
|
|
13858
|
-
name: "Glass Breaking"
|
|
13859
|
-
icon: "💥"
|
|
13847
|
+
name: "Glass Breaking"
|
|
13860
13848
|
},
|
|
13861
13849
|
{
|
|
13862
13850
|
id: "gunshot",
|
|
13863
|
-
name: "Gunshot / Explosion"
|
|
13864
|
-
icon: "💣"
|
|
13851
|
+
name: "Gunshot / Explosion"
|
|
13865
13852
|
},
|
|
13866
13853
|
{
|
|
13867
13854
|
id: "vehicle",
|
|
13868
|
-
name: "Vehicle"
|
|
13869
|
-
icon: "🚗"
|
|
13855
|
+
name: "Vehicle"
|
|
13870
13856
|
},
|
|
13871
13857
|
{
|
|
13872
13858
|
id: "siren",
|
|
13873
|
-
name: "Emergency Siren"
|
|
13874
|
-
icon: "🚑"
|
|
13859
|
+
name: "Emergency Siren"
|
|
13875
13860
|
},
|
|
13876
13861
|
{
|
|
13877
13862
|
id: "fire",
|
|
13878
|
-
name: "Fire / Smoke"
|
|
13879
|
-
icon: "🔥"
|
|
13863
|
+
name: "Fire / Smoke"
|
|
13880
13864
|
},
|
|
13881
13865
|
{
|
|
13882
13866
|
id: "water",
|
|
13883
|
-
name: "Water"
|
|
13884
|
-
icon: "💧"
|
|
13867
|
+
name: "Water"
|
|
13885
13868
|
},
|
|
13886
13869
|
{
|
|
13887
13870
|
id: "wind",
|
|
13888
|
-
name: "Wind / Weather"
|
|
13889
|
-
icon: "🌬️"
|
|
13871
|
+
name: "Wind / Weather"
|
|
13890
13872
|
},
|
|
13891
13873
|
{
|
|
13892
13874
|
id: "door",
|
|
13893
|
-
name: "Door"
|
|
13894
|
-
icon: "🚪"
|
|
13875
|
+
name: "Door"
|
|
13895
13876
|
},
|
|
13896
13877
|
{
|
|
13897
13878
|
id: "footsteps",
|
|
13898
|
-
name: "Footsteps"
|
|
13899
|
-
icon: "👣"
|
|
13879
|
+
name: "Footsteps"
|
|
13900
13880
|
},
|
|
13901
13881
|
{
|
|
13902
13882
|
id: "crowd",
|
|
13903
|
-
name: "Crowd / Chatter"
|
|
13904
|
-
icon: "👥"
|
|
13883
|
+
name: "Crowd / Chatter"
|
|
13905
13884
|
},
|
|
13906
13885
|
{
|
|
13907
13886
|
id: "telephone",
|
|
13908
|
-
name: "Telephone"
|
|
13909
|
-
icon: "📞"
|
|
13887
|
+
name: "Telephone"
|
|
13910
13888
|
},
|
|
13911
13889
|
{
|
|
13912
13890
|
id: "engine",
|
|
13913
|
-
name: "Engine / Motor"
|
|
13914
|
-
icon: "⚙️"
|
|
13891
|
+
name: "Engine / Motor"
|
|
13915
13892
|
},
|
|
13916
13893
|
{
|
|
13917
13894
|
id: "tools",
|
|
13918
|
-
name: "Tools / Construction"
|
|
13919
|
-
icon: "🔨"
|
|
13895
|
+
name: "Tools / Construction"
|
|
13920
13896
|
},
|
|
13921
13897
|
{
|
|
13922
13898
|
id: "silence",
|
|
13923
|
-
name: "Silence"
|
|
13924
|
-
icon: "🤫"
|
|
13899
|
+
name: "Silence"
|
|
13925
13900
|
}
|
|
13926
13901
|
];
|
|
13927
13902
|
var YAMNET_TO_MACRO = {
|
|
@@ -16391,7 +16366,7 @@ var TrackEnvelopeSchema = object({
|
|
|
16391
16366
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
16392
16367
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
16393
16368
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
16394
|
-
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
16369
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
|
|
16395
16370
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
16396
16371
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
16397
16372
|
* (`getObjectEvents` et al.).
|
|
@@ -16686,6 +16661,35 @@ var TrackSchema = object({
|
|
|
16686
16661
|
*/
|
|
16687
16662
|
hasFace: boolean().optional(),
|
|
16688
16663
|
/**
|
|
16664
|
+
* This track has a face row IN THE GALLERY: a crop **and** an embedding — a
|
|
16665
|
+
* face an operator could ASSIGN to an identity.
|
|
16666
|
+
*
|
|
16667
|
+
* The STRICT twin of {@link hasFace}, and the pair only earns its keep
|
|
16668
|
+
* because the two disagree. `hasFace` is stamped at the TOP of the face
|
|
16669
|
+
* branch, before every gate, and means no more than "a face detector produced
|
|
16670
|
+
* a face detail". This one is stamped at the single moment the gallery row
|
|
16671
|
+
* LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
|
|
16672
|
+
* past the embedding-magnitude verdict, the `minFacePx` detection gate, the
|
|
16673
|
+
* candidate gate, the imageless-track drop (no crop was ever captured) and
|
|
16674
|
+
* the crop-store drop. Everything between the detector and that insert can
|
|
16675
|
+
* legitimately refuse the face, so a flag written any earlier promises the
|
|
16676
|
+
* operator something to assign and delivers nothing.
|
|
16677
|
+
*
|
|
16678
|
+
* **Independent of recognition.** A face collected but never auto-matched is
|
|
16679
|
+
* still assignable — it is in fact the face an operator most wants to reach —
|
|
16680
|
+
* so this is NOT gated on `recognizedIdentityId`. Recognition lands in
|
|
16681
|
+
* `subLabel`; this says only that the raw material exists.
|
|
16682
|
+
*
|
|
16683
|
+
* **Set once, never cleared.** A track that produced a gallery row produced
|
|
16684
|
+
* one; deleting the row later is the gallery's business, not this flag's.
|
|
16685
|
+
*
|
|
16686
|
+
* **Absent ≠ false**, the same rule as {@link hasFace}: every row written
|
|
16687
|
+
* before the column omits it, and so does every server that predates the
|
|
16688
|
+
* field. A consumer must test `=== true` and render nothing otherwise —
|
|
16689
|
+
* never infer "no assignable face".
|
|
16690
|
+
*/
|
|
16691
|
+
hasEmbeddedFace: boolean().optional(),
|
|
16692
|
+
/**
|
|
16689
16693
|
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16690
16694
|
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16691
16695
|
* so the passage is tracked once and as a VEHICLE.
|
|
@@ -18035,6 +18039,32 @@ var DetailResultSchema = object({
|
|
|
18035
18039
|
/** FRAME-space bbox (already mapped back from crop space). */
|
|
18036
18040
|
bbox: NativeCropBboxSchema.optional(),
|
|
18037
18041
|
embedding: string().optional(),
|
|
18042
|
+
/**
|
|
18043
|
+
* L2 magnitude of the RAW pre-normalization embedding. Additive and optional
|
|
18044
|
+
* so an older runner that does not send it degrades to "unmeasurable", which
|
|
18045
|
+
* the consuming gate treats as accept — never as reject.
|
|
18046
|
+
*/
|
|
18047
|
+
embeddingMagnitude: number().optional(),
|
|
18048
|
+
/**
|
|
18049
|
+
* Model that produced `embedding` — the SAME contract `labelModelId` has for
|
|
18050
|
+
* `label`, and for the same reason: the producing node is the only side that
|
|
18051
|
+
* knows which model actually ran, and re-deriving it downstream is exactly
|
|
18052
|
+
* the inference this model exists to forbid.
|
|
18053
|
+
*
|
|
18054
|
+
* Additive and optional, so a runner that predates it degrades to
|
|
18055
|
+
* "unmeasurable" rather than to a wrong answer — the consumer falls back to
|
|
18056
|
+
* its previous assumption instead of refusing.
|
|
18057
|
+
*
|
|
18058
|
+
* Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
|
|
18059
|
+
* to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
|
|
18060
|
+
* with nothing on the wire it took the id from the GALLERY, so the gate
|
|
18061
|
+
* compared the gallery against itself and could never fire. That turned the
|
|
18062
|
+
* one guard protecting the face feature space into a tautology, and it is
|
|
18063
|
+
* why swapping `face-embedding`'s model would NOT have stranded the enrolled
|
|
18064
|
+
* gallery as the catalog comment predicts — it would have scored the new
|
|
18065
|
+
* model's vectors against the old model's samples in one cosine space.
|
|
18066
|
+
*/
|
|
18067
|
+
embeddingModelId: string().optional(),
|
|
18038
18068
|
label: string().optional(),
|
|
18039
18069
|
/**
|
|
18040
18070
|
* The tier `label` occupies, copied VERBATIM from the producing step's
|
|
@@ -18910,6 +18940,12 @@ var CameraStatusSchema = object({
|
|
|
18910
18940
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
18911
18941
|
fetchedAt: number()
|
|
18912
18942
|
});
|
|
18943
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
18944
|
+
"disabled",
|
|
18945
|
+
"unavailable",
|
|
18946
|
+
"cannot-host-camera-root",
|
|
18947
|
+
"accelerator-preferred"
|
|
18948
|
+
]);
|
|
18913
18949
|
var NodeInferenceDeviceSchema = object({
|
|
18914
18950
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
18915
18951
|
key: string(),
|
|
@@ -18940,7 +18976,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
18940
18976
|
* available per format; this is the stored selection that becomes the
|
|
18941
18977
|
* default for EVERY camera landing on this accelerator.
|
|
18942
18978
|
*/
|
|
18943
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
18979
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
18980
|
+
/**
|
|
18981
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
18982
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
18983
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
18984
|
+
* never disagree with the election — deriving it in the UI from
|
|
18985
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
18986
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
18987
|
+
* "an accelerator is serving" predicate).
|
|
18988
|
+
*/
|
|
18989
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
18944
18990
|
});
|
|
18945
18991
|
var NodeInferenceDevicesSchema = object({
|
|
18946
18992
|
nodeId: string(),
|
|
@@ -19445,6 +19491,7 @@ DeviceType.Camera, method(object({
|
|
|
19445
19491
|
isBattery: boolean(),
|
|
19446
19492
|
reason: _enum([
|
|
19447
19493
|
"disabled",
|
|
19494
|
+
"offline",
|
|
19448
19495
|
"sleeping",
|
|
19449
19496
|
"unreachable",
|
|
19450
19497
|
"waking"
|
|
@@ -19490,9 +19537,17 @@ targets: array(object({
|
|
|
19490
19537
|
sleeping: boolean(),
|
|
19491
19538
|
/** Current device state rendered over the cached frame. State images
|
|
19492
19539
|
* remain authoritative even when their photographic background is
|
|
19493
|
-
* old; null means the link must carry a current camera frame.
|
|
19540
|
+
* old; null means the link must carry a current camera frame.
|
|
19541
|
+
*
|
|
19542
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
19543
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
19544
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
19545
|
+
* — the frame comes from here, and so must the sentence over it
|
|
19546
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
19547
|
+
* state. */
|
|
19494
19548
|
stateReason: _enum([
|
|
19495
19549
|
"disabled",
|
|
19550
|
+
"offline",
|
|
19496
19551
|
"sleeping",
|
|
19497
19552
|
"unreachable",
|
|
19498
19553
|
"waking"
|
|
@@ -22689,7 +22744,12 @@ var ListResultSchema = object({
|
|
|
22689
22744
|
probedAt: number()
|
|
22690
22745
|
});
|
|
22691
22746
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
22692
|
-
|
|
22747
|
+
/**
|
|
22748
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
22749
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
22750
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
22751
|
+
*/
|
|
22752
|
+
var ConnectionEndpointSchema = object({
|
|
22693
22753
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
22694
22754
|
label: string(),
|
|
22695
22755
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -22732,7 +22792,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22732
22792
|
* ordering between polls.
|
|
22733
22793
|
*/
|
|
22734
22794
|
priority: number()
|
|
22735
|
-
})
|
|
22795
|
+
});
|
|
22796
|
+
/**
|
|
22797
|
+
* Where the advertised local port came from. Ordered most → least
|
|
22798
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
22799
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
22800
|
+
*/
|
|
22801
|
+
var LocalPortSourceEnum = _enum([
|
|
22802
|
+
"server-config",
|
|
22803
|
+
"server-env",
|
|
22804
|
+
"caller-hint",
|
|
22805
|
+
"default"
|
|
22806
|
+
]);
|
|
22807
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
22808
|
+
var AdvertisedLocalPortSchema = object({
|
|
22809
|
+
port: number().int().min(1).max(65535),
|
|
22810
|
+
source: LocalPortSourceEnum
|
|
22811
|
+
});
|
|
22812
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
22813
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
22814
|
+
/**
|
|
22815
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
22816
|
+
* came from.
|
|
22817
|
+
*
|
|
22818
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
22819
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
22820
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
22821
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
22822
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
22823
|
+
* `caller-hint` is the hub's own socket.
|
|
22824
|
+
*
|
|
22825
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
22826
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
22827
|
+
* `caller-hint`.
|
|
22828
|
+
*/
|
|
22829
|
+
localPort: AdvertisedLocalPortSchema
|
|
22830
|
+
});
|
|
22736
22831
|
/**
|
|
22737
22832
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
22738
22833
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -22753,8 +22848,13 @@ var AllowedAddressesSchema = object({
|
|
|
22753
22848
|
*/
|
|
22754
22849
|
addresses: array(string()).readonly() });
|
|
22755
22850
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
22756
|
-
/**
|
|
22757
|
-
|
|
22851
|
+
/**
|
|
22852
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
22853
|
+
* written against the echoing contract keep working; the hub uses it
|
|
22854
|
+
* only when it cannot read its own port, and says so via
|
|
22855
|
+
* `localPort.source === 'caller-hint'`.
|
|
22856
|
+
*/
|
|
22857
|
+
port: number().int().min(1).max(65535).optional(),
|
|
22758
22858
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
22759
22859
|
* candidate. Default `true`. */
|
|
22760
22860
|
includeLoopback: boolean().optional(),
|
|
@@ -33678,7 +33778,6 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
33678
33778
|
hitPercent: 60,
|
|
33679
33779
|
samplingSeconds: 10
|
|
33680
33780
|
};
|
|
33681
|
-
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33682
33781
|
new Set(["devices", "classes"]);
|
|
33683
33782
|
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33684
33783
|
/**
|
|
@@ -33912,6 +34011,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
33912
34011
|
createdAt: number(),
|
|
33913
34012
|
updatedAt: number()
|
|
33914
34013
|
});
|
|
34014
|
+
Object.freeze(Object.fromEntries([{
|
|
34015
|
+
stepId: "face-embedding",
|
|
34016
|
+
label: "Face recognition model",
|
|
34017
|
+
defaultModelId: "arcface-r100",
|
|
34018
|
+
indexName: "the enrolled face gallery",
|
|
34019
|
+
options: [
|
|
34020
|
+
{
|
|
34021
|
+
id: "arcface-r100",
|
|
34022
|
+
label: "ArcFace (ResNet34)"
|
|
34023
|
+
},
|
|
34024
|
+
{
|
|
34025
|
+
id: "auraface-r100",
|
|
34026
|
+
label: "AuraFace R100"
|
|
34027
|
+
},
|
|
34028
|
+
{
|
|
34029
|
+
id: "inception-resnet-v1",
|
|
34030
|
+
label: "Inception ResNet V1"
|
|
34031
|
+
}
|
|
34032
|
+
]
|
|
34033
|
+
}, {
|
|
34034
|
+
stepId: "clip-embedding",
|
|
34035
|
+
label: "Semantic search model",
|
|
34036
|
+
defaultModelId: "mobileclip-s1",
|
|
34037
|
+
indexName: "the object semantic-search index",
|
|
34038
|
+
options: [{
|
|
34039
|
+
id: "mobileclip-s1",
|
|
34040
|
+
label: "MobileCLIP S1"
|
|
34041
|
+
}, {
|
|
34042
|
+
id: "mobileclip-s2",
|
|
34043
|
+
label: "MobileCLIP S2"
|
|
34044
|
+
}]
|
|
34045
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
34046
|
+
string().min(1);
|
|
33915
34047
|
object({
|
|
33916
34048
|
/**
|
|
33917
34049
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -33932,10 +34064,21 @@ object({
|
|
|
33932
34064
|
*/
|
|
33933
34065
|
square: boolean()
|
|
33934
34066
|
});
|
|
33935
|
-
|
|
34067
|
+
/**
|
|
34068
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
34069
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
34070
|
+
*/
|
|
34071
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
33936
34072
|
paddingRatio: .15,
|
|
33937
34073
|
square: false
|
|
33938
|
-
}
|
|
34074
|
+
};
|
|
34075
|
+
Object.freeze({
|
|
34076
|
+
x: 0,
|
|
34077
|
+
y: 0,
|
|
34078
|
+
w: 1,
|
|
34079
|
+
h: 1
|
|
34080
|
+
});
|
|
34081
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
33939
34082
|
/**
|
|
33940
34083
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
33941
34084
|
*
|
|
@@ -7707,7 +7707,7 @@ var RecordingBandSchema = object({
|
|
|
7707
7707
|
postBufferSec: number().min(0).optional()
|
|
7708
7708
|
});
|
|
7709
7709
|
({
|
|
7710
|
-
preBufferSec:
|
|
7710
|
+
preBufferSec: 15,
|
|
7711
7711
|
postBufferSec: 30
|
|
7712
7712
|
}).postBufferSec * 1e3;
|
|
7713
7713
|
/**
|
|
@@ -13773,128 +13773,103 @@ var COCO_TO_MACRO = {
|
|
|
13773
13773
|
var AUDIO_MACRO_LABELS = [
|
|
13774
13774
|
{
|
|
13775
13775
|
id: "speech",
|
|
13776
|
-
name: "Speech"
|
|
13777
|
-
icon: "🗣️"
|
|
13776
|
+
name: "Speech"
|
|
13778
13777
|
},
|
|
13779
13778
|
{
|
|
13780
13779
|
id: "scream",
|
|
13781
|
-
name: "Scream / Shout"
|
|
13782
|
-
icon: "😱"
|
|
13780
|
+
name: "Scream / Shout"
|
|
13783
13781
|
},
|
|
13784
13782
|
{
|
|
13785
13783
|
id: "crying",
|
|
13786
|
-
name: "Crying / Baby"
|
|
13787
|
-
icon: "😢"
|
|
13784
|
+
name: "Crying / Baby"
|
|
13788
13785
|
},
|
|
13789
13786
|
{
|
|
13790
13787
|
id: "laughter",
|
|
13791
|
-
name: "Laughter"
|
|
13792
|
-
icon: "😂"
|
|
13788
|
+
name: "Laughter"
|
|
13793
13789
|
},
|
|
13794
13790
|
{
|
|
13795
13791
|
id: "music",
|
|
13796
|
-
name: "Music"
|
|
13797
|
-
icon: "🎵"
|
|
13792
|
+
name: "Music"
|
|
13798
13793
|
},
|
|
13799
13794
|
{
|
|
13800
13795
|
id: "dog",
|
|
13801
|
-
name: "Dog"
|
|
13802
|
-
icon: "🐕"
|
|
13796
|
+
name: "Dog"
|
|
13803
13797
|
},
|
|
13804
13798
|
{
|
|
13805
13799
|
id: "cat",
|
|
13806
|
-
name: "Cat"
|
|
13807
|
-
icon: "🐈"
|
|
13800
|
+
name: "Cat"
|
|
13808
13801
|
},
|
|
13809
13802
|
{
|
|
13810
13803
|
id: "bird",
|
|
13811
|
-
name: "Bird"
|
|
13812
|
-
icon: "🐦"
|
|
13804
|
+
name: "Bird"
|
|
13813
13805
|
},
|
|
13814
13806
|
{
|
|
13815
13807
|
id: "animal",
|
|
13816
|
-
name: "Animal (other)"
|
|
13817
|
-
icon: "🐾"
|
|
13808
|
+
name: "Animal (other)"
|
|
13818
13809
|
},
|
|
13819
13810
|
{
|
|
13820
13811
|
id: "alarm",
|
|
13821
|
-
name: "Alarm / Siren"
|
|
13822
|
-
icon: "🚨"
|
|
13812
|
+
name: "Alarm / Siren"
|
|
13823
13813
|
},
|
|
13824
13814
|
{
|
|
13825
13815
|
id: "doorbell",
|
|
13826
|
-
name: "Doorbell / Knock"
|
|
13827
|
-
icon: "🔔"
|
|
13816
|
+
name: "Doorbell / Knock"
|
|
13828
13817
|
},
|
|
13829
13818
|
{
|
|
13830
13819
|
id: "glass_breaking",
|
|
13831
|
-
name: "Glass Breaking"
|
|
13832
|
-
icon: "💥"
|
|
13820
|
+
name: "Glass Breaking"
|
|
13833
13821
|
},
|
|
13834
13822
|
{
|
|
13835
13823
|
id: "gunshot",
|
|
13836
|
-
name: "Gunshot / Explosion"
|
|
13837
|
-
icon: "💣"
|
|
13824
|
+
name: "Gunshot / Explosion"
|
|
13838
13825
|
},
|
|
13839
13826
|
{
|
|
13840
13827
|
id: "vehicle",
|
|
13841
|
-
name: "Vehicle"
|
|
13842
|
-
icon: "🚗"
|
|
13828
|
+
name: "Vehicle"
|
|
13843
13829
|
},
|
|
13844
13830
|
{
|
|
13845
13831
|
id: "siren",
|
|
13846
|
-
name: "Emergency Siren"
|
|
13847
|
-
icon: "🚑"
|
|
13832
|
+
name: "Emergency Siren"
|
|
13848
13833
|
},
|
|
13849
13834
|
{
|
|
13850
13835
|
id: "fire",
|
|
13851
|
-
name: "Fire / Smoke"
|
|
13852
|
-
icon: "🔥"
|
|
13836
|
+
name: "Fire / Smoke"
|
|
13853
13837
|
},
|
|
13854
13838
|
{
|
|
13855
13839
|
id: "water",
|
|
13856
|
-
name: "Water"
|
|
13857
|
-
icon: "💧"
|
|
13840
|
+
name: "Water"
|
|
13858
13841
|
},
|
|
13859
13842
|
{
|
|
13860
13843
|
id: "wind",
|
|
13861
|
-
name: "Wind / Weather"
|
|
13862
|
-
icon: "🌬️"
|
|
13844
|
+
name: "Wind / Weather"
|
|
13863
13845
|
},
|
|
13864
13846
|
{
|
|
13865
13847
|
id: "door",
|
|
13866
|
-
name: "Door"
|
|
13867
|
-
icon: "🚪"
|
|
13848
|
+
name: "Door"
|
|
13868
13849
|
},
|
|
13869
13850
|
{
|
|
13870
13851
|
id: "footsteps",
|
|
13871
|
-
name: "Footsteps"
|
|
13872
|
-
icon: "👣"
|
|
13852
|
+
name: "Footsteps"
|
|
13873
13853
|
},
|
|
13874
13854
|
{
|
|
13875
13855
|
id: "crowd",
|
|
13876
|
-
name: "Crowd / Chatter"
|
|
13877
|
-
icon: "👥"
|
|
13856
|
+
name: "Crowd / Chatter"
|
|
13878
13857
|
},
|
|
13879
13858
|
{
|
|
13880
13859
|
id: "telephone",
|
|
13881
|
-
name: "Telephone"
|
|
13882
|
-
icon: "📞"
|
|
13860
|
+
name: "Telephone"
|
|
13883
13861
|
},
|
|
13884
13862
|
{
|
|
13885
13863
|
id: "engine",
|
|
13886
|
-
name: "Engine / Motor"
|
|
13887
|
-
icon: "⚙️"
|
|
13864
|
+
name: "Engine / Motor"
|
|
13888
13865
|
},
|
|
13889
13866
|
{
|
|
13890
13867
|
id: "tools",
|
|
13891
|
-
name: "Tools / Construction"
|
|
13892
|
-
icon: "🔨"
|
|
13868
|
+
name: "Tools / Construction"
|
|
13893
13869
|
},
|
|
13894
13870
|
{
|
|
13895
13871
|
id: "silence",
|
|
13896
|
-
name: "Silence"
|
|
13897
|
-
icon: "🤫"
|
|
13872
|
+
name: "Silence"
|
|
13898
13873
|
}
|
|
13899
13874
|
];
|
|
13900
13875
|
var YAMNET_TO_MACRO = {
|
|
@@ -16364,7 +16339,7 @@ var TrackEnvelopeSchema = object({
|
|
|
16364
16339
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
16365
16340
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
16366
16341
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
16367
|
-
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
16342
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
|
|
16368
16343
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
16369
16344
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
16370
16345
|
* (`getObjectEvents` et al.).
|
|
@@ -16659,6 +16634,35 @@ var TrackSchema = object({
|
|
|
16659
16634
|
*/
|
|
16660
16635
|
hasFace: boolean().optional(),
|
|
16661
16636
|
/**
|
|
16637
|
+
* This track has a face row IN THE GALLERY: a crop **and** an embedding — a
|
|
16638
|
+
* face an operator could ASSIGN to an identity.
|
|
16639
|
+
*
|
|
16640
|
+
* The STRICT twin of {@link hasFace}, and the pair only earns its keep
|
|
16641
|
+
* because the two disagree. `hasFace` is stamped at the TOP of the face
|
|
16642
|
+
* branch, before every gate, and means no more than "a face detector produced
|
|
16643
|
+
* a face detail". This one is stamped at the single moment the gallery row
|
|
16644
|
+
* LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
|
|
16645
|
+
* past the embedding-magnitude verdict, the `minFacePx` detection gate, the
|
|
16646
|
+
* candidate gate, the imageless-track drop (no crop was ever captured) and
|
|
16647
|
+
* the crop-store drop. Everything between the detector and that insert can
|
|
16648
|
+
* legitimately refuse the face, so a flag written any earlier promises the
|
|
16649
|
+
* operator something to assign and delivers nothing.
|
|
16650
|
+
*
|
|
16651
|
+
* **Independent of recognition.** A face collected but never auto-matched is
|
|
16652
|
+
* still assignable — it is in fact the face an operator most wants to reach —
|
|
16653
|
+
* so this is NOT gated on `recognizedIdentityId`. Recognition lands in
|
|
16654
|
+
* `subLabel`; this says only that the raw material exists.
|
|
16655
|
+
*
|
|
16656
|
+
* **Set once, never cleared.** A track that produced a gallery row produced
|
|
16657
|
+
* one; deleting the row later is the gallery's business, not this flag's.
|
|
16658
|
+
*
|
|
16659
|
+
* **Absent ≠ false**, the same rule as {@link hasFace}: every row written
|
|
16660
|
+
* before the column omits it, and so does every server that predates the
|
|
16661
|
+
* field. A consumer must test `=== true` and render nothing otherwise —
|
|
16662
|
+
* never infer "no assignable face".
|
|
16663
|
+
*/
|
|
16664
|
+
hasEmbeddedFace: boolean().optional(),
|
|
16665
|
+
/**
|
|
16662
16666
|
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
16663
16667
|
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
16664
16668
|
* so the passage is tracked once and as a VEHICLE.
|
|
@@ -18008,6 +18012,32 @@ var DetailResultSchema = object({
|
|
|
18008
18012
|
/** FRAME-space bbox (already mapped back from crop space). */
|
|
18009
18013
|
bbox: NativeCropBboxSchema.optional(),
|
|
18010
18014
|
embedding: string().optional(),
|
|
18015
|
+
/**
|
|
18016
|
+
* L2 magnitude of the RAW pre-normalization embedding. Additive and optional
|
|
18017
|
+
* so an older runner that does not send it degrades to "unmeasurable", which
|
|
18018
|
+
* the consuming gate treats as accept — never as reject.
|
|
18019
|
+
*/
|
|
18020
|
+
embeddingMagnitude: number().optional(),
|
|
18021
|
+
/**
|
|
18022
|
+
* Model that produced `embedding` — the SAME contract `labelModelId` has for
|
|
18023
|
+
* `label`, and for the same reason: the producing node is the only side that
|
|
18024
|
+
* knows which model actually ran, and re-deriving it downstream is exactly
|
|
18025
|
+
* the inference this model exists to forbid.
|
|
18026
|
+
*
|
|
18027
|
+
* Additive and optional, so a runner that predates it degrades to
|
|
18028
|
+
* "unmeasurable" rather than to a wrong answer — the consumer falls back to
|
|
18029
|
+
* its previous assumption instead of refusing.
|
|
18030
|
+
*
|
|
18031
|
+
* Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
|
|
18032
|
+
* to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
|
|
18033
|
+
* with nothing on the wire it took the id from the GALLERY, so the gate
|
|
18034
|
+
* compared the gallery against itself and could never fire. That turned the
|
|
18035
|
+
* one guard protecting the face feature space into a tautology, and it is
|
|
18036
|
+
* why swapping `face-embedding`'s model would NOT have stranded the enrolled
|
|
18037
|
+
* gallery as the catalog comment predicts — it would have scored the new
|
|
18038
|
+
* model's vectors against the old model's samples in one cosine space.
|
|
18039
|
+
*/
|
|
18040
|
+
embeddingModelId: string().optional(),
|
|
18011
18041
|
label: string().optional(),
|
|
18012
18042
|
/**
|
|
18013
18043
|
* The tier `label` occupies, copied VERBATIM from the producing step's
|
|
@@ -18883,6 +18913,12 @@ var CameraStatusSchema = object({
|
|
|
18883
18913
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
18884
18914
|
fetchedAt: number()
|
|
18885
18915
|
});
|
|
18916
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
18917
|
+
"disabled",
|
|
18918
|
+
"unavailable",
|
|
18919
|
+
"cannot-host-camera-root",
|
|
18920
|
+
"accelerator-preferred"
|
|
18921
|
+
]);
|
|
18886
18922
|
var NodeInferenceDeviceSchema = object({
|
|
18887
18923
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
18888
18924
|
key: string(),
|
|
@@ -18913,7 +18949,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
18913
18949
|
* available per format; this is the stored selection that becomes the
|
|
18914
18950
|
* default for EVERY camera landing on this accelerator.
|
|
18915
18951
|
*/
|
|
18916
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
18952
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
18953
|
+
/**
|
|
18954
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
18955
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
18956
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
18957
|
+
* never disagree with the election — deriving it in the UI from
|
|
18958
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
18959
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
18960
|
+
* "an accelerator is serving" predicate).
|
|
18961
|
+
*/
|
|
18962
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
18917
18963
|
});
|
|
18918
18964
|
var NodeInferenceDevicesSchema = object({
|
|
18919
18965
|
nodeId: string(),
|
|
@@ -19418,6 +19464,7 @@ DeviceType.Camera, method(object({
|
|
|
19418
19464
|
isBattery: boolean(),
|
|
19419
19465
|
reason: _enum([
|
|
19420
19466
|
"disabled",
|
|
19467
|
+
"offline",
|
|
19421
19468
|
"sleeping",
|
|
19422
19469
|
"unreachable",
|
|
19423
19470
|
"waking"
|
|
@@ -19463,9 +19510,17 @@ targets: array(object({
|
|
|
19463
19510
|
sleeping: boolean(),
|
|
19464
19511
|
/** Current device state rendered over the cached frame. State images
|
|
19465
19512
|
* remain authoritative even when their photographic background is
|
|
19466
|
-
* old; null means the link must carry a current camera frame.
|
|
19513
|
+
* old; null means the link must carry a current camera frame.
|
|
19514
|
+
*
|
|
19515
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
19516
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
19517
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
19518
|
+
* — the frame comes from here, and so must the sentence over it
|
|
19519
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
19520
|
+
* state. */
|
|
19467
19521
|
stateReason: _enum([
|
|
19468
19522
|
"disabled",
|
|
19523
|
+
"offline",
|
|
19469
19524
|
"sleeping",
|
|
19470
19525
|
"unreachable",
|
|
19471
19526
|
"waking"
|
|
@@ -22662,7 +22717,12 @@ var ListResultSchema = object({
|
|
|
22662
22717
|
probedAt: number()
|
|
22663
22718
|
});
|
|
22664
22719
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
22665
|
-
|
|
22720
|
+
/**
|
|
22721
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
22722
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
22723
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
22724
|
+
*/
|
|
22725
|
+
var ConnectionEndpointSchema = object({
|
|
22666
22726
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
22667
22727
|
label: string(),
|
|
22668
22728
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -22705,7 +22765,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22705
22765
|
* ordering between polls.
|
|
22706
22766
|
*/
|
|
22707
22767
|
priority: number()
|
|
22708
|
-
})
|
|
22768
|
+
});
|
|
22769
|
+
/**
|
|
22770
|
+
* Where the advertised local port came from. Ordered most → least
|
|
22771
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
22772
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
22773
|
+
*/
|
|
22774
|
+
var LocalPortSourceEnum = _enum([
|
|
22775
|
+
"server-config",
|
|
22776
|
+
"server-env",
|
|
22777
|
+
"caller-hint",
|
|
22778
|
+
"default"
|
|
22779
|
+
]);
|
|
22780
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
22781
|
+
var AdvertisedLocalPortSchema = object({
|
|
22782
|
+
port: number().int().min(1).max(65535),
|
|
22783
|
+
source: LocalPortSourceEnum
|
|
22784
|
+
});
|
|
22785
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
22786
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
22787
|
+
/**
|
|
22788
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
22789
|
+
* came from.
|
|
22790
|
+
*
|
|
22791
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
22792
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
22793
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
22794
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
22795
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
22796
|
+
* `caller-hint` is the hub's own socket.
|
|
22797
|
+
*
|
|
22798
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
22799
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
22800
|
+
* `caller-hint`.
|
|
22801
|
+
*/
|
|
22802
|
+
localPort: AdvertisedLocalPortSchema
|
|
22803
|
+
});
|
|
22709
22804
|
/**
|
|
22710
22805
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
22711
22806
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -22726,8 +22821,13 @@ var AllowedAddressesSchema = object({
|
|
|
22726
22821
|
*/
|
|
22727
22822
|
addresses: array(string()).readonly() });
|
|
22728
22823
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
22729
|
-
/**
|
|
22730
|
-
|
|
22824
|
+
/**
|
|
22825
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
22826
|
+
* written against the echoing contract keep working; the hub uses it
|
|
22827
|
+
* only when it cannot read its own port, and says so via
|
|
22828
|
+
* `localPort.source === 'caller-hint'`.
|
|
22829
|
+
*/
|
|
22830
|
+
port: number().int().min(1).max(65535).optional(),
|
|
22731
22831
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
22732
22832
|
* candidate. Default `true`. */
|
|
22733
22833
|
includeLoopback: boolean().optional(),
|
|
@@ -33651,7 +33751,6 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
33651
33751
|
hitPercent: 60,
|
|
33652
33752
|
samplingSeconds: 10
|
|
33653
33753
|
};
|
|
33654
|
-
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
33655
33754
|
new Set(["devices", "classes"]);
|
|
33656
33755
|
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
33657
33756
|
/**
|
|
@@ -33885,6 +33984,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
33885
33984
|
createdAt: number(),
|
|
33886
33985
|
updatedAt: number()
|
|
33887
33986
|
});
|
|
33987
|
+
Object.freeze(Object.fromEntries([{
|
|
33988
|
+
stepId: "face-embedding",
|
|
33989
|
+
label: "Face recognition model",
|
|
33990
|
+
defaultModelId: "arcface-r100",
|
|
33991
|
+
indexName: "the enrolled face gallery",
|
|
33992
|
+
options: [
|
|
33993
|
+
{
|
|
33994
|
+
id: "arcface-r100",
|
|
33995
|
+
label: "ArcFace (ResNet34)"
|
|
33996
|
+
},
|
|
33997
|
+
{
|
|
33998
|
+
id: "auraface-r100",
|
|
33999
|
+
label: "AuraFace R100"
|
|
34000
|
+
},
|
|
34001
|
+
{
|
|
34002
|
+
id: "inception-resnet-v1",
|
|
34003
|
+
label: "Inception ResNet V1"
|
|
34004
|
+
}
|
|
34005
|
+
]
|
|
34006
|
+
}, {
|
|
34007
|
+
stepId: "clip-embedding",
|
|
34008
|
+
label: "Semantic search model",
|
|
34009
|
+
defaultModelId: "mobileclip-s1",
|
|
34010
|
+
indexName: "the object semantic-search index",
|
|
34011
|
+
options: [{
|
|
34012
|
+
id: "mobileclip-s1",
|
|
34013
|
+
label: "MobileCLIP S1"
|
|
34014
|
+
}, {
|
|
34015
|
+
id: "mobileclip-s2",
|
|
34016
|
+
label: "MobileCLIP S2"
|
|
34017
|
+
}]
|
|
34018
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
34019
|
+
string().min(1);
|
|
33888
34020
|
object({
|
|
33889
34021
|
/**
|
|
33890
34022
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -33905,10 +34037,21 @@ object({
|
|
|
33905
34037
|
*/
|
|
33906
34038
|
square: boolean()
|
|
33907
34039
|
});
|
|
33908
|
-
|
|
34040
|
+
/**
|
|
34041
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
34042
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
34043
|
+
*/
|
|
34044
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
33909
34045
|
paddingRatio: .15,
|
|
33910
34046
|
square: false
|
|
33911
|
-
}
|
|
34047
|
+
};
|
|
34048
|
+
Object.freeze({
|
|
34049
|
+
x: 0,
|
|
34050
|
+
y: 0,
|
|
34051
|
+
w: 1,
|
|
34052
|
+
h: 1
|
|
34053
|
+
});
|
|
34054
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
33912
34055
|
/**
|
|
33913
34056
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
33914
34057
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.31",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|