@camstack/addon-provider-hikvision 1.2.92 → 1.2.93
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
|
@@ -25662,6 +25662,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25662
25662
|
deviceId: number().int().optional(),
|
|
25663
25663
|
base64: string().optional()
|
|
25664
25664
|
});
|
|
25665
|
+
/**
|
|
25666
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25667
|
+
*
|
|
25668
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25669
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25670
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25671
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25672
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25673
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25674
|
+
*/
|
|
25675
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25676
|
+
sampleId: string(),
|
|
25677
|
+
enrolledAt: number().int(),
|
|
25678
|
+
deviceId: number().int().optional(),
|
|
25679
|
+
source: _enum(["detected", "photo"]),
|
|
25680
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25681
|
+
mediaKey: string().optional(),
|
|
25682
|
+
/**
|
|
25683
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25684
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25685
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25686
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25687
|
+
*/
|
|
25688
|
+
comparable: boolean(),
|
|
25689
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25690
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25691
|
+
selfMean: number().nullable(),
|
|
25692
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25693
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25694
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25695
|
+
bestForeign: object({
|
|
25696
|
+
identityId: string(),
|
|
25697
|
+
name: string(),
|
|
25698
|
+
score: number()
|
|
25699
|
+
}).optional(),
|
|
25700
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25701
|
+
suspicion: number()
|
|
25702
|
+
});
|
|
25703
|
+
var IdentitySampleAuditSchema = object({
|
|
25704
|
+
identityId: string(),
|
|
25705
|
+
name: string(),
|
|
25706
|
+
/** The cluster face model every comparison was made in. */
|
|
25707
|
+
modelId: string(),
|
|
25708
|
+
totalSamples: number().int(),
|
|
25709
|
+
comparableSamples: number().int(),
|
|
25710
|
+
flagged: number().int(),
|
|
25711
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25712
|
+
* only its current result. */
|
|
25713
|
+
flagThreshold: number(),
|
|
25714
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25715
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25716
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25717
|
+
});
|
|
25665
25718
|
var FaceInfoSchema = object({
|
|
25666
25719
|
faceId: string(),
|
|
25667
25720
|
deviceId: number().int(),
|
|
@@ -25813,7 +25866,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25813
25866
|
}), method(object({ id: string() }), _void(), {
|
|
25814
25867
|
kind: "mutation",
|
|
25815
25868
|
auth: "admin"
|
|
25816
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25869
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25817
25870
|
identityId: string(),
|
|
25818
25871
|
sampleId: string()
|
|
25819
25872
|
}), _void(), {
|
|
@@ -36870,6 +36923,12 @@ Object.freeze({
|
|
|
36870
36923
|
addonId: null,
|
|
36871
36924
|
access: "create"
|
|
36872
36925
|
},
|
|
36926
|
+
"faceGallery.auditIdentitySamples": {
|
|
36927
|
+
capName: "face-gallery",
|
|
36928
|
+
capScope: "system",
|
|
36929
|
+
addonId: null,
|
|
36930
|
+
access: "view"
|
|
36931
|
+
},
|
|
36873
36932
|
"faceGallery.createIdentity": {
|
|
36874
36933
|
capName: "face-gallery",
|
|
36875
36934
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -25663,6 +25663,59 @@ var IdentitySampleInfoSchema = object({
|
|
|
25663
25663
|
deviceId: number().int().optional(),
|
|
25664
25664
|
base64: string().optional()
|
|
25665
25665
|
});
|
|
25666
|
+
/**
|
|
25667
|
+
* One enrolled sample, judged against the gallery it lives in.
|
|
25668
|
+
*
|
|
25669
|
+
* The gallery is the one input to recognition nobody re-reads: a sample
|
|
25670
|
+
* enrolled from the wrong face keeps voting forever, and because the matches it
|
|
25671
|
+
* pulls then look confident, nobody goes back. The 2026-09-08 audit found
|
|
25672
|
+
* exactly one such pair on this cluster — a sample scoring 0.61 against three
|
|
25673
|
+
* samples of ANOTHER person, enrolled from the same camera in the same minute,
|
|
25674
|
+
* where every other cross-identity pair sits under 0.50.
|
|
25675
|
+
*/
|
|
25676
|
+
var IdentitySampleAuditRowSchema = object({
|
|
25677
|
+
sampleId: string(),
|
|
25678
|
+
enrolledAt: number().int(),
|
|
25679
|
+
deviceId: number().int().optional(),
|
|
25680
|
+
source: _enum(["detected", "photo"]),
|
|
25681
|
+
/** The enrolled crop's media key, so the panel can show the evidence. */
|
|
25682
|
+
mediaKey: string().optional(),
|
|
25683
|
+
/**
|
|
25684
|
+
* False = the sample is stamped with a DIFFERENT face model, and a cosine
|
|
25685
|
+
* across feature spaces is a well-formed float with no meaning. Every number
|
|
25686
|
+
* below then says nothing — it must read as "cannot say", never as an
|
|
25687
|
+
* accusation and never as a clean bill: this list ends in a Remove button.
|
|
25688
|
+
*/
|
|
25689
|
+
comparable: boolean(),
|
|
25690
|
+
/** Mean cosine against this person's other samples. Null when there are none
|
|
25691
|
+
* to compare with — never 0, which would read as "opposite". */
|
|
25692
|
+
selfMean: number().nullable(),
|
|
25693
|
+
/** The other person this sample looks most like, when it looks like one.
|
|
25694
|
+
* This is the half that convicts: not looking like yourself can be a hard
|
|
25695
|
+
* angle; looking like someone the gallery can NAME is a mis-enrolment. */
|
|
25696
|
+
bestForeign: object({
|
|
25697
|
+
identityId: string(),
|
|
25698
|
+
name: string(),
|
|
25699
|
+
score: number()
|
|
25700
|
+
}).optional(),
|
|
25701
|
+
/** 0 = nothing to say. Higher = look at this one sooner. */
|
|
25702
|
+
suspicion: number()
|
|
25703
|
+
});
|
|
25704
|
+
var IdentitySampleAuditSchema = object({
|
|
25705
|
+
identityId: string(),
|
|
25706
|
+
name: string(),
|
|
25707
|
+
/** The cluster face model every comparison was made in. */
|
|
25708
|
+
modelId: string(),
|
|
25709
|
+
totalSamples: number().int(),
|
|
25710
|
+
comparableSamples: number().int(),
|
|
25711
|
+
flagged: number().int(),
|
|
25712
|
+
/** The bar `flagged` counts against, so the panel states the RULE and not
|
|
25713
|
+
* only its current result. */
|
|
25714
|
+
flagThreshold: number(),
|
|
25715
|
+
/** Worst first. A row with nothing to say still appears, at the bottom: the
|
|
25716
|
+
* operator asked to see the gallery, not only its accusations. */
|
|
25717
|
+
rows: array(IdentitySampleAuditRowSchema).readonly()
|
|
25718
|
+
});
|
|
25666
25719
|
var FaceInfoSchema = object({
|
|
25667
25720
|
faceId: string(),
|
|
25668
25721
|
deviceId: number().int(),
|
|
@@ -25814,7 +25867,7 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25814
25867
|
}), method(object({ id: string() }), _void(), {
|
|
25815
25868
|
kind: "mutation",
|
|
25816
25869
|
auth: "admin"
|
|
25817
|
-
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({
|
|
25870
|
+
}), method(object({ identityId: string() }), array(IdentitySampleInfoSchema).readonly()), method(object({ identityId: string().min(1) }), IdentitySampleAuditSchema, { auth: "admin" }), method(object({
|
|
25818
25871
|
identityId: string(),
|
|
25819
25872
|
sampleId: string()
|
|
25820
25873
|
}), _void(), {
|
|
@@ -36871,6 +36924,12 @@ Object.freeze({
|
|
|
36871
36924
|
addonId: null,
|
|
36872
36925
|
access: "create"
|
|
36873
36926
|
},
|
|
36927
|
+
"faceGallery.auditIdentitySamples": {
|
|
36928
|
+
capName: "face-gallery",
|
|
36929
|
+
capScope: "system",
|
|
36930
|
+
addonId: null,
|
|
36931
|
+
access: "view"
|
|
36932
|
+
},
|
|
36874
36933
|
"faceGallery.createIdentity": {
|
|
36875
36934
|
capName: "face-gallery",
|
|
36876
36935
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-hikvision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.93",
|
|
4
4
|
"description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|