.net - Veridis Biometrics SDK validating with strings -
i'm sorry make long introduction, have done far:
- downloaded sdk;
- read manual ;
- followed sample project patched sdk.
but, thing is, had biometric solution working , used save hash data varchar2 data type instead of byte arrays. so, table has varchar2 column hard change (administration wise).
of course, glad veridis had "compareto" method, had overload allowed me pass string argument. problem doesn't seem work. here's bit handles validation:
private _modelo biometrictemplate private _valido boolean public writeonly property modelobiometrico string set(value string) _modelo = biometrictemplate.base64templatedecode(value) end set end property private sub onsampleacquired(device veridis.biometric.ibiometriccapturedevice, sample veridis.biometric.biometricsample) implements veridis.biometric.icapturelistener.onsampleacquired _valido = _modelo.compareto(new biometrictemplate(sample)).match end sub
this work when saving/validating 1 finger, validation doesn't work if save several fingers byte array. problem here?
ok, if serves in future, how i've solved this.
short version:
the sdk saves one or 3 samples of same finger only!
long version:
firstly, thought collecting 1 sample of each of 3 fingers i'd input. never validating me, made question on stackoverflow.
the thing is, after whole day trying other methods , approaches, found out second finger had input being validated. made me wonder lot and, after few tests, turned out validated second finger.
after summing up, it's pretty obvious should input 3 samples of same finger before starting finger.
this odd, because if save 1 finger, take 1 sample on account , (although hash code bigger 3 samples, not @ all, that's matter).
Comments
Post a Comment