PFT III Interface.
More...
#include <pftiii.h>
PFT III Interface.
Definition at line 453 of file pftiii.h.
◆ ~Interface()
PFTIII::Interface::~Interface |
( |
| ) |
|
|
virtual |
◆ Interface()
PFTIII::Interface::Interface |
( |
| ) |
|
◆ getIdentification()
Obtain identification and version information for this submission.
- Returns
- SubmissionIdentification populated with information used to identify this submission in reports.
- Note
- This method shall return instantly.
◆ createProprietaryTemplate()
Create a proprietary biometric template from a fingerprint image.
- Parameters
-
fingerImage | Data and metadata for a fingerprint image from which biometric features can be extracted. |
- Returns
- A tuple whose first member is a FingerImageStatus (with
FingerImageStatus.code
set to FingerImageStatus::Code::Supported when input FingerImage data is supported, or another FingerImageStatus::Code if not) and whose second member is a CreateProprietaryTemplateResult
object containing the status of extracting and encoding fingerprint features and a biometric template suitable to be passed as either the probe or reference to compareProprietaryTemplates()
.
- Note
- If
FingerImageStatus.code
in the first member of the returned tuple is not FingerImageStatus::Code::Supported
, the value of proprietaryTemplate
from the second member of the returned tuple will not be consulted. Instead, an empty (0 byte) entry will be recorded as the biometric template for the input. The value will always be consulted when FingerImageStatus.code
is FingerImageStatus::Code::Supported
, including in conditions where CreateProprietaryTemplateResult.result
is Result::Failure
.
-
This method does not differentiate between probe and reference templates.
-
This method shall, on average, return in <= 0.5 seconds on a dedicated timing sample.
-
All metadata, including Unknown, shall be supported. It is not acceptable to not set
FingerImageStatus::Code::Success
if value is Unknown
or for an entire classification of data (e.g., 1000 PPI, RolledContactlessMoving
, etc.)
-
This method shall be deterministic (e.g., providing the same FingerImage repeatedly shall result in byte-identical return values).
◆ compareProprietaryTemplates()
virtual std::tuple< CompareProprietaryTemplatesStatus, double > PFTIII::Interface::compareProprietaryTemplates |
( |
const std::vector< std::byte > & |
probeTemplate, |
|
|
const std::vector< std::byte > & |
referenceTemplate |
|
) |
| |
|
pure virtual |
◆ getImplementation()
static std::shared_ptr< Interface > PFTIII::Interface::getImplementation |
( |
const std::filesystem::path & |
configurationDirectory | ) |
|
|
static |
Obtain a managed pointer to an object implementing PFTIII::Interface.
- Parameters
-
configurationDirectory | Path to a read-only directory populated with configuration files provided in validation. |
- Returns
- Shared pointer to an instance of Interface containing the participant's biometric template generation and biometric template comparison algorithm.
- Note
- A possible implementation might be:
return (std::make_shared<Implementation>( configurationDirectory));
-
This method shall return in <= 10 seconds.
-
configurationDirectory
may be stored on a slow disk. NIST suggests reading data into available RAM.
The documentation for this class was generated from the following files: