c# - Veridis Biometric SDK: Get ANSI378 template from fingerprint image file -
i have been fiddling veridis sdk 5.0. need ansi 378 template fingerprint image file. here sample code that.
var r = veridislicense.installlicense(mykey, string.empty); var bitmap = bitmap.fromfile(imagepath) bitmap; var sample = new biometricsample(bitmap, 500); var biotemplate = new biometrictemplate(sample, biometrictemplateformat.ansi); var data = biotemplate.getdata();
however, app crashes ntdll heap corruption error after executing installlicense line. if omit that, veridis.biometric.biometricexception "not started (error #-4)" biometrictemplate constructor. can tell me going on here? have same problem while installing license dot net sample comes it. however, demo application inside veridis sdk package not give error while installing license.
i believe forgot call static function biometriccapture.startsdk(eventlistener)
you need class inherit icapturelistener
. new class event listener.
Comments
Post a Comment