@camstack/addon-provider-amcrest 0.2.86 → 0.2.87
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 +60 -1
- package/dist/addon.mjs +60 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -25350,6 +25350,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25350
25350
|
deviceId: number().int().optional(),
|
|
25351
25351
|
base64: string().optional()
|
|
25352
25352
|
});
|
|
25353
|
+
/**
|
|
25354
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25355
|
+
*
|
|
25356
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25357
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25358
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25359
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25360
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25361
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25362
|
+
*/
|
|
25363
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25364
|
+
sampleId: string(),
|
|
25365
|
+
enrolledAt: number().int(),
|
|
25366
|
+
deviceId: number().int().optional(),
|
|
25367
|
+
source: _enum(["detected", "photo"]),
|
|
25368
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25369
|
+
mediaKey: string().optional(),
|
|
25370
|
+
/**
|
|
25371
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25372
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25373
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25374
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25375
|
+
*/
|
|
25376
|
+
comparable: boolean(),
|
|
25377
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25378
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25379
|
+
selfMean: number().nullable(),
|
|
25380
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25381
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25382
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25383
|
+
bestForeign: object({
|
|
25384
|
+
identityId: string(),
|
|
25385
|
+
name: string(),
|
|
25386
|
+
score: number()
|
|
25387
|
+
}).optional(),
|
|
25388
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25389
|
+
suspicion: number()
|
|
25390
|
+
});
|
|
25391
|
+
var IdentitySampleAuditSchema = object({
|
|
25392
|
+
identityId: string(),
|
|
25393
|
+
name: string(),
|
|
25394
|
+
/** The cluster face model every comparison was made in. */
|
|
25395
|
+
modelId: string(),
|
|
25396
|
+
totalSamples: number().int(),
|
|
25397
|
+
comparableSamples: number().int(),
|
|
25398
|
+
flagged: number().int(),
|
|
25399
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25400
|
+
* only its current result. */
|
|
25401
|
+
flagThreshold: number(),
|
|
25402
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25403
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25404
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25405
|
+
});
|
|
25353
25406
|
var FaceInfoSchema = object({
|
|
25354
25407
|
faceId: string(),
|
|
25355
25408
|
deviceId: number().int(),
|
|
@@ -25501,7 +25554,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25501
25554
|
}), method(object({ id: string() }), _void(), {
|
|
25502
25555
|
kind: "mutation",
|
|
25503
25556
|
auth: "admin"
|
|
25504
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25557
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25505
25558
|
identityId: string(),
|
|
25506
25559
|
sampleId: string()
|
|
25507
25560
|
}), _void(), {
|
|
@@ -36506,6 +36559,12 @@ Object.freeze({
|
|
|
36506
36559
|
addonId: null,
|
|
36507
36560
|
access: "create"
|
|
36508
36561
|
},
|
|
36562
|
+
"faceGallery.auditIdentitySamples": {
|
|
36563
|
+
capName: "face-gallery",
|
|
36564
|
+
capScope: "system",
|
|
36565
|
+
addonId: null,
|
|
36566
|
+
access: "view"
|
|
36567
|
+
},
|
|
36509
36568
|
"faceGallery.createIdentity": {
|
|
36510
36569
|
capName: "face-gallery",
|
|
36511
36570
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -25351,6 +25351,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25351
25351
|
deviceId: number().int().optional(),
|
|
25352
25352
|
base64: string().optional()
|
|
25353
25353
|
});
|
|
25354
|
+
/**
|
|
25355
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25356
|
+
*
|
|
25357
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25358
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25359
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25360
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25361
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25362
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25363
|
+
*/
|
|
25364
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25365
|
+
sampleId: string(),
|
|
25366
|
+
enrolledAt: number().int(),
|
|
25367
|
+
deviceId: number().int().optional(),
|
|
25368
|
+
source: _enum(["detected", "photo"]),
|
|
25369
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25370
|
+
mediaKey: string().optional(),
|
|
25371
|
+
/**
|
|
25372
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25373
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25374
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25375
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25376
|
+
*/
|
|
25377
|
+
comparable: boolean(),
|
|
25378
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25379
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25380
|
+
selfMean: number().nullable(),
|
|
25381
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25382
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25383
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25384
|
+
bestForeign: object({
|
|
25385
|
+
identityId: string(),
|
|
25386
|
+
name: string(),
|
|
25387
|
+
score: number()
|
|
25388
|
+
}).optional(),
|
|
25389
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25390
|
+
suspicion: number()
|
|
25391
|
+
});
|
|
25392
|
+
var IdentitySampleAuditSchema = object({
|
|
25393
|
+
identityId: string(),
|
|
25394
|
+
name: string(),
|
|
25395
|
+
/** The cluster face model every comparison was made in. */
|
|
25396
|
+
modelId: string(),
|
|
25397
|
+
totalSamples: number().int(),
|
|
25398
|
+
comparableSamples: number().int(),
|
|
25399
|
+
flagged: number().int(),
|
|
25400
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25401
|
+
* only its current result. */
|
|
25402
|
+
flagThreshold: number(),
|
|
25403
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25404
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25405
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25406
|
+
});
|
|
25354
25407
|
var FaceInfoSchema = object({
|
|
25355
25408
|
faceId: string(),
|
|
25356
25409
|
deviceId: number().int(),
|
|
@@ -25502,7 +25555,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25502
25555
|
}), method(object({ id: string() }), _void(), {
|
|
25503
25556
|
kind: "mutation",
|
|
25504
25557
|
auth: "admin"
|
|
25505
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25558
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25506
25559
|
identityId: string(),
|
|
25507
25560
|
sampleId: string()
|
|
25508
25561
|
}), _void(), {
|
|
@@ -36507,6 +36560,12 @@ Object.freeze({
|
|
|
36507
36560
|
addonId: null,
|
|
36508
36561
|
access: "create"
|
|
36509
36562
|
},
|
|
36563
|
+
"faceGallery.auditIdentitySamples": {
|
|
36564
|
+
capName: "face-gallery",
|
|
36565
|
+
capScope: "system",
|
|
36566
|
+
addonId: null,
|
|
36567
|
+
access: "view"
|
|
36568
|
+
},
|
|
36510
36569
|
"faceGallery.createIdentity": {
|
|
36511
36570
|
capName: "face-gallery",
|
|
36512
36571
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-amcrest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.87",
|
|
4
4
|
"description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|