Posts

Showing posts with the label NBioBSP

java Expert Solutions: How to capture finger prints in java

How to capture finger prints in java : "Java code for capture finger prints. NBioBSPJNI.FIR_HANDLE hSavedFIR; hSavedFIR = bsp.new FIR_HANDLE(); bsp.Enroll(hSavedFIR, null); // E..."

Client / Server Environment for finger print capturing

In a client/Server environment, fingerprint capture is executed on the client system and the matching and storing of the fingerprint data takes place on server system. For this reason, Verify method can’t be used. Instead, VerifyMatch will be used. NBioBSPJNI.INPUT_FIR inputFIR = bsp.new INPUT_FIR(); NBioBSPJNI.INPUT_FIR inputFIR2 = bsp.new INPUT_FIR(); Boolean bResult = new Boolean(false); NBioBSPJNI.FIR_PAYLOAD payload = bsp.new FIR_PAYLOAD(); inputFIR.SetTextFIR(textSavedFIR); inputFIR2. SetTextFIR(textCapturedFIR); bsp.VerifyMatch(inputFIR, inputFIR2, bResult, payload); if (bsp.IsErrorOccured() == false) { if (bResult) labelStatus.setText("Verify OK - Payload: " + payload.GetText()); else labelStatus.setText("Verify Failed"); }

What is NBioBSP Java Library?

The NBioBSP Java Library (NBioBSPJNI.jar) is designed to support developers using JAVA environment. NBioBSP Java Library based Java Native Interface Technology that facilitates easily integration of NBioBSP by developers using Java development. The NBioBSP Java Library also uses NBioBSP.dll and provides higher level of interfaces. NBioBSP Java Library supports almost all NBioBSP functions. Only valid for NBioBSP.dll version 4.781 or higher. Only valid for JDK version 1.5.0_20 or higher. File list :- ■ NBioBSPJNI.jar This is the java library of the eNBSP SDK. ■ NBioBSPJNI.dll It implements all java native interfaces. It use with the windows platform. ■ NBioBSPJNI.so It implements all java native interfaces. It use with the Linux platform.

How to capture finger prints in java

Java code for capture finger prints. NBioBSPJNI.FIR_HANDLE hSavedFIR; hSavedFIR = bsp.new FIR_HANDLE(); bsp.Enroll(hSavedFIR, null); // Enroll bsp.Capture(hSavedFIR); // Capture // Get Text FIR if (bsp.IsErrorOccured() == false) { NBioBSPJNI.FIR_TEXTENCODE textSavedFIR; textSavedFIR = bsp.new FIR_TEXTENCODE(); bsp.GetTextFIRFromHandle(hSavedFIR, textSavedFIR); } // Get Binary FIR if (bsp.IsErrorOccured() == false) { NBioBSPJNI.FIR fullSavedFIR; fullSavedFIR = bsp.new FIR(); bsp.GetFIRFromHandle(hSavedFIR, fullSavedFIR); } You can capture both type in your database and file. 1)textFIR 2)BinaryFIR

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;

Recent Post

Recent Posts Widget