NeuroDactyl
Matching
Collaboration diagram for Matching:

Classes

class  NeuroDactyl::TemplateDB
 Template DB Used for storing fingerprint templates with its IDs. More...
 
class  NeuroDactyl::Person
 Person Used for storing fingerprint templates of one person. More...
 
class  NeuroDactyl::PersonDB
 Person DB Used for storing persons with its IDs. More...
 

Functions

FPSERVERSDK_API NeuroDactyl::TemplateDBNeuroDactyl::constructTemplateDB (const NeuroDactyl::Config *cfg, size_t maxSize)
 
FPSERVERSDK_API NeuroDactyl::TemplateDBNeuroDactyl::constructTemplateDB (const NeuroDactyl::Config *cfg, const std::string &path)
 
float FPSERVERSDK_API NeuroDactyl::match (const NeuroDactyl::Template *template0, const NeuroDactyl::Template *template1)
 
FPSERVERSDK_API NeuroDactyl::PersonDBNeuroDactyl::constructPersonDB (const NeuroDactyl::Config *cfg, size_t maxSize)
 
FPSERVERSDK_API NeuroDactyl::PersonDBNeuroDactyl::constructPersonDB (const NeuroDactyl::Config *cfg, const std::string &filename)
 
float FPSERVERSDK_API NeuroDactyl::match (const NeuroDactyl::Person *person0, const NeuroDactyl::Person *person1)
 

Detailed Description

Function Documentation

◆ constructPersonDB() [1/2]

FPSERVERSDK_API NeuroDactyl::PersonDB* NeuroDactyl::constructPersonDB ( const NeuroDactyl::Config cfg,
const std::string &  filename 
)

Load PersonDB object from hard drive

Parameters
[in]cfgConfiguration
[in]filenamePath to the stored DB
Returns
Pointer to PersonDB object
Exceptions
NeuroDactyl::Exceptionwhen smth is wrong with stored db

◆ constructPersonDB() [2/2]

FPSERVERSDK_API NeuroDactyl::PersonDB* NeuroDactyl::constructPersonDB ( const NeuroDactyl::Config cfg,
size_t  maxSize 
)

Creates empty PersonDB object with the specified max size

Parameters
[in]cfgConfiguration
[in]maxSizemaximum stored fingerprint templates in the DB (NOTE: person can have up to 10 fingerprint templates)
Returns
Pointer to PersonDB object
Exceptions
NeuroDactyl::Exceptionwhen input max size is invalid

◆ constructTemplateDB() [1/2]

FPSERVERSDK_API NeuroDactyl::TemplateDB* NeuroDactyl::constructTemplateDB ( const NeuroDactyl::Config cfg,
const std::string &  path 
)

Creates templates DB

Parameters
[in]cfgConfiguration
[in]filenamePath to the stored DB
Returns
Pointer to template DB object

◆ constructTemplateDB() [2/2]

FPSERVERSDK_API NeuroDactyl::TemplateDB* NeuroDactyl::constructTemplateDB ( const NeuroDactyl::Config cfg,
size_t  maxSize 
)

Creates templates DB

Parameters
[in]cfgConfiguration
[in]maxSizeMax possible number of templates in the DB
Returns
Pointer to template DB object

◆ match() [1/2]

float FPSERVERSDK_API NeuroDactyl::match ( const NeuroDactyl::Person person0,
const NeuroDactyl::Person person1 
)

1 to 1 person to person matching

Parameters
[in]person0person #0
[in]person1person #1
Returns
Matching score

◆ match() [2/2]

float FPSERVERSDK_API NeuroDactyl::match ( const NeuroDactyl::Template template0,
const NeuroDactyl::Template template1 
)

Matches fingerprint templates 1 to 1

Parameters
[in]template0fingerprint template #0
[in]template1fingerprint template #1
Returns
Matching score