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

Popular posts from this blog

What is NBioBSP Java Library?

Draw arrow line example

Capture image from webcam java code, examples