本文介绍了用于系统认证的人脸识别和指纹识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



i是最后一年的学生,我有一个最终项目。

i需要构建认证系统以进行系统登录和使用,
系统使用人脸识别和指纹进行双向认证,其中记录存储用户及其脸部的指纹,以后任何登录系统的尝试都应通过认证系统,用户扫描他的指纹,凸轮读取他的脸,当用户确认,系统将打开。



i得到C#和EmguCV中的人脸识别代码,但仍然与数据库,我将如何使数据库存储面部和指纹的图像,因为我还注意到面部图像存储到文件和XML文件。



请给我一些帮助,一些我应该怎么做的指导或者我可能会使用哪些有用的工具。





非常感谢

Hello everyone

i am final year student and i have a final project.
i need to build authentication system for system login and use,
system use two way attestation by face recognition and finger print, where a record store the finger print of a user and his face , later any attempt to login to the system should go through authentication system , user scan his finger print , cam read his face , when user confirmed , system will open.

i got the codes for face recognition in C# and EmguCV but am still confused with the data base , how am going to make the database to store image of the face and the finger print as i notice also face images stored to a file and XML file.

could any one give help here please , some guides of how i should do the work or what a helpful tools i might use.


Thanks alot

推荐答案

mArrImgData = new byte[16800];//[14400];
           grayFrame.Copy(FaceRect).Resize(120, 140, INTER.CV_INTER_LINEAR).Bytes.CopyTo(mArrImgData, 0);





然后直接插入数据库:





and then insert to database directly:

msQueryString = "INSERT INTO VGPSystem(Valid_From,Today_date,Validity,VGP_Name,VGP_Company,VGP_VehicleNo,VGP_PHNO,Issuer_Name,Issuer_Department,Pass_Number,Sl_No,VPhoto) values ("
                                        +"'" + dtpValidFrom.Value.ToString("MM/dd/yyyy")+ "',"
                                        + "'" + System.DateTime.Now.ToString("MM/dd/yyyy")
                                        +"',"  + cmbValidity.Text
                                        + ",'" + txtVisitorName.Text
                                        + "','" + txtVisitorComAddr.Text
                                        + "','" + txtVisitorVehicleNum.Text
                                        + "','" + txtVisitorPersonalNum.Text
                                        + "','" + txtIssuername.Text
                                        + "','" + txtIssuerDept.Text
                                        + "','" + txtPnum.Text
                                        + "','" + lTemp
                                        + "'," + "@Imagedata" + ")";


objcmd.Parameters.Add("@Imagedata", SqlDbType.Image, mArrImgData.Length).Value = mArrImgData;









为您的项目最好的运气!





Best Of Luck for your Project!


这篇关于用于系统认证的人脸识别和指纹识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-05 08:31