Capture and compare finger print image

后端 未结 3 2096
Happy的楠姐
Happy的楠姐 2021-01-15 15:42

I\'m developing an attendance management system using finger print recognition. So what i want is comparing the two bmp images those are generated by the scanner. I\'ve hea

相关标签:
3条回答
  • 2021-01-15 15:47

    It will take forever if you start from scratch. I used Griaule Biometrics 4 years ago making this project. It worked like a charm. Add a reference to the necessary DLL to operate the fingerprint scanner.

    0 讨论(0)
  • 2021-01-15 15:48

    I think you are looking for :

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

    For Simple Approach:

       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: }
    

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

    0 讨论(0)
  • 2021-01-15 16:11

    You don't want to develop this from scratch, you want something like the Digital Persona Software Development Kit.

    There are others, but that's the one I was using tonight :)

    There's also this question: Opensource or Free Fingerprint Reader SDK.

    Edited to add:

    If you can't use the NITGEN SDK, then you're probably not going to succeed in your project. When you compare 'fingerprints', you're not actually comparing the images, you're comparing lists of key points (indicia) extracted from the images.

    0 讨论(0)
提交回复
热议问题