hidglobal / digitalpersona-devices

DigitalPersona Security Devices support library
https://hidglobal.github.io/digitalpersona-devices/index.html
MIT License
64 stars 41 forks source link

Intermediate to PNG #31

Closed crissulb95 closed 2 years ago

crissulb95 commented 2 years ago

Hello! I've been having a hard time trying to solve this.

Is there any chance that after acquiring the samples (by starting to acquire data with the "SampleFormat.Intermediate" format), to transform/mutate/change the -intermediate sample- to a -PNG sample-, or the other way around ( PNG sample to Intermediate sample )

For now, I'm needing to send a request with both "SampleFormat" (PNG and Intermediate).

Or is there a way to use multiple formats in the "reader.startAcquisition" method to obtain same quantity of formats as samples.

I have trouble by trying to startAcquisition two times with both formats.

Thanks a lot for your time reading this!!!

a-bronx commented 2 years ago

Hello! No, the native fingerprint API allows a single chosen format per scan, so the library has no choice but to follow. If you need multiple formats, you need multiple scans (should be fine for enrollment, as enrollment usually requires several scans to accumulate statistics),

What kind of trouble do you have with running startAcquisition multiple times?

crissulb95 commented 2 years ago

Good morning! Thanks for answering so quick.

I can start the acquisition and have multiple scannings consecutively with no problem, but I was looking for a quicker solution doing the same ammount of scannings but having more results with different formats. I'll just have to add more scans with a different format.

Have a nice day! and thank you.