FingerPad Class¶
Namespace: id3.Finger
Definition¶
Detects presentation attacks in finger images.
class FingerPad
class FingerPad implements Finalizable
public partial class FingerPad
public class FingerPad implements AutoCloseable, Serializable
public class FingerPad
typedef struct id3FingerPad *ID3_FINGER_PAD;
Usage¶
fingerPadInstance = FingerPad()
# ...
Explicit destruction
# ...
del fingerPadInstance
final fingerPadInstance = sdk.FingerPad();
// ...
Explicit destruction
// ...
fingerPadInstance.dispose()
using (var fingerPadInstance = new FingerPad())
{
// ...
}
Explicit destruction
var fingerPadInstance = new FingerPad()
// ...
fingerPadInstance.Dispose()
try (FingerPad fingerPadInstance = new FingerPad()) {
// ...
}
Explicit destruction
FingerPad fingerPadInstance = new FingerPad();
// ...
fingerPadInstance.close();
private var fingerPadInstance: FingerPad? = nil
fingerPadInstance = try FingerPad()
ID3_FINGER_PAD hFingerPad{};
int err = id3FingerPad_Initialize(&hFingerPad);
if (err == ID3_SUCCESS) {
// ...
id3FingerPad_Dispose(&hFingerPad);
}
Properties¶
Name |
Type |
Description |
---|---|---|
Model of finger presentation attack detection. |
||
int |
Number of threads to use for PAD. |
Methods¶
Name |
Description |
---|---|
Computes a liveness score for a finger image using the loaded model. |