18#include <unordered_map>
57 std::vector<std::byte>
data{};
276 using Sample = std::tuple<std::optional<Image>,
277 std::optional<EFS::Features>>;
FrictionRidgeGeneralizedPosition
Friction positions codes from ANSI/NIST-ITL 1-2011 (2015).
std::tuple< std::optional< Image >, std::optional< EFS::Features > > Sample
Convenience definition for a friction ridge sample.
std::unordered_map< Candidate, std::vector< Correspondence >, CandidateListKeyHash > CandidateListCorrespondence
Representation to output Correspondence for each Candidate from a CandidateList.
TemplateType
Use for data extracted from Sample.
@ Reference
Use within a database for search, or the initial capture during a comparison.
@ Probe
Item being compared to a reference or searched against a reference database.
std::unordered_map< Candidate, double, CandidateListKeyHash > CandidateList
Representation of a list of likely candidates returned from a search.
EFS::FrictionRidgeGeneralizedPosition fgp
Most localized position in the identifier.
std::string identifier
Identifier of the sample in the reference database.
bool operator==(const Candidate &) const
Candidate(const std::string &identifier={}, const EFS::FrictionRidgeGeneralizedPosition fgp={})
Candidate constructor.
auto operator<=>(const Candidate &) const
Hash function for Candidate.
std::size_t operator()(const FRIF::Candidate &c) const noexcept
The results of comparing two templates.
double similarity
Quantification of probe's similarity to reference sample.
bool decision
Best guess on if probe and reference come from the same source.
std::optional< Correspondence > correspondence
Pairs of corresponding Minutia between TemplateType::Probe and TemplateType::Reference templates.
Information about a probe/reference relationship.
std::optional< bool > complex
Whether or not the comparison was complex.
std::vector< EFS::CorrespondenceRelationship > correspondence
Groups of relationships between features.
Output from extracting features into a template .
std::vector< std::byte > data
Contents of the template.
std::optional< std::vector< TemplateData > > extractedData
Information contained within data.
The results of a searching a database.
bool decision
Best guess on if candidateList contains an identification.
CandidateList candidateList
List of Candidate most similar to the probe.
std::optional< Correspondence > correspondence
Pairs of corresponding Minutia between TemplateType::Probe and TemplateType::Reference templates.
Collection of templates on disk.
std::filesystem::path archive
File containing concatenated CreateTemplateResult::data.
std::filesystem::path manifest
Manifest for parsing archive.
Information possibly stored in a template.
std::optional< EFS::Features > features
Extended feature set data.
std::string candidateIdentifier
Candidate identifier provided in ExtractionInterface::createTemplate().
uint8_t inputIdentifier
Link to Image::identifier and/or EFS::identifier.
std::optional< uint8_t > imageQuality
Quality of the image, [0-100].