Biometric SDK is complete open-source Software Development Kit for face, iris and fingerprint modalities.
NOTE: Some modules are still under development.
io
– defines functionality for working with images and biometric files.iris
– provides functionality for working with IRIS biometrics.qualityControl
– (unavailable) provides functionality for image quality calculation.face
– (unavailable) provides functionality for working with FACE biometrics.finger
– (unavailable) provides functionality for working with FINGERPRINT biometrics.
Call BiometricSdkFactory.configure();
for initial SDK configuration.
After that you can get SDK instance by calling getInstance()
method.
Image img = instance.io().readImage(path);
instance.io().write(img, "/opt/tmp", ImageFormat.PNG);
Image img = instance.io().readImage(bytes);
byte[] = instance.io().writeAsByteArrayImage(img, ImageFormat.PNG);
Operations for extracting iris texture from eye image.
Image eye = instance.io().readImage(path);
Img texture = instance.iris().extractor().extract(eye);
Operations for encoding iris texture to binary template.
byte[] template = instance.iris().encoder().encode(img);
byte[] template2 = instance.iris().encoder().extractAndEncode(sample2);
Operations for matching iris templates between each other.
byte[] template1 = instance.iris().encoder().encode(template);
byte[] template2 = instance.iris().encoder().extractAndEncode(sample2);
boolean matches = instance.matcher().matches(template1, template2);
If you found a bug and can provide steps to reliably reproduce it, or if you have a feature request, please open an issue. Other questions may be addressed to the Biometric Technologies project maintainers.
Biometric Converter is released under the GNU PUB3 License. See the LICENSE for details.