How to compare two finger prints file in java
Steps for compare two finger print files.
// Make obj of NBioBSPJNI
NBioBSPJNI bsp = new NBioBSPJNI();
// Make two obj for two files.
NBioBSPJNI.INPUT_FIR inputFIR = bsp.new INPUT_FIR();
NBioBSPJNI.INPUT_FIR inputFIR1 = bsp.new INPUT_FIR();
Boolean bResult = new Boolean(false);
NBioBSPJNI.FIR_PAYLOAD payload = bsp.new FIR_PAYLOAD();
NBioBSPJNI.FIR_TEXTENCODE textSavedFIR = bsp.new FIR_TEXTENCODE();
textSavedFIR.TextFIR = fingureData;
NBioBSPJNI.FIR_TEXTENCODE textSavedFIR1 = bsp.new FIR_TEXTENCODE();
textSavedFIR1.TextFIR = dbData;
//Set both files in these objects.
inputFIR.SetTextFIR(textSavedFIR);
inputFIR1. SetTextFIR(textSavedFIR1);
// call verify mathod.
bsp.VerifyMatch(inputFIR1, inputFIR, bResult, payload);
System.out.println(bResult);
return bResult;
// Make obj of NBioBSPJNI
NBioBSPJNI bsp = new NBioBSPJNI();
// Make two obj for two files.
NBioBSPJNI.INPUT_FIR inputFIR = bsp.new INPUT_FIR();
NBioBSPJNI.INPUT_FIR inputFIR1 = bsp.new INPUT_FIR();
Boolean bResult = new Boolean(false);
NBioBSPJNI.FIR_PAYLOAD payload = bsp.new FIR_PAYLOAD();
NBioBSPJNI.FIR_TEXTENCODE textSavedFIR = bsp.new FIR_TEXTENCODE();
textSavedFIR.TextFIR = fingureData;
NBioBSPJNI.FIR_TEXTENCODE textSavedFIR1 = bsp.new FIR_TEXTENCODE();
textSavedFIR1.TextFIR = dbData;
//Set both files in these objects.
inputFIR.SetTextFIR(textSavedFIR);
inputFIR1. SetTextFIR(textSavedFIR1);
// call verify mathod.
bsp.VerifyMatch(inputFIR1, inputFIR, bResult, payload);
System.out.println(bResult);
return bResult;
Hi,
ReplyDeleteCan you please help to know, in which for is the db data stored. I am getting the string data from client application which could be in ISO template ISO Image, WSQ form. Should this string data needs to be processed before storing or verification using verifyMatch API.