brianrho / FPM

Arduino library for the R30x/ZFMxx/FPMxx optical fingerprint sensors
105 stars 41 forks source link

download template fingerprint to pc #56

Closed ariessetiyawan closed 1 month ago

ariessetiyawan commented 1 month ago

How to get fingerprint template so it can be used as data for fpmatch.py ​​(https://github.com/brianrho/fpmatch), can I use image_to_pc example (https://github.com/brianrho/FPM/tree/master/examples/image_to_pc)

ariessetiyawan commented 1 month ago

I put the necessary dlls in the archive

Can you explain in detail how to use it?

brianrho commented 1 month ago
ariessetiyawan commented 3 weeks ago

I have been able to download the fingerprint template from the example you made, but I am not clear with this explanation,

To search for a fingerprint, you need to first capture the unknown/input fingerprint for which you're looking for a match. The enroll example shows how you can getImage() and then convert that image into a template stored in one of the sensor's buffers. You can then use some of the logic in readTemplate() to download the template from that sensor buffer into your Arduino's RAM template_buffer, just like in the templates example. Copy this "unknown template" to your Python module.

but I will try to understand by trying to make the code...

To be able to take a fingerprint template, do you have to take 2 steps as in your example? Can I only enroll once?...

brianrho commented 3 weeks ago

You can just do it once i.e. call getImage() to get an image, image2Tz() to convert the image to a template, readTemplate() to extract that template and print it to your Serial monitor. This is your "unknown/input fingerprint" i.e. userInput which is to be searched for in your database database = [correctMatch, template1, template2], to find a match.

ariessetiyawan commented 3 weeks ago

ok, thanks for your help...my problem solved...