11#ifndef NFIQ2_ALGORITHM_HPP_
12#define NFIQ2_ALGORITHM_HPP_
21#include <unordered_map>
50 Algorithm(
const std::string &fileName,
const std::string &fileHash);
111 const std::vector<std::shared_ptr<
NFIQ2::QualityFeatures::Module>>
131 const std::unordered_map<std::
string,
double> &features) const;
Applies trained random forest parameters to quality features, computing an overall quality score (i....
Algorithm()
Default constructor of Algorithm.
unsigned int getEmbeddedFCT() const
Obtain the friction ridge capture technology (FCT) specified for the embedded random forest parameter...
Algorithm(const std::string &fileName, const std::string &fileHash)
Constructor that loads random forest parameters from disk.
Algorithm(const Algorithm &)
Copy constructor.
std::string getParameterHash() const
Obtain MD5 checksum of random forest parameter file loaded.
bool isInitialized() const
Determine if random forest parameters have been loaded.
Algorithm(const NFIQ2::ModelInfo &modelInfoObj)
Constructor using NFIQ2::ModelInfo to initialize the random forest.
Algorithm(Algorithm &&) noexcept
Move constructor.
bool isEmbedded() const
Obtain if the random forest parameters are embedded in the library or located externally.
Algorithm & operator=(const Algorithm &)
Assignment operator.
Binary data representing a decompressed fingerprint image, canonically encoded as per ISO/IEC 19794-4...
Information about a random forest parameter model.
unsigned int computeQualityScore(const NFIQ2::FingerprintImageData &rawImage) const
Compute a NFIQ 2 quality score.
Classes and functions that contribute to the calculation of NFIQ 2 quality scores.