shorabh1991 / Biometric_machine_code

6 stars 6 forks source link

Nice job done #1

Open snramkumar opened 5 years ago

snramkumar commented 5 years ago

Dear Shorabh,

Good job done by posting the Biometric machine code

https://github.com/shorabh1991/Biometric_machine_code/tree/master

We have purchased Fingerprint scanner of HamsterPro 20 from Secugen

https://secugen.com/products/hamster-pro-20/

The company has given us the SDK in Vb.Net 2012 it works fine in their application. We want to save the scanned images into the SQL Server.

Can you guide us.

Thanks S.N.Ramkumar. Chennai.

shorabh1991 commented 5 years ago

Dear Sir, I already have written code regarding saving fingerprint on the database in the form of .bmp and templates. I am using R30x series of the fingerprint reader (in my case R307 fingerprint reader) as some part of the code has already been published online. within month my project is going to finish and i am going to publish entire code online so that anybody can download it and use in there organization. from puncing machine to middle server code to end server code evrything will be publish.

Regards Shorabh Karir, Software Developer, Cyber security adviser, AIIMS, New Delhi

On Tue, 16 Apr 2019 at 22:43, snramkumar notifications@github.com wrote:

Dear Shorabh,

Good job done by posting the Biometric machine code

https://github.com/shorabh1991/Biometric_machine_code/tree/master

We have purchased Fingerprint scanner of HamsterPro 20 from Secugen

https://secugen.com/products/hamster-pro-20/

The company has given us the SDK in Vb.Net 2012 it works fine in their application. We want to save the scanned images into the SQL Server.

Can you guide us.

Thanks S.N.Ramkumar. Chennai.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shorabh1991/Biometric_machine_code/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AZvuvKSVHPLAXF42KsI7gyHnC96ifb0_ks5vhgSsgaJpZM4czNck .

snramkumar commented 5 years ago

Respected Shorabh Karir,

You have replied

" saving fingerprint on the database in the form of .bmp and templates "

.bmp we have saved into the database. Like this

MySql = " Insert Into FP " MySql = MySql & " ( Name, FpImage ) " MySql = MySql & " Select 'Good Night Ram', BulkColumn " MySql = MySql & " From Openrowset( Bulk '" & txtFilePath.Text & "', Single_Blob ) as FpImage "

    Try

        c.Exec(MySql)
        MessageBox.Show(txtFilePath.Text & " Sucessfully Inserted ")

    Catch ex As Exception

        MsgBox("Error Message : " & ex.Message & " MySql Statement " & MySql)

        Exit Sub

    End Try

We have not saved the templates into the database.

How to store it. Can you send some examples

Now we have understood, storing the image alone into the database is not sufficient. Template must also be stored.

With Best Regards. S.N.Ramkumar.

shorabh1991 commented 5 years ago

Respected S.N.Ramkumar, This is what it looks likes(storing templates of fingerprint). { "_id" : 3, "name" : "monika", "finger_templates" : [ 3, 1, 83, 35, 0, 0, 255, 254, 255, 254, 248, 2, 240, 0, 192, 0, 192, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, 150, 98, 62, 51, 152, 32, 158, 64, 27, 97, 190, 92, 38, 234, 158, 73, 44, 4, 126, 80, 53, 130, 30, 34, 61, 154, 30, 85, 64, 26, 30, 91, 152, 157, 95, 23, 157, 157, 255, 46, 158, 31, 63, 42, 161,, 160, 18, 101, 19, 223, 173, 91, 33, 231, 211, 73, 149, 202, 208, 81, 147, 199, 49, 75, 17, 67, 143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 86, 34, 0, 0, 255, 254, 254, 30, 248, 2, 240, 0, 224, 0, 224, 0, 224, 0, 224, 0, 192, 0, 192, 0, 192, 0, 192, 0, 192, 0, 192, 0, 192, 0, 192, 0, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 105, 12, 225, 214, 40, 145, 97, 126, 39, 151, 30, 190, 36, 155, 30, 30, 71, 164, 3, 190, 39, 168, 220, 30, 83, 169, 153, 254, ] } Like I had told you earlier I am using an R307 fingerprint scanner. if we go through the documentation there is a function name called as download_charatertics. which download the finger array stored in Buffer 0x01 or 0x02. After Downloading it you can strore it into a DB or variable (as per ur requirement ).

Regards Shorabh Karir, Software Developer, Cyber security adviser, AIIMS, New Delhi

snramkumar commented 5 years ago

Good Shorabh Karir.