从DataBase匹配实时指纹 [英] Matching Live Finger Print from DataBase

查看:62
本文介绍了从DataBase匹配实时指纹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友



我试图使用手指扫描仪来改造Databse SqlServer的数据

但数据不匹配或指纹不匹配。

我试图匹配手指但指纹不匹配。

这里我的代码所以请帮助我。

< br $> b $ b



Hello Friends

I am trying to featch the data from Databse SqlServer using Finger scanner
but data is not matching or finger print is not matching .
I am trying to match finger but finger print is not matching.
Here my code so please help me.



Private Sub VerCtrl_OnVerify(ByVal LiveFinger As Boolean)
'On Error Resume Next
Dim cn As New ADODB.Connection
Dim rs As New ADODB.Recordset
Dim finData As New FingerData
Dim fda As New FingerData
cn.Open "Provider=MSDASQL;DSN=PMSClient"
rs.Open "Fingers", cn, adOpenStatic, adLockReadOnly, adCmdTable
If rs.RecordCount <= 0 Then
 Exit Sub
End If
rs.MoveFirst
Dim arr() As Byte
Do While Not rs.EOF
    ReDim arr(CLng(rs("FSize")) - 1) As Byte
    'retreiving the finger print from database one by one and matching with the currently scanned live finger
    arr = rs("Finger").GetChunk(CLng(rs("FSize")) - 1)
    finData.SetData arr
   
    ''finData.SetData (arr)
    'loading the finger print to the fx2000 device for verification
    VerCtrl.LoadFingerToMatch finData
    If VerCtrl.Match > 0.5 Then
        ' showing the message with whom live finger print matches
        gPIDNo = rs("PID_No")
        Exit Do
    Else
        gPIDNo = 0
    End If
    rs.MoveNext
Loop
Set finData = Nothing
rs.Close
cn.Close
Unload Me
End Sub









在t他的代码finData匹配一个指纹但是finData是图像是假的或者len是0

之后

如果VerCtrl.Match> 0.5然后跳入gPIDNo = 0(在其他部分)



所以请帮我解决这个问题

我的邮件ID: - [REMOVED ]

暴徒:9755377510

先谢谢





In this Code finData is matching a Finger print but finData is Image is false or or len is 0
and after
If VerCtrl.Match > 0.5 Then jump in gPIDNo = 0( in Else part )

so please Help me for this Solution
my mail ID: - [REMOVED]
mob: 9755377510
Thanks in Advance

推荐答案


VerCtrl是CommandButton的名字, loadfingerToMatch是方法

finData是一个变量作为fingerdata

因此在这个FinData中为null,在findata中为null,这就是为什么手指不匹配

请帮帮我
Hi VerCtrl is CommandButton name and loadfingerToMatch is method
finData is a variable as a fingerdata
so in this FinData is null, there in findata null so thats why finger is not matching
Please help me


这篇关于从DataBase匹配实时指纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆