public static string LayDacTrungString(Bitmap bmpGray) { CFingerPrint vantay = new CFingerPrint(); vantay.setFingerPrintImage(bmpGray); double[] dactrung = vantay.getFingerPrintTemplate(); return vantay.ConvertFingerPrintTemplateDoubleToString(dactrung); }
public static double[] LayDacTrung(Bitmap bmpGray) { CFingerPrint vantay = new CFingerPrint(); vantay.setFingerPrintImage(bmpGray); double[] dactrung = vantay.getFingerPrintTemplate(); return dactrung; }
public static Bitmap LayAnhXuongDacTrung(Bitmap bmpGray) { CFingerPrint vantay = new CFingerPrint(); vantay.setFingerPrintImage(bmpGray); double[] dactrung = vantay.getFingerPrintTemplate(); return vantay.getFingerPrintImageDetail(Color.Black, true); }
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; }
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); }
internal static Bitmap LayAnhDacTrungANN(Bitmap anhNhiPhan) { CFingerPrint vantay = new CFingerPrint(); vantay.setFingerPrintImage(anhNhiPhan); double[] dactrung = vantay.getFingerPrintTemplate(); return vantay.getFingerPrintImageDetailInputANN(Color.Black); }
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; }