Friction Ridge Image and Features
API for participating in NIST's Friction Ridge Image and Features Technology Evaluations.
|
Interface for feature extraction implemented by participant. More...
#include <e1n.h>
Classes | |
struct | Compatibility |
Information used by the NIST testing apparatus to help efficiently test this implementation. More... | |
Public Member Functions | |
virtual std::tuple< ReturnStatus, std::optional< CreateTemplateResult > > | createTemplate (const TemplateType templateType, const std::string &identifier, const std::vector< Sample > &samples) const =0 |
Extract features from one or more images and encode them into a template. | |
virtual std::optional< std::tuple< ReturnStatus, std::vector< TemplateData > > > | extractTemplateData (const TemplateType templateType, const CreateTemplateResult &templateResult) const =0 |
Extract information contained within a template. | |
virtual ReturnStatus | createReferenceDatabase (const TemplateArchive &referenceTemplates, const std::filesystem::path &databaseDirectory, const uint64_t maxSize) const =0 |
Create a reference database on the file system. | |
ExtractionInterface () | |
virtual | ~ExtractionInterface () |
Static Public Member Functions | |
static std::shared_ptr< ExtractionInterface > | getImplementation (const std::filesystem::path &configurationDirectory) |
Obtain a managed pointer to an object implementing ExtractionInterface. | |
static std::optional< ProductIdentifier > | getProductIdentifier () |
Obtain identification and version information for the extraction portion of this submission. | |
static Compatibility | getCompatibility () |
Obtain information about API feature and version compatibility of this implementation. | |
|
default |
|
virtualdefault |
|
pure virtual |
Extract features from one or more images and encode them into a template.
templateType | Where this template will be used in the future. |
identifier | Unique identifier used to identify the returned template in future search operations (e.g., Candidate::identifier). |
samples | One or more biometric samples to be considered and encoded into a template. |
N * M
milliseconds for each element of samples
, on average, as measured on a fixed subset of data, whereN
M
samples
contained RightThumb
, and LeftFour
, the time requirement would be <= ((500 * 1) + (500 * 4)) milliseconds.
|
pure virtual |
Extract information contained within a template.
templateType | templateType passed to createTemplate(). |
templateResult | Object returned from createTemplate(). |
templateResult
otherwise. If CreateTemplateResult::data contains information separated by position (e.g., when provided a multi-position image) or multiple views of the same image (e.g., a compact and verbose template), there may be multiple TemplateData returned.std::nullopt
) by setting Compatibility::supportsTemplateIntrospection to true
.std::nullopt
. However, if you discovered different Minutia, they should be returned.
|
pure virtual |
Create a reference database on the file system.
referenceTemplates | One or more templates returned from createTemplate() with a templateType of TemplateType::Reference. |
databaseDirectory | Entry to a read/write directory where the reference database shall be written. |
maxSize | The maximum number of bytes of storage available to write. |
referenceTemplates
to use SearchInterface. The files pointed to by referenceTemplates
will not exist when SearchInterface is instantiated.maxSize
is not necessarily the amount of RAM that will be available to SearchInterface to load the database. That value will be provided at search time as input to SearchInterface::load.
|
static |
Obtain a managed pointer to an object implementing ExtractionInterface.
configurationDirectory | Read-only directory populated with configuration files provided in validation. |
|
static |
Obtain identification and version information for the extraction portion of this submission.
|
static |
Obtain information about API feature and version compatibility of this implementation.