mga master pa help naman po dito sa code ko
Dim resultConversion As DataResult(Of Fmd) = FeatureExtraction.CreateFmdFromFid(captureResult.Data, Formats.Fmd.ANSI)
If resultConversion.ResultCode <> Constants.ResultCode.DP_SUCCESS Then
_sender.Reset = True
Throw New Exception("" & resultConversion.ResultCode.ToString())
End If
If count = 0 Then
rightIndex = resultConversion.Data
count += 1
SendMessage(Action.SendMessage, "Now place your finger on the reader.")
ElseIf count = 1 Then
rightThumb = resultConversion.Data
count += 1
SendMessage(Action.SendMessage, "Now place your finger on the reader.")
ElseIf count = 2 Then
Dim fingerprint = Fmd.SerializeXml(resultConversion.Data)
anyFinger = resultConversion.Data
Dim fmds(1) As Fmd
fmds(0) = rightIndex
fmds(1) = rightThumb
' See the SDK documentation for an explanation on threshold scores.
Dim thresholdScore As Integer = DPFJ_PROBABILITY_ONE * 1 / 100000
Dim SqlQuery = "SELECT fingerprin From tb_workers"
objcmd = New MySqlCommand(SqlQuery, objconn)
objdr = objcmd.ExecuteReader
While objdr.Read
Dim dbprints = objdr.GetString("fingerprint")
Dim X = Fmd.DeserializeXml(dbprints)
Dim Y = Fmd.SerializeXml(X)
Dim identifyResult = Comparison.Identify(X, 0, fmds, thresholdScore, 2)
If identifyResult.ResultCode <> Constants.ResultCode.DP_SUCCESS Then
_sender.Reset = True
Throw New Exception("" & identifyResult.ResultCode.ToString())
End If
SendMessage(Action.SendMessage, "Identification resulted in the following number of matches: " & identifyResult.Indexes.Length.ToString())
count = 0
End While
objcmd.Dispose()
objdr.Close()
End If
im trying to compare results of scanned fingerprints from my database.
yung last na row lang na read ng while statement ko dun lang nag mamatch yung mga prev prints d nag mamatch
mali ata looping ko patulong namn.
salamat po
- - - Updated - - -
mga master pa help naman po dito sa code ko
Dim resultConversion As DataResult(Of Fmd) = FeatureExtraction.CreateFmdFromFid(captureResult.Data, Formats.Fmd.ANSI)
If resultConversion.ResultCode <> Constants.ResultCode.DP_SUCCESS Then
_sender.Reset = True
Throw New Exception("" & resultConversion.ResultCode.ToString())
End If
If count = 0 Then
rightIndex = resultConversion.Data
count += 1
SendMessage(Action.SendMessage, "Now place your finger on the reader.")
ElseIf count = 1 Then
rightThumb = resultConversion.Data
count += 1
SendMessage(Action.SendMessage, "Now place your finger on the reader.")
ElseIf count = 2 Then
Dim fingerprint = Fmd.SerializeXml(resultConversion.Data)
anyFinger = resultConversion.Data
Dim fmds(1) As Fmd
fmds(0) = rightIndex
fmds(1) = rightThumb
' See the SDK documentation for an explanation on threshold scores.
Dim thresholdScore As Integer = DPFJ_PROBABILITY_ONE * 1 / 100000
Dim SqlQuery = "SELECT fingerprin From tb_workers"
objcmd = New MySqlCommand(SqlQuery, objconn)
objdr = objcmd.ExecuteReader
While objdr.Read
Dim dbprints = objdr.GetString("fingerprint")
Dim X = Fmd.DeserializeXml(dbprints)
Dim Y = Fmd.SerializeXml(X)
Dim identifyResult = Comparison.Identify(X, 0, fmds, thresholdScore, 2)
If identifyResult.ResultCode <> Constants.ResultCode.DP_SUCCESS Then
_sender.Reset = True
Throw New Exception("" & identifyResult.ResultCode.ToString())
End If
SendMessage(Action.SendMessage, "Identification resulted in the following number of matches: " & identifyResult.Indexes.Length.ToString())
count = 0
End While
objcmd.Dispose()
objdr.Close()
End If
im trying to compare results of scanned fingerprints from my database.
yung last na row lang na read ng while statement ko dun lang nag mamatch yung mga prev prints d nag mamatch
mali ata looping ko patulong namn.
salamat po
sir up ko lang badly needed help po
sana if kung pde lang like php and mysql
na
while($row=mysql_fetch_array){
//tas loop lang dito yung e cocompare kung fmds
}
baguhan lang po kasi ako sa visual basic
salamat po sa makakatulong