@camstack/addon-decoder-nodeav 1.2.84 → 1.2.85
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/index.js +60 -1
- package/dist/index.mjs +60 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24283,6 +24283,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24283
24283
|
deviceId: number().int().optional(),
|
|
24284
24284
|
base64: string().optional()
|
|
24285
24285
|
});
|
|
24286
|
+
/**
|
|
24287
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24288
|
+
*
|
|
24289
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24290
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24291
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24292
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24293
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24294
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24295
|
+
*/
|
|
24296
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24297
|
+
sampleId: string(),
|
|
24298
|
+
enrolledAt: number().int(),
|
|
24299
|
+
deviceId: number().int().optional(),
|
|
24300
|
+
source: _enum(["detected", "photo"]),
|
|
24301
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24302
|
+
mediaKey: string().optional(),
|
|
24303
|
+
/**
|
|
24304
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24305
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24306
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24307
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24308
|
+
*/
|
|
24309
|
+
comparable: boolean(),
|
|
24310
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24311
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24312
|
+
selfMean: number().nullable(),
|
|
24313
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24314
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24315
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24316
|
+
bestForeign: object({
|
|
24317
|
+
identityId: string(),
|
|
24318
|
+
name: string(),
|
|
24319
|
+
score: number()
|
|
24320
|
+
}).optional(),
|
|
24321
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24322
|
+
suspicion: number()
|
|
24323
|
+
});
|
|
24324
|
+
var IdentitySampleAuditSchema = object({
|
|
24325
|
+
identityId: string(),
|
|
24326
|
+
name: string(),
|
|
24327
|
+
/** The cluster face model every comparison was made in. */
|
|
24328
|
+
modelId: string(),
|
|
24329
|
+
totalSamples: number().int(),
|
|
24330
|
+
comparableSamples: number().int(),
|
|
24331
|
+
flagged: number().int(),
|
|
24332
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24333
|
+
* only its current result. */
|
|
24334
|
+
flagThreshold: number(),
|
|
24335
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24336
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24337
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24338
|
+
});
|
|
24286
24339
|
var FaceInfoSchema = object({
|
|
24287
24340
|
faceId: string(),
|
|
24288
24341
|
deviceId: number().int(),
|
|
@@ -24434,7 +24487,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24434
24487
|
}), method(object({ id: string() }), _void(), {
|
|
24435
24488
|
kind: "mutation",
|
|
24436
24489
|
auth: "admin"
|
|
24437
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24490
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24438
24491
|
identityId: string(),
|
|
24439
24492
|
sampleId: string()
|
|
24440
24493
|
}), _void(), {
|
|
@@ -31661,6 +31714,12 @@ Object.freeze({
|
|
|
31661
31714
|
addonId: null,
|
|
31662
31715
|
access: "create"
|
|
31663
31716
|
},
|
|
31717
|
+
"faceGallery.auditIdentitySamples": {
|
|
31718
|
+
capName: "face-gallery",
|
|
31719
|
+
capScope: "system",
|
|
31720
|
+
addonId: null,
|
|
31721
|
+
access: "view"
|
|
31722
|
+
},
|
|
31664
31723
|
"faceGallery.createIdentity": {
|
|
31665
31724
|
capName: "face-gallery",
|
|
31666
31725
|
capScope: "system",
|
package/dist/index.mjs
CHANGED
|
@@ -24279,6 +24279,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
24279
24279
|
deviceId: number().int().optional(),
|
|
24280
24280
|
base64: string().optional()
|
|
24281
24281
|
});
|
|
24282
|
+
/**
|
|
24283
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
24284
|
+
*
|
|
24285
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
24286
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
24287
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
24288
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
24289
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
24290
|
+
* where every other cross-identity pair sits under 0.50.
|
|
24291
|
+
*/
|
|
24292
|
+
var IdentitySampleAuditRowSchema = object({
|
|
24293
|
+
sampleId: string(),
|
|
24294
|
+
enrolledAt: number().int(),
|
|
24295
|
+
deviceId: number().int().optional(),
|
|
24296
|
+
source: _enum(["detected", "photo"]),
|
|
24297
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
24298
|
+
mediaKey: string().optional(),
|
|
24299
|
+
/**
|
|
24300
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
24301
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
24302
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
24303
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
24304
|
+
*/
|
|
24305
|
+
comparable: boolean(),
|
|
24306
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
24307
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
24308
|
+
selfMean: number().nullable(),
|
|
24309
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
24310
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
24311
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
24312
|
+
bestForeign: object({
|
|
24313
|
+
identityId: string(),
|
|
24314
|
+
name: string(),
|
|
24315
|
+
score: number()
|
|
24316
|
+
}).optional(),
|
|
24317
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
24318
|
+
suspicion: number()
|
|
24319
|
+
});
|
|
24320
|
+
var IdentitySampleAuditSchema = object({
|
|
24321
|
+
identityId: string(),
|
|
24322
|
+
name: string(),
|
|
24323
|
+
/** The cluster face model every comparison was made in. */
|
|
24324
|
+
modelId: string(),
|
|
24325
|
+
totalSamples: number().int(),
|
|
24326
|
+
comparableSamples: number().int(),
|
|
24327
|
+
flagged: number().int(),
|
|
24328
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
24329
|
+
* only its current result. */
|
|
24330
|
+
flagThreshold: number(),
|
|
24331
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
24332
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
24333
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
24334
|
+
});
|
|
24282
24335
|
var FaceInfoSchema = object({
|
|
24283
24336
|
faceId: string(),
|
|
24284
24337
|
deviceId: number().int(),
|
|
@@ -24430,7 +24483,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24430
24483
|
}), method(object({ id: string() }), _void(), {
|
|
24431
24484
|
kind: "mutation",
|
|
24432
24485
|
auth: "admin"
|
|
24433
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
24486
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
24434
24487
|
identityId: string(),
|
|
24435
24488
|
sampleId: string()
|
|
24436
24489
|
}), _void(), {
|
|
@@ -31657,6 +31710,12 @@ Object.freeze({
|
|
|
31657
31710
|
addonId: null,
|
|
31658
31711
|
access: "create"
|
|
31659
31712
|
},
|
|
31713
|
+
"faceGallery.auditIdentitySamples": {
|
|
31714
|
+
capName: "face-gallery",
|
|
31715
|
+
capScope: "system",
|
|
31716
|
+
addonId: null,
|
|
31717
|
+
access: "view"
|
|
31718
|
+
},
|
|
31660
31719
|
"faceGallery.createIdentity": {
|
|
31661
31720
|
capName: "face-gallery",
|
|
31662
31721
|
capScope: "system",
|