public class FingerPrintInterface
extends java.lang.Object
Constructor and Description |
---|
FingerPrintInterface() |
Modifier and Type | Method and Description |
---|---|
static int |
cancel()
Cancel the fingerprint device.
|
static int |
close()
Close the fingerprint device.
|
static int |
getFea(byte[] arryFea,
int nFeaLength,
int[] pRealFeaLength,
int n_TimeOut_S)
Get the feature of fingerprint.
|
static int |
getLastImage(byte[] pImgBuffer,
int nImgLength,
int[] pRealImaLength,
int[] pImgWidth,
int[] pImgHeight)
Get the image of fingerprint.
|
static int |
match(byte[] pFeaBuffer1,
int nFea1Length,
byte[] pFealBuffer2,
int nFea2Length)
Match the fingerprint.
|
static int |
open()
Open the fingerprint device.
|
public static int open()
public static int close()
public static int getFea(byte[] arryFea, int nFeaLength, int[] pRealFeaLength, int n_TimeOut_S)
arryFea:
- The buffer to store the feature, not nullnFeaLength:
- The length of the bufferpRealFeaLength:
- Reture the real length of the buffern_TimeOut_S:
- Timeout, unit of time:spublic static int getLastImage(byte[] pImgBuffer, int nImgLength, int[] pRealImaLength, int[] pImgWidth, int[] pImgHeight)
pImgBuffer:
- The image buffernImgLength:
- The length of image bufferpRealImaLength:
- The real length of the image bufferpImgWidth:
- The width of the imagepImgHeight:
- The height of the imagepublic 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 cancel()