public class IsoFingerPrintInterface
extends java.lang.Object
Constructor and Description |
---|
IsoFingerPrintInterface() |
Modifier and Type | Method and Description |
---|---|
static int |
cancel()
Cancel the fingerprint device.
|
static int |
close()
Close the fingerprint device.
|
static int |
convertFormat(byte[] feaIn,
int typeIn,
byte[] feaOut,
int typeOut)
Convert fingerprint from one type to another.
|
static int |
delAllFingers()
Delete all fingerprints.
|
static int |
delFinger(int userID)
Delete one fingerprint.
|
static int |
enroll(int userID,
int timeout)
Enroll fingerprint.
|
static int |
getFeaExt(byte[] arryFea,
int timeout,
int type)
Get the active fingerprint feature, specified the type of the fingerprint.
|
static int |
getId()
Get the id of fingerprint.
|
static int |
getImage(byte[] pImgBuffer,
int pImgWidth,
int pImgHeight,
int type)
Get the active fingerprint image buffer, specified the type of the fingerprint.
|
static int |
getUserFeature(int userID,
byte[] pFeaBuffer1,
int type)
Get the specified fingerprint.
|
static boolean |
isOpened()
is open fingerprinter device.
|
static int |
listAllFingersStatus(int[] fingerExist)
List all the fingerprints's status.
|
static int |
match(byte[] pFeaBuffer1,
int nFea1Length,
byte[] pFealBuffer2,
int nFea2Length)
Match the fingerprint.
|
static int |
open()
Open the fingerprint device.
|
static int |
storeFeature(int userID,
byte[] pFeaBuffer)
Store the fingerprint.
|
static int |
verifyAgainstFeature(byte[] pFeaBuffer,
int timeout)
Verify the active fingerprint against the the specified fingerprint feature.
|
static int |
verifyAgainstUserId(int userID,
int timeout)
Verify the active fingerprint against the the specified fingerprint.
|
static int |
verifyAll(int timeout)
Verify the active fingerprint.
|
public static int open()
public static int close()
public static int cancel()
public static int match(byte[] pFeaBuffer1, int nFea1Length, byte[] pFealBuffer2, int nFea2Length)
pFeaBuffer1:
- The feature of the old fingerprintnFea1Length:
- The length of the featurepFealBuffer2:
- The feature of the new fingerprintnFea2Length:
- The length of the featurepublic static int enroll(int userID, int timeout)
userID:
- user id, set to -1, the value will genrated by the driver.(1 <= user id <= 100 )timeout:
- time out, unit is mspublic static int verifyAll(int timeout)
timeout:
- time out, unit is mspublic static int delAllFingers()
public static int delFinger(int userID)
userID:
- user idpublic static int verifyAgainstUserId(int userID, int timeout)
userID:
- user idtimeout:
- time out, unit is mspublic static int verifyAgainstFeature(byte[] pFeaBuffer, int timeout)
pFeaBuffer:
- The feature of the specified fingerprinttimeout:
- time out, unit is mspublic static int listAllFingersStatus(int[] fingerExist)
fingerExist:
- returned the exist id of the fingerprintpublic static int getUserFeature(int userID, byte[] pFeaBuffer1, int type)
userID:
- user idpFeaBuffer1:
- The returned feature of the fingerprinttype:
- fingerprint type, 0: Default, 1:ISO2005, 2:ISO2015public static int storeFeature(int userID, byte[] pFeaBuffer)
userID:
- user id, set to -1, the value will genrated by the driver.pFeaBuffer:
- The feature of the fingerprintpublic static int getFeaExt(byte[] arryFea, int timeout, int type)
arryFea:
- The returned feature of the fingerprinttimeout:
- time out, unit is mstype:
- fingerprint type, 0: Default, 1:ISO2005, 2:ISO2015public static int getImage(byte[] pImgBuffer, int pImgWidth, int pImgHeight, int type)
userID:
- user idpImgBuffer:
- The returned image buffer of the fingerprintpImgWidth:
- The width of the imagepImgHeight:
- The height of the imagetype:
- fingerprint type, 0: Default, 1:ISO2005, 2:ISO2015public static int convertFormat(byte[] feaIn, int typeIn, byte[] feaOut, int typeOut)
feaIn:
- The feature of the fingerprint before converttypeIn:
- The type of the fingerprint before convert, 0: Default, 1:ISO2005, 2:ISO2015feaOut:
- The feature of the fingerprint after converttypeOut:
- The type of the fingerprint after convert, 0: Default, 1:ISO2005, 2:ISO2015public static int getId()
public static boolean isOpened()