【解決方法】Secugen SDK を使用した指紋認証アプリケーション


Secugen SDK を使用して指紋アプリケーションを開発しました。 唯一の問題は、抽出された特徴点を取得して DB に保存することです。 またはプレーンテキスト。
Secugen SDK を使用したことがある方はどうぞ。 私を助けてください。
Eメール :[DELETED]@live.com

[edit]メール削除 – OriginalGriff[/edit]

解決策 1

彼らと話をしてみませんか?
http://www.secugen.com/support/index.htm[^]

彼らには多くのサポートオプションがあり、デバイスの代金を支払ったので、SDK を書いた人々と話をすることもできます…

解決策 2

サンプル コードは次のとおりです。このコードを使用すると、デバイスにアクセスして指紋を確認できます。
GitHub – larryochieng1983/systechBiometrics: Systech の FundMaster の指紋バイオメトリクス pugin[^]

フィンガープリントの保存には、MySQL などの任意のトランザクション データベースを使用できます。 保存する必要があるのは、指紋のテンプレートまたは細目であり、指紋の画像ではありません。
ここにそれについての詳細を知るためのリンクがあります
指紋テンプレートはどこに保存する必要がありますか?[^]

解決策 4

VB
for me and with ms access 2016
save to DB in ole field
Imports System.IO
Imports System.Text
Imports System.Drawing
Imports SecuGen.FDxSDKPro.Windows
Imports System.Data.OleDb
Dim conn As New OleDbConnection("provider=microsoft.ace.oledb.12.0; data source=C:\Users\ALi\Desktop\Test.accdb")
<pre> Dim fp_image() As Byte
        m_FPM.SetTemplateFormat(SGFPMTemplateFormat.ISO19794)
        ReDim fp_image(m_ImageWidth * m_ImageHeight)
        'اخذ قالب البصمة الاول
        m_FPM.GetImage(fp_image)
        DrawImage(fp_image, PictureBox2)
        m_FPM.CreateTemplate(fp_image, m_RegMin1)
        m_FPM.GetImageQuality(m_ImageWidth, m_ImageHeight, fp_image, img_qlty)
        m_FPM.GetImageQuality(m_ImageWidth, m_ImageHeight, fp_image, img_qlty)
        If (img_qlty < 74) Then
            MsgBox("جودة الصورة قليلة " & img_qlty.ToString)

            Return
        End If
        Dim cmd As New OleDbCommand
        conn.Open()
        cmd.Connection = conn
        cmd.CommandType = CommandType.Text
        cmd.CommandText = "INSERT INTO `tbl1` (Fname, Lname, job, Fprint) VALUES (@Fname, @Lname, @job, @Fprint)"
        cmd.Parameters.AddWithValue("@Fname", TextBox1.Text)
        cmd.Parameters.AddWithValue("@Lname", TextBox2.Text)

        cmd.Parameters.AddWithValue("@job", CInt(TextBox3.Text))

        cmd.Parameters.AddWithValue("@Fprint", m_RegMin1)
        cmd.ExecuteNonQuery()
        conn.Close()
        MsgBox("تم الحفظ")

‘==================================
‘DBからマッチング

  Dim match_score As Int32
        match_score = 0
        Dim fp_image() As Byte
        Dim matched As Boolean = False
        Dim secu_level As SGFPMSecurityLevel = SGFPMSecurityLevel.NORMAL
        ReDim fp_image(m_ImageWidth * m_ImageHeight)
        m_FPM.SetTemplateFormat(SGFPMTemplateFormat.ISO19794)

        m_FPM.GetImage(fp_image)
        DrawImage(fp_image, PictureBox3)
        m_FPM.CreateTemplate(fp_image, m_RegMin2)

        Dim cmd As New OleDbCommand
        Dim da As New OleDbDataAdapter(" select * from tbl1", conn)
        Dim dt As New DataTable
        da.Fill(dt)




        For i = 0 To dt.Rows.Count - 1
           
            m_FPM.MatchTemplate(dt(i)(5), m_RegMin2, secu_level, matched)

            match_score = 0
            m_FPM.GetMatchingScore(dt(i)(5), m_RegMin2, match_score)
'in my case fingerprint in field 5
            If (matched) Then
                Label2.Text = "البصمة مطابقة "
                statusbar.Text = match_score
                TextBox1.Text = dt(i)(1).ToString
                TextBox2.Text = dt(i)(2).ToString
                Exit For
            End If



             
        Next
        If Not (matched) Then
            Label2.Text = "البصمة غير مطابقة!"

            'Else
            'Me.Text = "MatchTemplate() Error : " + Convert.ToString(iError)
            TextBox1.Text = ""
            TextBox2.Text = ""
        End If

解決策 3

この問題は私にもあります。私は SecuGen の技術チームに何度も連絡を取りました。彼らは私の問題を解決することに真剣ではありません。彼らはデータベース機能のないサンプル コードを提供し、データベースへの保存方法 (テンプレート/分) と取得方法についても説明しています。その (テンプレート/分) データベースと一致します。
その機能/コードをお持ちの場合は、sa.gdagwadar@gmail.com までメールでお問い合わせください。

皆様に感謝と敬意を表します。

コメント

タイトルとURLをコピーしました