c# - Match bitmap image from server via BiometricSDK with another bitmap image? -
i have stored bitmap image in server , want matching through biometricsdk image select. have got no idea how solve it. here current code.
//make finger print image through sdk process boolean result = true; var fprintsdk = new biometricssdk.fingerprint.cfingerprint(); var fprintresult = new biometricssdk.fingerprint.cfingerprint(); //get finger print image fprintsdk.setfingerprintimage(fprintsdk.getfingerprintimage()); fprintresult.setfingerprintimage(fprintresult.getfingerprintimage()); fprintimg.image = fprintresult.getfingerprintimagedetail(); fprintimg.sizemode = pictureboxsizemode.stretchimage; //open window select finger print image var open = new openfiledialog(); open.filename = string.empty; open.filter = "bmp|*.bmp"; //open text file default open.multiselect = false; if (open.showdialog() == dialogresult.ok) { bitmap bmp = (bitmap) image.fromfile(open.filename); //select image , store out string constr = "provider=microsoft.jet.oledb.4.0;data source = bankserver.mdb"; oledbconnection conn = new oledbconnection(constr); conn.open(); string sfingerprint = "select * server hash = '" + ccinfo + "'"; //get data server oledbcommand cmd1 = new oledbcommand(sfingerprint, conn); oledbdatareader read1 = cmd1.executereader(); while (read1.read()) //loop data { //(problem stuck on here) if (read1["fingerprint"].gettype() == bmp) //comparison text file , database { messagebox.show("well done"); } } }
i don`t know sdk using. therefore, needs search how generate template 2 images , match 2 templates. biometric match not done images directly templates.
if tell sdk using maybe can answer better.
Comments
Post a Comment