Description
Return a supplied template's coordinate count and expected-dimension gap.
Biometric research records separate subject IDs, template dimensions, image geometry, enrollment support and attempt budgets. Local counts and comparisons can reveal inconsistencies without reading biometric templates, detecting a physical trait or authenticating a person’s identity.
Return a supplied template's coordinate count and expected-dimension gap.
When to use this tool
Use Biometric Template Dimension Count when checking the stated biometric record, count, support, geometry or budget convention.
How to use the tool and how it works
- Enter coordinates, expectedDimension. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read dimension, difference, matches. Inspect matches before interpreting the associated values.
Return a supplied template's coordinate count and expected-dimension gap. Require expectedDimension a nonnegative whole number; dimension = coordinates.length, difference = dimension-expected, matches tests zero.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| coordinates | Coordinates | Required. Array of finite number; maximum items 256. |
| expectedDimension | Expected Dimension | Required. Safe integer; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| dimension | Dimension | Required. Safe integer. |
| difference | Difference | Required. Safe integer. |
| matches | Matches | Required. Boolean. |
{
"input": {
"coordinates": [
0.2,
0.4,
0.1
],
"expectedDimension": 4
},
"output": {
"dimension": 3,
"difference": -1,
"matches": false
}
} Limitations and assumptions
- No vector meaning, model compatibility, sample quality or identity authentication is established.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use verified acquisition/enrollment records and the complete appropriate format and evaluation process for actual identity, quality, capacity or privacy decisions.
References
Similar or alternative tools
- Template Length Unit Factor
Return exact template storage bytes.
- Biometric Gallery One Subject Multiplicity Tool
Count explicit template references for one supplied subject without identifying a person.