NIST Fingerprint Image Quality 2
NIST reference implementation fingerprint image quality analyzer.
nfiq2_modelinfo.hpp
Go to the documentation of this file.
1 #ifndef NFIQ2_MODELINFO_HPP_
2 #define NFIQ2_MODELINFO_HPP_
3 
4 #include <string>
5 
6 namespace NFIQ2 {
8 class ModelInfo {
9  public:
12 
19  ModelInfo(const std::string &modelInfoFilePath);
20 
28  std::string getModelName() const;
29 
37  std::string getModelTrainer() const;
38 
46  std::string getModelDescription() const;
47 
55  std::string getModelVersion() const;
56 
64  std::string getModelPath() const;
65 
73  std::string getModelHash() const;
74 
76  static const std::string ModelInfoKeyName;
78  static const std::string ModelInfoKeyTrainer;
80  static const std::string ModelInfoKeyDescription;
82  static const std::string ModelInfoKeyVersion;
84  static const std::string ModelInfoKeyPath;
86  static const std::string ModelInfoKeyHash;
87 
88  private:
90  std::string modelName;
92  std::string modelTrainer;
94  std::string modelDescription;
96  std::string modelVersion;
98  std::string modelPath;
100  std::string modelHash;
101 };
102 
103 } // namespace NFIQ
104 
105 #endif /* NFIQ2_MODELINFO_HPP_ */
Information about a random forest parameter model.
std::string getModelHash() const
Obtain the md5 checksum of the model.
static const std::string ModelInfoKeyName
Name Key.
std::string getModelDescription() const
Obtain additional description information for model.
std::string getModelPath() const
Obtain the file path of the model.
static const std::string ModelInfoKeyDescription
Description Key.
ModelInfo(const std::string &modelInfoFilePath)
Constructor.
static const std::string ModelInfoKeyHash
Hash Key.
std::string getModelVersion() const
Obtain the version number of the model.
std::string getModelName() const
Obtain the model name.
static const std::string ModelInfoKeyVersion
Version Key.
std::string getModelTrainer() const
Obtain the entity that trained the random forest model.
ModelInfo()
Default constructor.
static const std::string ModelInfoKeyTrainer
Trainer Key.
static const std::string ModelInfoKeyPath
Path Key.
Classes and functions that contribute to the calculation of NFIQ2 scores.
Definition: nfiq2.hpp:25