40 virtual void add(
unsigned int size,
const char* data,
const long long id) = 0;
49 virtual void save(
const std::string& path) = 0;
60 unsigned int K,
float threshold,
61 std::vector<std::pair<long long, float>>& results) = 0;
71 std::vector<float>& results, std::vector<long long>& ids) = 0;
Class for system configuration.
Definition: config.h:27
Template DB Used for storing fingerprint templates with its IDs.
Definition: matcher.h:23
virtual bool isLoaded(const long long id)=0
Checks, if a template with specific ID is loaded to the DB.
virtual size_t size()=0
Number of templates in the DB.
virtual void getLoadedIDs(std::vector< long long > &ids)=0
Returns ID list of loaded templates.
virtual size_t maxSize() const =0
Max possible number of templates in the DB.
virtual void add(const NeuroDactyl::Template *_template, const long long id)=0
virtual void matchK(const NeuroDactyl::Template *probe, unsigned int K, float threshold, std::vector< std::pair< long long, float >> &results)=0
virtual void matchN(const NeuroDactyl::Template *probe, std::vector< float > &results, std::vector< long long > &ids)=0
virtual void add(unsigned int size, const char *data, const long long id)=0
virtual void save(const std::string &path)=0
Saves the DB to hard drive.
virtual void clear()=0
Clears the DB.
Fingerprint template.
Definition: extractor.h:23
Header file with configuration description.
FPSERVERSDK_API NeuroDactyl::TemplateDB * constructTemplateDB(const NeuroDactyl::Config *cfg, size_t maxSize)
float FPSERVERSDK_API match(const NeuroDactyl::Template *template0, const NeuroDactyl::Template *template1)
Namespace containing all symbols from the NeuroDactyl SDK.
Definition: config.h:21