捕获并比较指纹图像

我正在开发一个使用指纹识别的考勤管理系统。 所以我想要的是比较扫描仪生成的两个bmp图像。 我听说过神经网络,但我不知道如何实现它。 有什么解决方案吗?

你不想从头开始开发这个,你需要像Digital Persona软件开发套件这样的东西。

还有其他人,但那是我今晚使用的那个:)

还有这个问题: Opensource或Free Fingerprint Reader SDK 。

编辑添加:

如果您无法使用NITGEN SDK ,那么您可能无法在项目中取得成功。 当您比较’指纹’时,您实际上并不是在比较图像,而是在比较从图像中提取的关键点(标记)列表。

如果你从头开始,它将需要永远。 我4年前使用Griaule Biometrics制作这个项目。 它就像一个魅力。 添加对必要DLL的引用以操作指纹扫描程序。

我想你正在寻找:

https://github.com/cameronmcefee/Image-Diff-View-Modes/commit/8e95f70c9c47168305970e91021072673d7cdad8

对于简单方法:

1: private bool ImageCompareArray(Bitmap firstImage, Bitmap secondImage) 2: { 3: bool flag = true; 4: string firstPixel; 5: string secondPixel; 6: 7: if (firstImage.Width == secondImage.Width 8: && firstImage.Height == secondImage.Height) 9: { 10: for (int i = 0; i < firstImage.Width; i++) 11: { 12: for (int j = 0; j < firstImage.Height; j++) 13: { 14: firstPixel = firstImage.GetPixel(i, j).ToString(); 15: secondPixel = secondImage.GetPixel(i, j).ToString(); 16: if (firstPixel != secondPixel) 17: { 18: flag = false; 19: break; 20: } 21: } 22: } 23: 24: if (flag == false) 25: { 26: return false; 27: } 28: else 29: { 30: return true; 31: } 32: } 33: else 34: { 35: return false; 36: } 37: } 

另见: http : //blogs.msdn.com/b/domgreen/archive/2009/09/06/comparing-two-images-in-c.aspx