Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify without enroll finger #1

Open
eduardobogoni opened this issue Nov 22, 2010 · 0 comments
Open

Identify without enroll finger #1

eduardobogoni opened this issue Nov 22, 2010 · 0 comments

Comments

@eduardobogoni
Copy link

For identify functionality, libfprint offer the functions fp_identify_finger*. These functions needs a allocated-memory list with all storage print data. However, sometimes this pre-allocation is not possible or not desirable. For example, comparisson of print datas from a database, in current state:


device = getDevice();
resultSet = findAllPrintDatasFromDatabase();
list = array();

while ( printData = resultSet.next() ) {
    list.push(printData);
}

result = fp_identify_finger(device,list);

If database's print data list is too big could occur memory overflow. And need to iterate over all registers from query's result set. I want a function what permit a one-to-one comparison, how the fp_compare_print_data() below:


device = getDevice();
resultSet = findAllPrintDatasFromDatabase();
enrolledPrintData = fp_enroll_finger(device);

result = 0;

while ( printData = resultSet.next() ) {
    if (result = fp_compare_print_data(enrolledPrintData,printData)) {
          break;
    }
}
gbarco pushed a commit to gbarco/libfprint that referenced this issue May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant