Digital Persona SDK for 1:n verification

2 days ago 5
ARTICLE AD BOX

I've been developing a desktop app using the HID digital persona 4500 fingerprint scanner for user verification, the problem I have is the following, when I try to find a user in a large dataset the app takes way too long, at least 15 seconds for 5000 users. this is definitely not optimal, I could settle with 5 seconds but this is too much, I have a list of workers that have to check in at the time they arrive, this is the code I have using 1:1 verification

I haven't been able to find the 1:N SDK anywhere, I've wrote several emails to HID and got no reply

public void ProcessSample(Sample sample) { if (_verificator == null) return; var extractor = new FeatureExtraction(); DPFP.Capture.CaptureFeedback feedback = DPFP.Capture.CaptureFeedback.None; FeatureSet features = new(); extractor.CreateFeatureSet(sample, DataPurpose.Verification, ref feedback, ref features); if (features != null) { try { var result = new Verification.Result(); foreach (var user in _fingerPrintAccess.ClientTemplates) { _verificator.Verify(features, user.Template, ref result); OnStatusChanged?.Invoke($"FAR (False Accept Rate): {result.FARAchieved}"); if (result.Verified) { OnUserIdentified?.Invoke(_windowSource, user.ClientId); break; } } } catch (Exception ex) { OnMessageChanged?.Invoke($"Error: {ex.Message}"); } } else { OnMessageChanged?.Invoke("Calidad de huella insuficiente. Intenta de nuevo."); } }
Read Entire Article