← Feocey Blog

Engineering Notes

How 1:1 and 1:N Face Matching Change a Terminal Test

A face recognition terminal test changes when a person claims an identity or the terminal searches an enrolled roster. Use these test cases to check the decisions and interpret the error rates.

Anonymous face-template cards illustrate one-to-one and one-to-many matching.

Before you choose

Key takeaways.

  • Test the claimed identity in 1:1 and the enrolled gallery in 1:N, including ordinary non-match cases in both.
  • Report each error with its proper denominator, decision threshold, and test conditions.
  • Check the matcher result and the final access or attendance outcome for each case.

During a face recognition terminal test, 1:1 matching asks whether a fresh face sample matches the enrolled template for a claimed identity. A 1:N test asks which enrolled identity, if any, the terminal returns after searching the configured roster. A verification test measures individual comparisons. An identification test measures whole searches. NIST 1:1 verification evaluation and NIST 1:N identification evaluation

Start with the identity question

In an illustrative 1:1 workflow, a test ID selects a record labeled Employee A. The matcher compares the fresh sample with Employee A's enrolled template. In a 1:N workflow, the fresh sample is searched against a gallery, the set of enrolled templates available to that search. The gallery might represent the employees authorized at a particular test entrance. The expected result for an enrolled volunteer is their own test identity.

Parallel flows compare a claimed test ID with one template or an image with an enrolled gallery.
Verification and identification need test cases with different expected outcomes.

Give every test case an expected result

Use an isolated evaluation setup, consenting participants, and dedicated test records. Agree on the scope of enrollment, access to results, retention, and deletion before collecting samples. Offer an approved alternative to participation. The example labels below are fictional. Compare current samples with separately enrolled templates and use test IDs in the observation sheet.

Write down the expected identity or non-match before observing each result. A genuine 1:1 attempt uses the volunteer's own test claim. An ordinary non-mated comparison uses a sample from one volunteer and an unrelated test record from a different consenting volunteer. The first volunteer can have a separate enrollment. For a 1:N search, the presence of the participant's record anywhere in the configured gallery determines whether the search is enrolled or unenrolled.

Expected face matching outcomes for a consented test roster

Identity and decision checks for four test cases
Test caseExpected outcomeWhat to record
1:1 with a genuine test claimMatch to the claimed test recordMatch, non-match, or no usable capture
1:1 with an ordinary non-mated pairNon-matchWhether the comparison met the match threshold
1:N with an enrolled participantReturn the expected test identityCorrect identity, wrong identity, no accepted candidate, or no usable capture
1:N with a participant absent from the galleryNo candidate meets the thresholdWhether any candidate met the threshold, or the search could not run

Read the score on its own scale

A similarity score expresses how alike two samples appear to the matcher. Some systems use a distance metric, where smaller values indicate a closer match. Even a score displayed on a 0–100 scale needs calibration on relevant data before anyone can interpret it as a probability. OpenCV's SFace tutorial gives an example of thresholds that differ by metric and evaluation dataset, and the project's community discussion illustrates the confusion that a raw cosine score can cause. OpenCV face recognition tutorial and OpenCV SFace score discussion

Record the applied threshold and decision, along with the score if the test system exposes it. If a roster search provides candidates for review, record whether any met the threshold and whether the result was ever accepted. Record the final door or attendance decision in a separate field so a matcher result can be traced through the workflow. For example, a known test identity can match successfully and still produce a door denial under the test access schedule.

Use the right denominator for each error rate

In 1:1 verification, the false match rate (FMR) is the share of scored non-mated comparisons that meet the match threshold. The false non-match rate (FNMR) is the share of scored genuine comparisons that miss it. Record failures to obtain a usable sample separately and include them in the site's end-to-end acceptance counts. NIST 1:1 verification evaluation

In thresholded 1:N identification, the false positive identification rate (FPIR) is the share of unenrolled searches that produce at least one candidate meeting the threshold. The false negative identification rate (FNIR) tracks enrolled searches that fail to return the correct identity above the cutoff. If an application automatically acts on the top result, track a wrong identity selected for an enrolled person as its own outcome. NIST 1:N identification evaluation

In a hypothetical verification test, one false match in 200 scored non-mated comparisons gives an observed FMR of 0.5%. In a hypothetical identification test, one of 100 unenrolled searches returning an eligible candidate gives an observed FPIR of 1% at the tested roster size and cutoff. Each 1:N search contributes one trial regardless of the number of templates checked or candidates returned. A small pilot with zero observed errors leaves the rare-error rate uncertain. Report distinct participants and sessions alongside attempt counts, since repeat attempts share some of the same enrollment and capture conditions.

Repeat the checks at realistic enrollment

Begin with a small consented roster to check the test labels and logs. Repeat the test at a representative active roster size using authorized enrollment data. Record the numbers of enrolled people and templates, since a person can have several templates. Document the firmware, application, configured mode, gallery revision, and decision policy for each run. Confirm the workflow for the exact device and application before including it in the plan. Feocey face recognition device selection guide

Use the intended mounting position, approach, and ordinary site lighting. Include the workwear and eyewear people use in that setting. Write down which conditions were covered and which need more evidence. Investigate an unexpected identity, rejection, or missing event against the test record and observed decision before sign-off. Follow the agreed plan for deleting test enrollments and logs. RGB and infrared camera considerations for face access control

Keep each initial attempt in the record even if a retry succeeds. That gives the site team both the first-attempt result and the final outcome after a normal retry or approved fallback. Record the number of people who needed help so the team can plan how to handle exceptions during rollout.

  1. Specify the identity workflow, test roster, and expected results in the acceptance plan.
  2. Agree which result counts and evidence to review before choosing the deployment configuration.
  3. Bring the workflow and acceptance plan when comparing the FCV5005 face recognition terminal.

References

  1. NIST 1:1 verification evaluation
  2. NIST 1:N identification evaluation
  3. OpenCV face recognition tutorial
  4. OpenCV SFace score discussion

Put the guide to work

Find the reference for your model.

Compare each device with your requirements. Confirm configuration and compatibility for the complete installation.

Discuss your project ↗

Interested in this guide?

Tell us the model and quantity.