Wednesday, December 14, 2011

Biometrics - Fingerprinting (simple device 150/- INR :-)


Step1: FingerPrinting DOM:

Algorithm/Steps:
1.       Let us add one more folder under application root folder in our code:

2.       Add a new class  "BiometricsHelper” in common
/* Intention is to do finger print scanner Initialization */
3.       The BiometricsHelper object would set :
a.       Threshold  (% of fingerprint quality)
b.      Manipulate the Raw object from the .API and output the following:
·        HR_ID.Png   //Save the image file that has to be displayed in the UI.
·         FMR  object, that has all the properties of fingerprints.     

NOTE: FMR which contains the actual Fingerprint properties would be Binaray Seriazlized with encryption and saved as HR_ID.dat  “One file per employee”
4.       In your XAML bind the image control that should read  “.png” file from the aforesaid path.


Step2: Pattern Matching domain object Model:

Algorithm:
1.       Access the “HR_Fingerprints” folder and perform a   BinarySearch to load the actual file.
2.       Make use of the existing BinaryReader class under Test.Common.General  to read the FMR object.
3.       Set the FMR object.

 Assumptions:
1.       Our assumptions is, Employee would be allowed 3 attempts for Enrollment process 
2.      Per Employee only 1 Finger is registered  from any Hand, if unfortunately the finger gets damaged, The Employee has to re-enroll with the rest of the fingers.

****************************************
A WRAPPER class to access the .API by the various provider for devices lik DigitalPersona/Figuring out any OPOS for .NET


-YUVI ©