예제 #1
0
 public static string LayDacTrungString(Bitmap bmpGray)
 {
     CFingerPrint vantay = new CFingerPrint();
     vantay.setFingerPrintImage(bmpGray);
     double[] dactrung = vantay.getFingerPrintTemplate();
     return vantay.ConvertFingerPrintTemplateDoubleToString(dactrung);
 }
예제 #2
0
 public static double[] LayDacTrung(Bitmap bmpGray)
 {
     CFingerPrint vantay = new CFingerPrint();
     vantay.setFingerPrintImage(bmpGray);
     double[] dactrung = vantay.getFingerPrintTemplate();
     return dactrung;
 }
예제 #3
0
 public static Bitmap LayAnhXuongDacTrung(Bitmap bmpGray)
 {
     CFingerPrint vantay = new CFingerPrint();
     vantay.setFingerPrintImage(bmpGray);
     double[] dactrung = vantay.getFingerPrintTemplate();
     return vantay.getFingerPrintImageDetail(Color.Black, true);
 }
예제 #4
0
 public static int PhanTramPhuHop(double[] dactrung1, double[] dactrung2)
 {
     CFingerPrint f_match=new CFingerPrint();
     int i, j;
     i= f_match.Match(dactrung1, dactrung2, 80, false);
     j = f_match.Match(dactrung2, dactrung1, 80, false);
     if (i > j) return i;
     return j;
 }
예제 #5
0
 public static string LayDacTrungString(Bitmap bmpGray,out string CoreDelta)
 {
     CFingerPrint vantay = new CFingerPrint();
     vantay.setFingerPrintImage(bmpGray);
     double[] dactrung = vantay.getFingerPrintTemplate();
     CoreDelta=vantay.Core.X+";"+vantay.Core.Y+";"+vantay.DeltaR.X+";"+vantay.DeltaR.Y+";"+vantay.DeltaL.X+";"+vantay.DeltaL.Y;
     return vantay.ConvertFingerPrintTemplateDoubleToString(dactrung);
 }
예제 #6
0
 internal static Bitmap LayAnhDacTrungANN(Bitmap anhNhiPhan)
 {
     CFingerPrint vantay = new CFingerPrint();
     vantay.setFingerPrintImage(anhNhiPhan);
     double[] dactrung = vantay.getFingerPrintTemplate();
     return vantay.getFingerPrintImageDetailInputANN(Color.Black);
 }
예제 #7
0
 public static int PhanTramPhuHop(string str_dactrung1, double[] dactrung2)
 {
     double[] dactrung1 = new CFingerPrint().ConvertFingerPrintTemplateStringToDouble(str_dactrung1);
     CFingerPrint f_match = new CFingerPrint();
     int i, j;
     i = f_match.Match(dactrung1, dactrung2, 80, false);
     j = f_match.Match(dactrung2, dactrung1, 80, false);
     if (i > j) return i;
     return j;
 }