36 virtual int size()
const = 0;
38 virtual ~
Person() =
default;
65 virtual bool isLoaded(
const unsigned int id) = 0;
67 virtual void save(
const std::string& path) = 0;
78 unsigned int K,
float threshold,
79 std::vector<std::pair<unsigned int, float>>& results) = 0;
Class for system configuration.
Definition: config.h:27
Person DB Used for storing persons with its IDs.
Definition: person.h:49
virtual void save(const std::string &path)=0
Saves the DB to hard drive.
virtual void add(const NeuroDactyl::Person *person, const unsigned int id)=0
virtual unsigned int personNum()=0
Number of persons in the DB.
virtual void getLoadedIDs(std::vector< unsigned int > &ids)=0
Returns ID list of loaded persons.
virtual size_t maxSize()=0
Max possible number of templates in the DB (person can have up to 10 templates)
virtual size_t size()=0
Number of templates in the DB.
virtual void clear()=0
Clears the DB.
virtual bool isLoaded(const unsigned int id)=0
Checks, if a person with specific ID is loaded to the DB.
virtual void matchK(const NeuroDactyl::Person *person, unsigned int K, float threshold, std::vector< std::pair< unsigned int, float >> &results)=0
Person Used for storing fingerprint templates of one person.
Definition: person.h:21
virtual int setFingerprintTemplate(int position, const NeuroDactyl::Template *_template)=0
virtual int size() const =0
Fingerprint template.
Definition: extractor.h:23
FPSERVERSDK_API NeuroDactyl::PersonDB * constructPersonDB(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