Skip to content

Identify without enroll finger #1

@eduardobogoni

Description

@eduardobogoni

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;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions