Click here to Skip to main content
14,669,324 members
Rate this:
Please Sign up or sign in to vote.
These are codes in verifying a fingerprint, but not using MySQL database. I want it to compare a fingerprint scanned to database. If matched then These codes are from the SDK of the Biometric Digital Persona (U.are.U 4500).

' NOTE: This form is inherited from the CaptureForm,
' so the VisualStudio Form Designer may not load this properly
' (at least until you build the project).
' If you want to make changes in the form layout - do it in the base CaptureForm.
' All changes in the CaptureForm will be reflected in all derived forms 
' (i.e. in the EnrollmentForm and in the VerificationForm)

Public Class VerificationForm
  Inherits CaptureForm

  Private Template As DPFP.Template
  Private Verificator As DPFP.Verification.Verification

  Public Sub Verify(ByVal template As DPFP.Template)
    Me.Template = template
  End Sub

  Protected Overrides Sub Init()
    MyBase.Text = "Fingerprint Verification"
    Verificator = New DPFP.Verification.Verification()
  End Sub

  Protected Overrides Sub Process(ByVal Sample As DPFP.Sample)

    ' Process the sample and create a feature set for the enrollment purpose.
    Dim features As DPFP.FeatureSet = ExtractFeatures(Sample, DPFP.Processing.DataPurpose.Verification)

    ' Check quality of the sample and start verification if it's good
    If Not features Is Nothing Then
      ' Compare the feature set with our template
      Dim result As DPFP.Verification.Verification.Result = New DPFP.Verification.Verification.Result()
      Verificator.Verify(features, Template, result)
      If result.Verified Then
        MakeReport("The fingerprint was VERIFIED.")
        MakeReport("The fingerprint was NOT VERIFIED.")
      End If
    End If
  End Sub

  Protected Sub UpdateStatus(ByVal FAR As Integer)
    ' Show "False accept rate" value
    SetStatus(String.Format("False Accept Rate (FAR) = {0}", FAR))
  End Sub

    Private Sub VerificationForm_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    End Sub
    Private Sub InitializeComponent()
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.ClientSize = New System.Drawing.Size(581, 354)
        Me.Name = "VerificationForm"

    End Sub
End Class
Updated 7-Mar-14 7:32am
Maciej Los 7-Mar-14 13:38pm
Have a look here: A Framework in C# for Fingerprint Verification[^]. There is no simple way.
phil.o 7-Mar-14 14:46pm
Hum, so, you want that someone modifies for you the work of someone else than you? I'm afraid that is not how things are working here. Please see CodeProject QA FAQ and What have you tried?
Leetian04 7-Mar-14 15:46pm
I'm sorry for that. But i dont have any idea bout verifying a fingerprint from MySQL database.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100