-
Notifications
You must be signed in to change notification settings - Fork 343
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
Template comparison #9
Comments
I have the same problem. I have to save the template in a mysql database and then again retrieve it to match. I extracted the template now i need to send this template for matching,but i dont know where to send this template for matching..Please help.. |
Any hints on this? a SDK is a must have for this product. If anyone has any idea what is the algorithm I can do the coding part. |
has anyone figured this out yet? i'm also trying to do this |
It's my question too |
Does anyone know how to match fingerprint templates when you have them ? I can extract the templates generated after the enrollment. In my case, after enrollment, I don't store the template to the internal memory of the device but I store the template to my computer. |
Please post a sample code to extract template. |
@Obaid-ur-Rehman the sample code is here. I hope this will help you and the others. |
I am now able to get then finger print template and store in a db using base64 encoding and load it to the sensor for match. it should be 556 + 12 = 568 bytes with the headers |
@drichardcarl Thank you. |
@Try-Parser Can you please share the source code. Thank you |
@drichardcarl the code has been added to the show_fingerprint_templates example! |
I get the error "no matching function for call to 'Adafruit_Fingerprint::Adafruit_Fingerprint(SoftwareSerial*)' |
Is there a way to upload template into the sensor for matching ? |
Yes, there is upChar in datasheets, but there isn't upChar function in the library... |
Yes, I would like to have this function implemented, I tried to fix the library but doesn't work... Anyone can help me? I just opened a new issue |
How to synchronize prints between two modules. Tell me please. |
I'm doing this function, to put external templates into the flash memory of the sensor. This is the function:
This works. You have to call this function in the arduino code and it saves the fingerprint to buffer1, later, you have to call the SaveModel function to save the template with the ID. But there is a problem. There is no control ACK packets for the datapackets you send, so you can't control if the entire template is reaching the sensor. The decumentations says nothing about it... so... really?? No ACK paquets for every datapacket?? The down Char functon it's totally useless without this control... You will never be able to put an entire template to buffer 1 |
Anyone found a solution to upload a template to the sensor? |
@drichardcarl did you solve this problem, matching fingerprint templates data? |
Hi guys,
My goal is to save the FP to the DB and later on retrieve via Arduino UNO and FP sensor to compare against different FP until matched. Thanks |
@mgonzaga1990, you can do that, but, perhaps serial data rate, can take a lot of time if you need to search several FP's. With 115200bps, you will be able to send 28 FP's/second, that's too slow! We need a algorith to match FP template/char file. |
@chhass the FP sensor is connected to the frontend via serial. While VB.net is connected to Java via RestAPI. so initially, the user would sign in and register his FP (that's why i need the FP template and save it in the DB). then later on once the user has login using his FP. The FP stored in the DB will be used to compare against the FP template that he use to login. |
I send to the fp-module the following package 0xEF01 0xFFFFFFFF 0x08 0x01 sum I have 2 fp scanners and they both return the same ps: I have the sysparam of the package size set to 64 |
Hi, Here is a snippet of my code for Downloading code from the laptop to the sensor.
} |
I am also looking for a way to authenticate the captured fingerprint outside the FP sensor. |
Hi dheeptuck, |
Any news on this? |
Any Success for make use of DownChar? |
hmmm |
what is your getReply(recvPacket); ? |
I'm trying to use your lib, but when it compile, it error |
Could you tell me what is an error? |
now, I can fix it. It show that ";" was missing in getReply()
but when I try to print all of it without printing "uint8_t packet", I got 03035B0E100183017B0000000000000000000000000000000000000000000000000000000000000000000000000000FF4501010101FF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000F4500100100000000C2012001CDEF01FFFFFFFF02008203035415000120017F000000000000000000000000000000000000000000000000000000000000000000000000000000140005007300330CF33FFFFFFFFF3FEEAAAAAAAAAAAA654114545455511445540004400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FAFEF01FFFFFFFF0200824813D71E5199991E499D169E0C43E13E602106FF472B56BF5FB64A1F33C147DF3E368A1C2EB54CFD2036E4FD23398B9B2040213B40B30A181EBDC91842308BB93131A77952C220394DC188B64A41DF973D2F8F33000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021CEEF01FFFFFFFF08008200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 the results are different, I want to know what happen? |
On UploadModel(), you can learn from the datasheet that I give it on the folder GitHub. And you can learn it by matching the code on Arduino. When you comment on the code that prints the "uint8_t packet", it should only not print the "uint8_t packet" and will not change the template fingerprint. |
Hello, do anybody know how are the finger templates encoded? Is there some kind of paper that documents the finger template format? I was searching thru some datasheets of these compatible "chinese" fingerprint sensors but I think technically are all the same. I would like to offload finger detection and search routines to higher system - away from sensor because it's capacity is not enough to serve in production environment. |
Hi did anyone find a way to offload the finger detection to another system the capacity is not enough. |
Anybody know how to store fingerprint image? |
Hello . Friends who were able to fix this problem, please share your information so that I can solve this problem as well. |
What can the data given in the show_fingerprint_template example be used for? |
It give the template of your fingerprint, every module have different
amount of data
…On Sun, Apr 11, 2021 at 7:44 PM Hossein Abedi ***@***.***> wrote:
What can the data given in the show_fingerprint_template example be used
for?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMXTE3B473TPHNCYZPBFKLTIGKSLANCNFSM4B22KJ7Q>
.
|
Can I save this fingerprint template in the database and perform fingerprint recognition in my personal application? |
Yes, you can save it the fingerprint template to database, but to perform
fingerprint recognition in database, you must create your own algorithm.
Because all this time, matching process is on the module fingerprint
On Mon, Apr 12, 2021 at 10:53 AM Hossein Abedi ***@***.***>
wrote:
… It give the template of your fingerprint, every module have different
amount of data
… <#m_1860978676421871125_>
On Sun, Apr 11, 2021 at 7:44 PM Hossein Abedi *@*.***> wrote: What can
the data given in the show_fingerprint_template example be used for? — You
are receiving this because you were mentioned. Reply to this email
directly, view it on GitHub <#9 (comment)
<#9 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALMXTE3B473TPHNCYZPBFKLTIGKSLANCNFSM4B22KJ7Q
.
Can I save this fingerprint template in the database and perform
fingerprint recognition in my personal application?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMXTE6X3BTVRGJQ7IXZMQTTIJVCLANCNFSM4B22KJ7Q>
.
|
Well, I think it is better to do fingerprint recognition in the same module. Thanks |
And in this example, how do I print the fingerprint on the module? |
you can print the template with program "ShowTemplate"
or you can use my example in here
https://github.com/hanifizzudinrahman/Module-Fingerprint-DY50-FPM10A/tree/master/Example/5.%20Show%20Templete
…On Tue, Apr 13, 2021 at 1:17 PM Hossein Abedi ***@***.***> wrote:
And in this example, how do I print the fingerprint on the module?
https://github.com/adafruit/Adafruit-Fingerprint-Sensor-Library/blob/master/examples/fingerprint/fingerprint.ino
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMXTEZ4M7MEQLOLNAWXAJDTIPOXBANCNFSM4B22KJ7Q>
.
|
I have the same problem as Abedi. The storage on the sensor is too small to enroll many fingerprints, so I'd like to save them externally. So has anyone found a way to upload an extracted template to the sensor just for matching? |
@hanifizzudinrahman Hello, Does your library help me to copy all the fingerprints of a reader and copy them in another reader? And if so, how could I do it? Thank you very much in advance and greetings from Chile :) |
I've already solved this problem. What module do you use? |
Yes bro, u can do it by download the template, than upload it to another module. Btw, what module do you use? |
Could you tell me which examples should I use and in what order exactly please? |
Hi @hanifizzudinrahman I want to copy all the fingerprints of a R307 module in another R307 module. |
In a few hours I will have access to my pc and I will be able to share the code |
I use an esp32, for an arduino you must change the serial2 part for softwareserial. #include <Adafruit_Fingerprint.h> String Template; uint8_t f_buf[512]; //here is where the template data is sotred void store_template_to_buf() { Serial.println("Waiting for valid finger...."); if (finger.image2Tz(1) == FINGERPRINT_OK) { //creating the charecter file for 1st image Serial.println("Remove finger"); Serial.println("Place same finger again, waiting...."); if (finger.image2Tz(2) == FINGERPRINT_OK) { //creating the charecter file for 2nd image Serial.println("Creating model..."); if (finger.createModel() == FINGERPRINT_OK) { //creating the template from the 2 charecter files and saving it to char buffer 1 Serial.println("Attempting to get template..."); if (finger.get_template_buffer(512, f_buf) == FINGERPRINT_OK) { //read the template data from sensor and save it to buffer f_buf void setup() { Serial.print("write 't' to the serial monitor followed by the 'id' "); Serial.println("write 'Y' in the serial monitor to delete all fingerprints"); void loop() if (Serial.available() != 0) {
} uint8_t getFingerprintID() { // OK success! p = finger.image2Tz(); // OK converted! // found a match! return finger.fingerID; // returns -1 if failed, otherwise returns ID # p = finger.image2Tz(); p = finger.fingerFastSearch(); // found a match! |
@Gitare420 it gives error
|
I notice I could extract a fingerprint's template from the library. I wonder whether there is anyway to upload the template to my server where I can compute the matching score.
(As the FP sensor could store a limited number of fingerprints, I plan to keep a database for all the templates on the server instead. The issue now is how to match a template at the server.)
The text was updated successfully, but these errors were encountered: