@camstack/addon-provider-dreame 0.2.23 → 0.2.25
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/addon.js +204 -61
- package/dist/addon.mjs +204 -61
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -58071,7 +58071,7 @@ var RecordingBandSchema = object({
|
|
|
58071
58071
|
postBufferSec: number().min(0).optional()
|
|
58072
58072
|
});
|
|
58073
58073
|
({
|
|
58074
|
-
preBufferSec:
|
|
58074
|
+
preBufferSec: 15,
|
|
58075
58075
|
postBufferSec: 30
|
|
58076
58076
|
}).postBufferSec * 1e3;
|
|
58077
58077
|
/**
|
|
@@ -64291,128 +64291,103 @@ var COCO_TO_MACRO = {
|
|
|
64291
64291
|
var AUDIO_MACRO_LABELS = [
|
|
64292
64292
|
{
|
|
64293
64293
|
id: "speech",
|
|
64294
|
-
name: "Speech"
|
|
64295
|
-
icon: "🗣️"
|
|
64294
|
+
name: "Speech"
|
|
64296
64295
|
},
|
|
64297
64296
|
{
|
|
64298
64297
|
id: "scream",
|
|
64299
|
-
name: "Scream / Shout"
|
|
64300
|
-
icon: "😱"
|
|
64298
|
+
name: "Scream / Shout"
|
|
64301
64299
|
},
|
|
64302
64300
|
{
|
|
64303
64301
|
id: "crying",
|
|
64304
|
-
name: "Crying / Baby"
|
|
64305
|
-
icon: "😢"
|
|
64302
|
+
name: "Crying / Baby"
|
|
64306
64303
|
},
|
|
64307
64304
|
{
|
|
64308
64305
|
id: "laughter",
|
|
64309
|
-
name: "Laughter"
|
|
64310
|
-
icon: "😂"
|
|
64306
|
+
name: "Laughter"
|
|
64311
64307
|
},
|
|
64312
64308
|
{
|
|
64313
64309
|
id: "music",
|
|
64314
|
-
name: "Music"
|
|
64315
|
-
icon: "🎵"
|
|
64310
|
+
name: "Music"
|
|
64316
64311
|
},
|
|
64317
64312
|
{
|
|
64318
64313
|
id: "dog",
|
|
64319
|
-
name: "Dog"
|
|
64320
|
-
icon: "🐕"
|
|
64314
|
+
name: "Dog"
|
|
64321
64315
|
},
|
|
64322
64316
|
{
|
|
64323
64317
|
id: "cat",
|
|
64324
|
-
name: "Cat"
|
|
64325
|
-
icon: "🐈"
|
|
64318
|
+
name: "Cat"
|
|
64326
64319
|
},
|
|
64327
64320
|
{
|
|
64328
64321
|
id: "bird",
|
|
64329
|
-
name: "Bird"
|
|
64330
|
-
icon: "🐦"
|
|
64322
|
+
name: "Bird"
|
|
64331
64323
|
},
|
|
64332
64324
|
{
|
|
64333
64325
|
id: "animal",
|
|
64334
|
-
name: "Animal (other)"
|
|
64335
|
-
icon: "🐾"
|
|
64326
|
+
name: "Animal (other)"
|
|
64336
64327
|
},
|
|
64337
64328
|
{
|
|
64338
64329
|
id: "alarm",
|
|
64339
|
-
name: "Alarm / Siren"
|
|
64340
|
-
icon: "🚨"
|
|
64330
|
+
name: "Alarm / Siren"
|
|
64341
64331
|
},
|
|
64342
64332
|
{
|
|
64343
64333
|
id: "doorbell",
|
|
64344
|
-
name: "Doorbell / Knock"
|
|
64345
|
-
icon: "🔔"
|
|
64334
|
+
name: "Doorbell / Knock"
|
|
64346
64335
|
},
|
|
64347
64336
|
{
|
|
64348
64337
|
id: "glass_breaking",
|
|
64349
|
-
name: "Glass Breaking"
|
|
64350
|
-
icon: "💥"
|
|
64338
|
+
name: "Glass Breaking"
|
|
64351
64339
|
},
|
|
64352
64340
|
{
|
|
64353
64341
|
id: "gunshot",
|
|
64354
|
-
name: "Gunshot / Explosion"
|
|
64355
|
-
icon: "💣"
|
|
64342
|
+
name: "Gunshot / Explosion"
|
|
64356
64343
|
},
|
|
64357
64344
|
{
|
|
64358
64345
|
id: "vehicle",
|
|
64359
|
-
name: "Vehicle"
|
|
64360
|
-
icon: "🚗"
|
|
64346
|
+
name: "Vehicle"
|
|
64361
64347
|
},
|
|
64362
64348
|
{
|
|
64363
64349
|
id: "siren",
|
|
64364
|
-
name: "Emergency Siren"
|
|
64365
|
-
icon: "🚑"
|
|
64350
|
+
name: "Emergency Siren"
|
|
64366
64351
|
},
|
|
64367
64352
|
{
|
|
64368
64353
|
id: "fire",
|
|
64369
|
-
name: "Fire / Smoke"
|
|
64370
|
-
icon: "🔥"
|
|
64354
|
+
name: "Fire / Smoke"
|
|
64371
64355
|
},
|
|
64372
64356
|
{
|
|
64373
64357
|
id: "water",
|
|
64374
|
-
name: "Water"
|
|
64375
|
-
icon: "💧"
|
|
64358
|
+
name: "Water"
|
|
64376
64359
|
},
|
|
64377
64360
|
{
|
|
64378
64361
|
id: "wind",
|
|
64379
|
-
name: "Wind / Weather"
|
|
64380
|
-
icon: "🌬️"
|
|
64362
|
+
name: "Wind / Weather"
|
|
64381
64363
|
},
|
|
64382
64364
|
{
|
|
64383
64365
|
id: "door",
|
|
64384
|
-
name: "Door"
|
|
64385
|
-
icon: "🚪"
|
|
64366
|
+
name: "Door"
|
|
64386
64367
|
},
|
|
64387
64368
|
{
|
|
64388
64369
|
id: "footsteps",
|
|
64389
|
-
name: "Footsteps"
|
|
64390
|
-
icon: "👣"
|
|
64370
|
+
name: "Footsteps"
|
|
64391
64371
|
},
|
|
64392
64372
|
{
|
|
64393
64373
|
id: "crowd",
|
|
64394
|
-
name: "Crowd / Chatter"
|
|
64395
|
-
icon: "👥"
|
|
64374
|
+
name: "Crowd / Chatter"
|
|
64396
64375
|
},
|
|
64397
64376
|
{
|
|
64398
64377
|
id: "telephone",
|
|
64399
|
-
name: "Telephone"
|
|
64400
|
-
icon: "📞"
|
|
64378
|
+
name: "Telephone"
|
|
64401
64379
|
},
|
|
64402
64380
|
{
|
|
64403
64381
|
id: "engine",
|
|
64404
|
-
name: "Engine / Motor"
|
|
64405
|
-
icon: "⚙️"
|
|
64382
|
+
name: "Engine / Motor"
|
|
64406
64383
|
},
|
|
64407
64384
|
{
|
|
64408
64385
|
id: "tools",
|
|
64409
|
-
name: "Tools / Construction"
|
|
64410
|
-
icon: "🔨"
|
|
64386
|
+
name: "Tools / Construction"
|
|
64411
64387
|
},
|
|
64412
64388
|
{
|
|
64413
64389
|
id: "silence",
|
|
64414
|
-
name: "Silence"
|
|
64415
|
-
icon: "🤫"
|
|
64390
|
+
name: "Silence"
|
|
64416
64391
|
}
|
|
64417
64392
|
];
|
|
64418
64393
|
var YAMNET_TO_MACRO = {
|
|
@@ -66914,7 +66889,7 @@ var TrackEnvelopeSchema = object({
|
|
|
66914
66889
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
66915
66890
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
66916
66891
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
66917
|
-
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
66892
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
|
|
66918
66893
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
66919
66894
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
66920
66895
|
* (`getObjectEvents` et al.).
|
|
@@ -67209,6 +67184,35 @@ var TrackSchema = object({
|
|
|
67209
67184
|
*/
|
|
67210
67185
|
hasFace: boolean().optional(),
|
|
67211
67186
|
/**
|
|
67187
|
+
* This track has a face row IN THE GALLERY: a crop **and** an embedding — a
|
|
67188
|
+
* face an operator could ASSIGN to an identity.
|
|
67189
|
+
*
|
|
67190
|
+
* The STRICT twin of {@link hasFace}, and the pair only earns its keep
|
|
67191
|
+
* because the two disagree. `hasFace` is stamped at the TOP of the face
|
|
67192
|
+
* branch, before every gate, and means no more than "a face detector produced
|
|
67193
|
+
* a face detail". This one is stamped at the single moment the gallery row
|
|
67194
|
+
* LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
|
|
67195
|
+
* past the embedding-magnitude verdict, the `minFacePx` detection gate, the
|
|
67196
|
+
* candidate gate, the imageless-track drop (no crop was ever captured) and
|
|
67197
|
+
* the crop-store drop. Everything between the detector and that insert can
|
|
67198
|
+
* legitimately refuse the face, so a flag written any earlier promises the
|
|
67199
|
+
* operator something to assign and delivers nothing.
|
|
67200
|
+
*
|
|
67201
|
+
* **Independent of recognition.** A face collected but never auto-matched is
|
|
67202
|
+
* still assignable — it is in fact the face an operator most wants to reach —
|
|
67203
|
+
* so this is NOT gated on `recognizedIdentityId`. Recognition lands in
|
|
67204
|
+
* `subLabel`; this says only that the raw material exists.
|
|
67205
|
+
*
|
|
67206
|
+
* **Set once, never cleared.** A track that produced a gallery row produced
|
|
67207
|
+
* one; deleting the row later is the gallery's business, not this flag's.
|
|
67208
|
+
*
|
|
67209
|
+
* **Absent ≠ false**, the same rule as {@link hasFace}: every row written
|
|
67210
|
+
* before the column omits it, and so does every server that predates the
|
|
67211
|
+
* field. A consumer must test `=== true` and render nothing otherwise —
|
|
67212
|
+
* never infer "no assignable face".
|
|
67213
|
+
*/
|
|
67214
|
+
hasEmbeddedFace: boolean().optional(),
|
|
67215
|
+
/**
|
|
67212
67216
|
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
67213
67217
|
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
67214
67218
|
* so the passage is tracked once and as a VEHICLE.
|
|
@@ -68598,6 +68602,32 @@ var DetailResultSchema = object({
|
|
|
68598
68602
|
/** FRAME-space bbox (already mapped back from crop space). */
|
|
68599
68603
|
bbox: NativeCropBboxSchema.optional(),
|
|
68600
68604
|
embedding: string().optional(),
|
|
68605
|
+
/**
|
|
68606
|
+
* L2 magnitude of the RAW pre-normalization embedding. Additive and optional
|
|
68607
|
+
* so an older runner that does not send it degrades to "unmeasurable", which
|
|
68608
|
+
* the consuming gate treats as accept — never as reject.
|
|
68609
|
+
*/
|
|
68610
|
+
embeddingMagnitude: number().optional(),
|
|
68611
|
+
/**
|
|
68612
|
+
* Model that produced `embedding` — the SAME contract `labelModelId` has for
|
|
68613
|
+
* `label`, and for the same reason: the producing node is the only side that
|
|
68614
|
+
* knows which model actually ran, and re-deriving it downstream is exactly
|
|
68615
|
+
* the inference this model exists to forbid.
|
|
68616
|
+
*
|
|
68617
|
+
* Additive and optional, so a runner that predates it degrades to
|
|
68618
|
+
* "unmeasurable" rather than to a wrong answer — the consumer falls back to
|
|
68619
|
+
* its previous assumption instead of refusing.
|
|
68620
|
+
*
|
|
68621
|
+
* Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
|
|
68622
|
+
* to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
|
|
68623
|
+
* with nothing on the wire it took the id from the GALLERY, so the gate
|
|
68624
|
+
* compared the gallery against itself and could never fire. That turned the
|
|
68625
|
+
* one guard protecting the face feature space into a tautology, and it is
|
|
68626
|
+
* why swapping `face-embedding`'s model would NOT have stranded the enrolled
|
|
68627
|
+
* gallery as the catalog comment predicts — it would have scored the new
|
|
68628
|
+
* model's vectors against the old model's samples in one cosine space.
|
|
68629
|
+
*/
|
|
68630
|
+
embeddingModelId: string().optional(),
|
|
68601
68631
|
label: string().optional(),
|
|
68602
68632
|
/**
|
|
68603
68633
|
* The tier `label` occupies, copied VERBATIM from the producing step's
|
|
@@ -69473,6 +69503,12 @@ var CameraStatusSchema = object({
|
|
|
69473
69503
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
69474
69504
|
fetchedAt: number()
|
|
69475
69505
|
});
|
|
69506
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
69507
|
+
"disabled",
|
|
69508
|
+
"unavailable",
|
|
69509
|
+
"cannot-host-camera-root",
|
|
69510
|
+
"accelerator-preferred"
|
|
69511
|
+
]);
|
|
69476
69512
|
var NodeInferenceDeviceSchema = object({
|
|
69477
69513
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
69478
69514
|
key: string(),
|
|
@@ -69503,7 +69539,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
69503
69539
|
* available per format; this is the stored selection that becomes the
|
|
69504
69540
|
* default for EVERY camera landing on this accelerator.
|
|
69505
69541
|
*/
|
|
69506
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
69542
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
69543
|
+
/**
|
|
69544
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
69545
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
69546
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
69547
|
+
* never disagree with the election — deriving it in the UI from
|
|
69548
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
69549
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
69550
|
+
* "an accelerator is serving" predicate).
|
|
69551
|
+
*/
|
|
69552
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
69507
69553
|
});
|
|
69508
69554
|
var NodeInferenceDevicesSchema = object({
|
|
69509
69555
|
nodeId: string(),
|
|
@@ -70008,6 +70054,7 @@ DeviceType.Camera, method(object({
|
|
|
70008
70054
|
isBattery: boolean(),
|
|
70009
70055
|
reason: _enum([
|
|
70010
70056
|
"disabled",
|
|
70057
|
+
"offline",
|
|
70011
70058
|
"sleeping",
|
|
70012
70059
|
"unreachable",
|
|
70013
70060
|
"waking"
|
|
@@ -70053,9 +70100,17 @@ targets: array(object({
|
|
|
70053
70100
|
sleeping: boolean(),
|
|
70054
70101
|
/** Current device state rendered over the cached frame. State images
|
|
70055
70102
|
* remain authoritative even when their photographic background is
|
|
70056
|
-
* old; null means the link must carry a current camera frame.
|
|
70103
|
+
* old; null means the link must carry a current camera frame.
|
|
70104
|
+
*
|
|
70105
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
70106
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
70107
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
70108
|
+
* — the frame comes from here, and so must the sentence over it
|
|
70109
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
70110
|
+
* state. */
|
|
70057
70111
|
stateReason: _enum([
|
|
70058
70112
|
"disabled",
|
|
70113
|
+
"offline",
|
|
70059
70114
|
"sleeping",
|
|
70060
70115
|
"unreachable",
|
|
70061
70116
|
"waking"
|
|
@@ -74370,7 +74425,12 @@ var ListResultSchema = object({
|
|
|
74370
74425
|
probedAt: number()
|
|
74371
74426
|
});
|
|
74372
74427
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
74373
|
-
|
|
74428
|
+
/**
|
|
74429
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
74430
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
74431
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
74432
|
+
*/
|
|
74433
|
+
var ConnectionEndpointSchema = object({
|
|
74374
74434
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
74375
74435
|
label: string(),
|
|
74376
74436
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -74413,7 +74473,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
74413
74473
|
* ordering between polls.
|
|
74414
74474
|
*/
|
|
74415
74475
|
priority: number()
|
|
74416
|
-
})
|
|
74476
|
+
});
|
|
74477
|
+
/**
|
|
74478
|
+
* Where the advertised local port came from. Ordered most → least
|
|
74479
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
74480
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
74481
|
+
*/
|
|
74482
|
+
var LocalPortSourceEnum = _enum([
|
|
74483
|
+
"server-config",
|
|
74484
|
+
"server-env",
|
|
74485
|
+
"caller-hint",
|
|
74486
|
+
"default"
|
|
74487
|
+
]);
|
|
74488
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
74489
|
+
var AdvertisedLocalPortSchema = object({
|
|
74490
|
+
port: number().int().min(1).max(65535),
|
|
74491
|
+
source: LocalPortSourceEnum
|
|
74492
|
+
});
|
|
74493
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
74494
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
74495
|
+
/**
|
|
74496
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
74497
|
+
* came from.
|
|
74498
|
+
*
|
|
74499
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
74500
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
74501
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
74502
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
74503
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
74504
|
+
* `caller-hint` is the hub's own socket.
|
|
74505
|
+
*
|
|
74506
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
74507
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
74508
|
+
* `caller-hint`.
|
|
74509
|
+
*/
|
|
74510
|
+
localPort: AdvertisedLocalPortSchema
|
|
74511
|
+
});
|
|
74417
74512
|
/**
|
|
74418
74513
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
74419
74514
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -74434,8 +74529,13 @@ var AllowedAddressesSchema = object({
|
|
|
74434
74529
|
*/
|
|
74435
74530
|
addresses: array(string()).readonly() });
|
|
74436
74531
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
74437
|
-
/**
|
|
74438
|
-
|
|
74532
|
+
/**
|
|
74533
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
74534
|
+
* written against the echoing contract keep working; the hub uses it
|
|
74535
|
+
* only when it cannot read its own port, and says so via
|
|
74536
|
+
* `localPort.source === 'caller-hint'`.
|
|
74537
|
+
*/
|
|
74538
|
+
port: number().int().min(1).max(65535).optional(),
|
|
74439
74539
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
74440
74540
|
* candidate. Default `true`. */
|
|
74441
74541
|
includeLoopback: boolean().optional(),
|
|
@@ -87623,7 +87723,6 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
87623
87723
|
hitPercent: 60,
|
|
87624
87724
|
samplingSeconds: 10
|
|
87625
87725
|
};
|
|
87626
|
-
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
87627
87726
|
new Set(["devices", "classes"]);
|
|
87628
87727
|
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
87629
87728
|
/**
|
|
@@ -87857,6 +87956,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
87857
87956
|
createdAt: number(),
|
|
87858
87957
|
updatedAt: number()
|
|
87859
87958
|
});
|
|
87959
|
+
Object.freeze(Object.fromEntries([{
|
|
87960
|
+
stepId: "face-embedding",
|
|
87961
|
+
label: "Face recognition model",
|
|
87962
|
+
defaultModelId: "arcface-r100",
|
|
87963
|
+
indexName: "the enrolled face gallery",
|
|
87964
|
+
options: [
|
|
87965
|
+
{
|
|
87966
|
+
id: "arcface-r100",
|
|
87967
|
+
label: "ArcFace (ResNet34)"
|
|
87968
|
+
},
|
|
87969
|
+
{
|
|
87970
|
+
id: "auraface-r100",
|
|
87971
|
+
label: "AuraFace R100"
|
|
87972
|
+
},
|
|
87973
|
+
{
|
|
87974
|
+
id: "inception-resnet-v1",
|
|
87975
|
+
label: "Inception ResNet V1"
|
|
87976
|
+
}
|
|
87977
|
+
]
|
|
87978
|
+
}, {
|
|
87979
|
+
stepId: "clip-embedding",
|
|
87980
|
+
label: "Semantic search model",
|
|
87981
|
+
defaultModelId: "mobileclip-s1",
|
|
87982
|
+
indexName: "the object semantic-search index",
|
|
87983
|
+
options: [{
|
|
87984
|
+
id: "mobileclip-s1",
|
|
87985
|
+
label: "MobileCLIP S1"
|
|
87986
|
+
}, {
|
|
87987
|
+
id: "mobileclip-s2",
|
|
87988
|
+
label: "MobileCLIP S2"
|
|
87989
|
+
}]
|
|
87990
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
87991
|
+
string().min(1);
|
|
87860
87992
|
object({
|
|
87861
87993
|
/**
|
|
87862
87994
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -87877,10 +88009,21 @@ object({
|
|
|
87877
88009
|
*/
|
|
87878
88010
|
square: boolean()
|
|
87879
88011
|
});
|
|
87880
|
-
|
|
88012
|
+
/**
|
|
88013
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
88014
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
88015
|
+
*/
|
|
88016
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
87881
88017
|
paddingRatio: .15,
|
|
87882
88018
|
square: false
|
|
87883
|
-
}
|
|
88019
|
+
};
|
|
88020
|
+
Object.freeze({
|
|
88021
|
+
x: 0,
|
|
88022
|
+
y: 0,
|
|
88023
|
+
w: 1,
|
|
88024
|
+
h: 1
|
|
88025
|
+
});
|
|
88026
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
87884
88027
|
/**
|
|
87885
88028
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
87886
88029
|
*
|
package/dist/addon.mjs
CHANGED
|
@@ -58071,7 +58071,7 @@ var RecordingBandSchema = object({
|
|
|
58071
58071
|
postBufferSec: number().min(0).optional()
|
|
58072
58072
|
});
|
|
58073
58073
|
({
|
|
58074
|
-
preBufferSec:
|
|
58074
|
+
preBufferSec: 15,
|
|
58075
58075
|
postBufferSec: 30
|
|
58076
58076
|
}).postBufferSec * 1e3;
|
|
58077
58077
|
/**
|
|
@@ -64291,128 +64291,103 @@ var COCO_TO_MACRO = {
|
|
|
64291
64291
|
var AUDIO_MACRO_LABELS = [
|
|
64292
64292
|
{
|
|
64293
64293
|
id: "speech",
|
|
64294
|
-
name: "Speech"
|
|
64295
|
-
icon: "🗣️"
|
|
64294
|
+
name: "Speech"
|
|
64296
64295
|
},
|
|
64297
64296
|
{
|
|
64298
64297
|
id: "scream",
|
|
64299
|
-
name: "Scream / Shout"
|
|
64300
|
-
icon: "😱"
|
|
64298
|
+
name: "Scream / Shout"
|
|
64301
64299
|
},
|
|
64302
64300
|
{
|
|
64303
64301
|
id: "crying",
|
|
64304
|
-
name: "Crying / Baby"
|
|
64305
|
-
icon: "😢"
|
|
64302
|
+
name: "Crying / Baby"
|
|
64306
64303
|
},
|
|
64307
64304
|
{
|
|
64308
64305
|
id: "laughter",
|
|
64309
|
-
name: "Laughter"
|
|
64310
|
-
icon: "😂"
|
|
64306
|
+
name: "Laughter"
|
|
64311
64307
|
},
|
|
64312
64308
|
{
|
|
64313
64309
|
id: "music",
|
|
64314
|
-
name: "Music"
|
|
64315
|
-
icon: "🎵"
|
|
64310
|
+
name: "Music"
|
|
64316
64311
|
},
|
|
64317
64312
|
{
|
|
64318
64313
|
id: "dog",
|
|
64319
|
-
name: "Dog"
|
|
64320
|
-
icon: "🐕"
|
|
64314
|
+
name: "Dog"
|
|
64321
64315
|
},
|
|
64322
64316
|
{
|
|
64323
64317
|
id: "cat",
|
|
64324
|
-
name: "Cat"
|
|
64325
|
-
icon: "🐈"
|
|
64318
|
+
name: "Cat"
|
|
64326
64319
|
},
|
|
64327
64320
|
{
|
|
64328
64321
|
id: "bird",
|
|
64329
|
-
name: "Bird"
|
|
64330
|
-
icon: "🐦"
|
|
64322
|
+
name: "Bird"
|
|
64331
64323
|
},
|
|
64332
64324
|
{
|
|
64333
64325
|
id: "animal",
|
|
64334
|
-
name: "Animal (other)"
|
|
64335
|
-
icon: "🐾"
|
|
64326
|
+
name: "Animal (other)"
|
|
64336
64327
|
},
|
|
64337
64328
|
{
|
|
64338
64329
|
id: "alarm",
|
|
64339
|
-
name: "Alarm / Siren"
|
|
64340
|
-
icon: "🚨"
|
|
64330
|
+
name: "Alarm / Siren"
|
|
64341
64331
|
},
|
|
64342
64332
|
{
|
|
64343
64333
|
id: "doorbell",
|
|
64344
|
-
name: "Doorbell / Knock"
|
|
64345
|
-
icon: "🔔"
|
|
64334
|
+
name: "Doorbell / Knock"
|
|
64346
64335
|
},
|
|
64347
64336
|
{
|
|
64348
64337
|
id: "glass_breaking",
|
|
64349
|
-
name: "Glass Breaking"
|
|
64350
|
-
icon: "💥"
|
|
64338
|
+
name: "Glass Breaking"
|
|
64351
64339
|
},
|
|
64352
64340
|
{
|
|
64353
64341
|
id: "gunshot",
|
|
64354
|
-
name: "Gunshot / Explosion"
|
|
64355
|
-
icon: "💣"
|
|
64342
|
+
name: "Gunshot / Explosion"
|
|
64356
64343
|
},
|
|
64357
64344
|
{
|
|
64358
64345
|
id: "vehicle",
|
|
64359
|
-
name: "Vehicle"
|
|
64360
|
-
icon: "🚗"
|
|
64346
|
+
name: "Vehicle"
|
|
64361
64347
|
},
|
|
64362
64348
|
{
|
|
64363
64349
|
id: "siren",
|
|
64364
|
-
name: "Emergency Siren"
|
|
64365
|
-
icon: "🚑"
|
|
64350
|
+
name: "Emergency Siren"
|
|
64366
64351
|
},
|
|
64367
64352
|
{
|
|
64368
64353
|
id: "fire",
|
|
64369
|
-
name: "Fire / Smoke"
|
|
64370
|
-
icon: "🔥"
|
|
64354
|
+
name: "Fire / Smoke"
|
|
64371
64355
|
},
|
|
64372
64356
|
{
|
|
64373
64357
|
id: "water",
|
|
64374
|
-
name: "Water"
|
|
64375
|
-
icon: "💧"
|
|
64358
|
+
name: "Water"
|
|
64376
64359
|
},
|
|
64377
64360
|
{
|
|
64378
64361
|
id: "wind",
|
|
64379
|
-
name: "Wind / Weather"
|
|
64380
|
-
icon: "🌬️"
|
|
64362
|
+
name: "Wind / Weather"
|
|
64381
64363
|
},
|
|
64382
64364
|
{
|
|
64383
64365
|
id: "door",
|
|
64384
|
-
name: "Door"
|
|
64385
|
-
icon: "🚪"
|
|
64366
|
+
name: "Door"
|
|
64386
64367
|
},
|
|
64387
64368
|
{
|
|
64388
64369
|
id: "footsteps",
|
|
64389
|
-
name: "Footsteps"
|
|
64390
|
-
icon: "👣"
|
|
64370
|
+
name: "Footsteps"
|
|
64391
64371
|
},
|
|
64392
64372
|
{
|
|
64393
64373
|
id: "crowd",
|
|
64394
|
-
name: "Crowd / Chatter"
|
|
64395
|
-
icon: "👥"
|
|
64374
|
+
name: "Crowd / Chatter"
|
|
64396
64375
|
},
|
|
64397
64376
|
{
|
|
64398
64377
|
id: "telephone",
|
|
64399
|
-
name: "Telephone"
|
|
64400
|
-
icon: "📞"
|
|
64378
|
+
name: "Telephone"
|
|
64401
64379
|
},
|
|
64402
64380
|
{
|
|
64403
64381
|
id: "engine",
|
|
64404
|
-
name: "Engine / Motor"
|
|
64405
|
-
icon: "⚙️"
|
|
64382
|
+
name: "Engine / Motor"
|
|
64406
64383
|
},
|
|
64407
64384
|
{
|
|
64408
64385
|
id: "tools",
|
|
64409
|
-
name: "Tools / Construction"
|
|
64410
|
-
icon: "🔨"
|
|
64386
|
+
name: "Tools / Construction"
|
|
64411
64387
|
},
|
|
64412
64388
|
{
|
|
64413
64389
|
id: "silence",
|
|
64414
|
-
name: "Silence"
|
|
64415
|
-
icon: "🤫"
|
|
64390
|
+
name: "Silence"
|
|
64416
64391
|
}
|
|
64417
64392
|
];
|
|
64418
64393
|
var YAMNET_TO_MACRO = {
|
|
@@ -66914,7 +66889,7 @@ var TrackEnvelopeSchema = object({
|
|
|
66914
66889
|
* `snapshots[]` references — megabytes across a page of tracks. `slim`
|
|
66915
66890
|
* keeps every scalar the list surfaces actually render (ids, class(es),
|
|
66916
66891
|
* label / audioLabels / importance enrichment, firstSeen/lastSeen, state,
|
|
66917
|
-
* zonesVisited, bestEventId, envelope, hasFace, hasRider) and returns `positions` /
|
|
66892
|
+
* zonesVisited, bestEventId, envelope, hasFace, hasEmbeddedFace, hasRider) and returns `positions` /
|
|
66918
66893
|
* `snapshots` as EMPTY arrays — detail views re-fetch the full row via
|
|
66919
66894
|
* `getTrack`. Mirrors the event-store `projection` convention
|
|
66920
66895
|
* (`getObjectEvents` et al.).
|
|
@@ -67209,6 +67184,35 @@ var TrackSchema = object({
|
|
|
67209
67184
|
*/
|
|
67210
67185
|
hasFace: boolean().optional(),
|
|
67211
67186
|
/**
|
|
67187
|
+
* This track has a face row IN THE GALLERY: a crop **and** an embedding — a
|
|
67188
|
+
* face an operator could ASSIGN to an identity.
|
|
67189
|
+
*
|
|
67190
|
+
* The STRICT twin of {@link hasFace}, and the pair only earns its keep
|
|
67191
|
+
* because the two disagree. `hasFace` is stamped at the TOP of the face
|
|
67192
|
+
* branch, before every gate, and means no more than "a face detector produced
|
|
67193
|
+
* a face detail". This one is stamped at the single moment the gallery row
|
|
67194
|
+
* LANDS — after `FaceRecognizer.onTrackEnd` successfully persists it, i.e.
|
|
67195
|
+
* past the embedding-magnitude verdict, the `minFacePx` detection gate, the
|
|
67196
|
+
* candidate gate, the imageless-track drop (no crop was ever captured) and
|
|
67197
|
+
* the crop-store drop. Everything between the detector and that insert can
|
|
67198
|
+
* legitimately refuse the face, so a flag written any earlier promises the
|
|
67199
|
+
* operator something to assign and delivers nothing.
|
|
67200
|
+
*
|
|
67201
|
+
* **Independent of recognition.** A face collected but never auto-matched is
|
|
67202
|
+
* still assignable — it is in fact the face an operator most wants to reach —
|
|
67203
|
+
* so this is NOT gated on `recognizedIdentityId`. Recognition lands in
|
|
67204
|
+
* `subLabel`; this says only that the raw material exists.
|
|
67205
|
+
*
|
|
67206
|
+
* **Set once, never cleared.** A track that produced a gallery row produced
|
|
67207
|
+
* one; deleting the row later is the gallery's business, not this flag's.
|
|
67208
|
+
*
|
|
67209
|
+
* **Absent ≠ false**, the same rule as {@link hasFace}: every row written
|
|
67210
|
+
* before the column omits it, and so does every server that predates the
|
|
67211
|
+
* field. A consumer must test `=== true` and render nothing otherwise —
|
|
67212
|
+
* never infer "no assignable face".
|
|
67213
|
+
*/
|
|
67214
|
+
hasEmbeddedFace: boolean().optional(),
|
|
67215
|
+
/**
|
|
67212
67216
|
* This subject CONTAINS a folded rider — a person the rider-pairing step
|
|
67213
67217
|
* ([D34](../decisions/adr-0034.md)) removed from the frame BEFORE the tracker,
|
|
67214
67218
|
* so the passage is tracked once and as a VEHICLE.
|
|
@@ -68598,6 +68602,32 @@ var DetailResultSchema = object({
|
|
|
68598
68602
|
/** FRAME-space bbox (already mapped back from crop space). */
|
|
68599
68603
|
bbox: NativeCropBboxSchema.optional(),
|
|
68600
68604
|
embedding: string().optional(),
|
|
68605
|
+
/**
|
|
68606
|
+
* L2 magnitude of the RAW pre-normalization embedding. Additive and optional
|
|
68607
|
+
* so an older runner that does not send it degrades to "unmeasurable", which
|
|
68608
|
+
* the consuming gate treats as accept — never as reject.
|
|
68609
|
+
*/
|
|
68610
|
+
embeddingMagnitude: number().optional(),
|
|
68611
|
+
/**
|
|
68612
|
+
* Model that produced `embedding` — the SAME contract `labelModelId` has for
|
|
68613
|
+
* `label`, and for the same reason: the producing node is the only side that
|
|
68614
|
+
* knows which model actually ran, and re-deriving it downstream is exactly
|
|
68615
|
+
* the inference this model exists to forbid.
|
|
68616
|
+
*
|
|
68617
|
+
* Additive and optional, so a runner that predates it degrades to
|
|
68618
|
+
* "unmeasurable" rather than to a wrong answer — the consumer falls back to
|
|
68619
|
+
* its previous assumption instead of refusing.
|
|
68620
|
+
*
|
|
68621
|
+
* Its absence was not cosmetic. `FaceRecognizer` needs the probe's model id
|
|
68622
|
+
* to use `face-matcher`'s same-model gate (`sample.modelId !== probe.modelId`);
|
|
68623
|
+
* with nothing on the wire it took the id from the GALLERY, so the gate
|
|
68624
|
+
* compared the gallery against itself and could never fire. That turned the
|
|
68625
|
+
* one guard protecting the face feature space into a tautology, and it is
|
|
68626
|
+
* why swapping `face-embedding`'s model would NOT have stranded the enrolled
|
|
68627
|
+
* gallery as the catalog comment predicts — it would have scored the new
|
|
68628
|
+
* model's vectors against the old model's samples in one cosine space.
|
|
68629
|
+
*/
|
|
68630
|
+
embeddingModelId: string().optional(),
|
|
68601
68631
|
label: string().optional(),
|
|
68602
68632
|
/**
|
|
68603
68633
|
* The tier `label` occupies, copied VERBATIM from the producing step's
|
|
@@ -69473,6 +69503,12 @@ var CameraStatusSchema = object({
|
|
|
69473
69503
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
69474
69504
|
fetchedAt: number()
|
|
69475
69505
|
});
|
|
69506
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
69507
|
+
"disabled",
|
|
69508
|
+
"unavailable",
|
|
69509
|
+
"cannot-host-camera-root",
|
|
69510
|
+
"accelerator-preferred"
|
|
69511
|
+
]);
|
|
69476
69512
|
var NodeInferenceDeviceSchema = object({
|
|
69477
69513
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
69478
69514
|
key: string(),
|
|
@@ -69503,7 +69539,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
69503
69539
|
* available per format; this is the stored selection that becomes the
|
|
69504
69540
|
* default for EVERY camera landing on this accelerator.
|
|
69505
69541
|
*/
|
|
69506
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
69542
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
69543
|
+
/**
|
|
69544
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
69545
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
69546
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
69547
|
+
* never disagree with the election — deriving it in the UI from
|
|
69548
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
69549
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
69550
|
+
* "an accelerator is serving" predicate).
|
|
69551
|
+
*/
|
|
69552
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
69507
69553
|
});
|
|
69508
69554
|
var NodeInferenceDevicesSchema = object({
|
|
69509
69555
|
nodeId: string(),
|
|
@@ -70008,6 +70054,7 @@ DeviceType.Camera, method(object({
|
|
|
70008
70054
|
isBattery: boolean(),
|
|
70009
70055
|
reason: _enum([
|
|
70010
70056
|
"disabled",
|
|
70057
|
+
"offline",
|
|
70011
70058
|
"sleeping",
|
|
70012
70059
|
"unreachable",
|
|
70013
70060
|
"waking"
|
|
@@ -70053,9 +70100,17 @@ targets: array(object({
|
|
|
70053
70100
|
sleeping: boolean(),
|
|
70054
70101
|
/** Current device state rendered over the cached frame. State images
|
|
70055
70102
|
* remain authoritative even when their photographic background is
|
|
70056
|
-
* old; null means the link must carry a current camera frame.
|
|
70103
|
+
* old; null means the link must carry a current camera frame.
|
|
70104
|
+
*
|
|
70105
|
+
* **This is the ONLY source a surface may derive an inactive tile
|
|
70106
|
+
* from.** A client that reads a device's `online`/`disabled` flags and
|
|
70107
|
+
* draws its own verdict will disagree with the pixels it is painting
|
|
70108
|
+
* — the frame comes from here, and so must the sentence over it
|
|
70109
|
+
* (D190). Pair with `ageMs` for the age of the photograph behind the
|
|
70110
|
+
* state. */
|
|
70057
70111
|
stateReason: _enum([
|
|
70058
70112
|
"disabled",
|
|
70113
|
+
"offline",
|
|
70059
70114
|
"sleeping",
|
|
70060
70115
|
"unreachable",
|
|
70061
70116
|
"waking"
|
|
@@ -74370,7 +74425,12 @@ var ListResultSchema = object({
|
|
|
74370
74425
|
probedAt: number()
|
|
74371
74426
|
});
|
|
74372
74427
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
74373
|
-
|
|
74428
|
+
/**
|
|
74429
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
74430
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
74431
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
74432
|
+
*/
|
|
74433
|
+
var ConnectionEndpointSchema = object({
|
|
74374
74434
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
74375
74435
|
label: string(),
|
|
74376
74436
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -74413,7 +74473,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
74413
74473
|
* ordering between polls.
|
|
74414
74474
|
*/
|
|
74415
74475
|
priority: number()
|
|
74416
|
-
})
|
|
74476
|
+
});
|
|
74477
|
+
/**
|
|
74478
|
+
* Where the advertised local port came from. Ordered most → least
|
|
74479
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
74480
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
74481
|
+
*/
|
|
74482
|
+
var LocalPortSourceEnum = _enum([
|
|
74483
|
+
"server-config",
|
|
74484
|
+
"server-env",
|
|
74485
|
+
"caller-hint",
|
|
74486
|
+
"default"
|
|
74487
|
+
]);
|
|
74488
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
74489
|
+
var AdvertisedLocalPortSchema = object({
|
|
74490
|
+
port: number().int().min(1).max(65535),
|
|
74491
|
+
source: LocalPortSourceEnum
|
|
74492
|
+
});
|
|
74493
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
74494
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
74495
|
+
/**
|
|
74496
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
74497
|
+
* came from.
|
|
74498
|
+
*
|
|
74499
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
74500
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
74501
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
74502
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
74503
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
74504
|
+
* `caller-hint` is the hub's own socket.
|
|
74505
|
+
*
|
|
74506
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
74507
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
74508
|
+
* `caller-hint`.
|
|
74509
|
+
*/
|
|
74510
|
+
localPort: AdvertisedLocalPortSchema
|
|
74511
|
+
});
|
|
74417
74512
|
/**
|
|
74418
74513
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
74419
74514
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -74434,8 +74529,13 @@ var AllowedAddressesSchema = object({
|
|
|
74434
74529
|
*/
|
|
74435
74530
|
addresses: array(string()).readonly() });
|
|
74436
74531
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
74437
|
-
/**
|
|
74438
|
-
|
|
74532
|
+
/**
|
|
74533
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
74534
|
+
* written against the echoing contract keep working; the hub uses it
|
|
74535
|
+
* only when it cannot read its own port, and says so via
|
|
74536
|
+
* `localPort.source === 'caller-hint'`.
|
|
74537
|
+
*/
|
|
74538
|
+
port: number().int().min(1).max(65535).optional(),
|
|
74439
74539
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
74440
74540
|
* candidate. Default `true`. */
|
|
74441
74541
|
includeLoopback: boolean().optional(),
|
|
@@ -87623,7 +87723,6 @@ var NC_AUDIO_DEFAULTS = {
|
|
|
87623
87723
|
hitPercent: 60,
|
|
87624
87724
|
samplingSeconds: 10
|
|
87625
87725
|
};
|
|
87626
|
-
new Map(AUDIO_MACRO_LABELS.flatMap((macro) => macro.icon === void 0 ? [] : [[macro.id, macro.icon]]));
|
|
87627
87726
|
new Set(["devices", "classes"]);
|
|
87628
87727
|
NC_AUDIO_DEFAULTS.hitPercent, NC_AUDIO_DEFAULTS.samplingSeconds;
|
|
87629
87728
|
/**
|
|
@@ -87857,6 +87956,39 @@ TimelapseRuleInputSchema.extend({
|
|
|
87857
87956
|
createdAt: number(),
|
|
87858
87957
|
updatedAt: number()
|
|
87859
87958
|
});
|
|
87959
|
+
Object.freeze(Object.fromEntries([{
|
|
87960
|
+
stepId: "face-embedding",
|
|
87961
|
+
label: "Face recognition model",
|
|
87962
|
+
defaultModelId: "arcface-r100",
|
|
87963
|
+
indexName: "the enrolled face gallery",
|
|
87964
|
+
options: [
|
|
87965
|
+
{
|
|
87966
|
+
id: "arcface-r100",
|
|
87967
|
+
label: "ArcFace (ResNet34)"
|
|
87968
|
+
},
|
|
87969
|
+
{
|
|
87970
|
+
id: "auraface-r100",
|
|
87971
|
+
label: "AuraFace R100"
|
|
87972
|
+
},
|
|
87973
|
+
{
|
|
87974
|
+
id: "inception-resnet-v1",
|
|
87975
|
+
label: "Inception ResNet V1"
|
|
87976
|
+
}
|
|
87977
|
+
]
|
|
87978
|
+
}, {
|
|
87979
|
+
stepId: "clip-embedding",
|
|
87980
|
+
label: "Semantic search model",
|
|
87981
|
+
defaultModelId: "mobileclip-s1",
|
|
87982
|
+
indexName: "the object semantic-search index",
|
|
87983
|
+
options: [{
|
|
87984
|
+
id: "mobileclip-s1",
|
|
87985
|
+
label: "MobileCLIP S1"
|
|
87986
|
+
}, {
|
|
87987
|
+
id: "mobileclip-s2",
|
|
87988
|
+
label: "MobileCLIP S2"
|
|
87989
|
+
}]
|
|
87990
|
+
}].map((s) => [s.stepId, s.defaultModelId])));
|
|
87991
|
+
string().min(1);
|
|
87860
87992
|
object({
|
|
87861
87993
|
/**
|
|
87862
87994
|
* Fraction of the box's own size added on EACH side before cutting.
|
|
@@ -87877,10 +88009,21 @@ object({
|
|
|
87877
88009
|
*/
|
|
87878
88010
|
square: boolean()
|
|
87879
88011
|
});
|
|
87880
|
-
|
|
88012
|
+
/**
|
|
88013
|
+
* The convention in force when nobody has configured one — byte-for-byte the
|
|
88014
|
+
* behaviour of the pre-unification LIVE path (`DETAIL_CROP_PADDING_RATIO`).
|
|
88015
|
+
*/
|
|
88016
|
+
var DEFAULT_DETAIL_CROP_CONVENTION = {
|
|
87881
88017
|
paddingRatio: .15,
|
|
87882
88018
|
square: false
|
|
87883
|
-
}
|
|
88019
|
+
};
|
|
88020
|
+
Object.freeze({
|
|
88021
|
+
x: 0,
|
|
88022
|
+
y: 0,
|
|
88023
|
+
w: 1,
|
|
88024
|
+
h: 1
|
|
88025
|
+
});
|
|
88026
|
+
DEFAULT_DETAIL_CROP_CONVENTION.paddingRatio;
|
|
87884
88027
|
/**
|
|
87885
88028
|
* WHICH delivered frames the decode worker retains a native copy of.
|
|
87886
88029
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|