FDx SDK Pro for Windows & FDx SDK Pro for Windows CE
For applications using SecuGenfingerprint readers
SG1-0030B-008 (11/13)
Copyright 1998-2013 SecuGen Corporation. ALL RIGHTS RESERVED. Specifications are subject to change without notice. SecuGen, Auto-On, FDP02, FDU01, FDU02, FDU03, FDU04, SDU03, SDU04, and U20 are trademarks or registered trademarks of SecuGen Corporation. All other brands or products may be trademarks, service marks or registered trademarks of their respective owners. FDx SDK Pro .NET Manual Windows, Win CE ii Contents
BEFORE YOU BEGIN ............................................................................................................. IV BIOMETRICS OVERVIEW ..................................................................................................................... IV ABOUT SECUGEN ................................................................................................................................ IV ABOUT SECUGEN PRODUCTS ............................................................................................................ V CHAPTER 1. OVERVIEW ......................................................................................................... 6 1.1. SYSTEM REQUIREMENTS ..............................................................................................................6 1.2. ASSEMBLY .......................................................................................................................................6 1.3. NAMESPACES ..................................................................................................................................7 1.4. RUNTIME FILES ...............................................................................................................................7 CHAPTER 2. PROGRAMMING ................................................................................................ 8 2.1. CREATING SGFINGERPRINTMANAGER OBJECT ........................................................................8 2.2. INITIALIZING SGFINGERPRINTMANAGER OBJECT.....................................................................8 2.3. OPENING THE SECUGEN FINGERPRINT READER .................................................................... 10 2.4. GETTING DEVICE INFORMATION ................................................................................................. 11 2.5. CAPTURING A FINGERPRINT IMAGE .......................................................................................... 11 2.6. GETTING IMAGE QUALITY ............................................................................................................ 12 2.7. CONTROLLING BRIGHTNESS ...................................................................................................... 13 2.8. CREATING A TEMPLATE ............................................................................................................... 13 2.9. MATCHING TEMPLATES................................................................................................................ 14 2.10. REGISTRATION PROCESS .......................................................................................................... 16 2.11. VERIFICATION PROCESS ............................................................................................................ 17 2.12. GETTING MATCHING SCORE ..................................................................................................... 18 2.13. USING AUTO-ON....................................................................................................................... 19 2.14. TEMPLATE FORMAT .................................................................................................................... 20 2.15. MANIPULATING ANSI378 AND ISO19794-2 TEMPLATES ......................................................... 21 2.16. GETTING VERSION INFORMATION OF MINEX CERTIFIED ALGORITHM ............................... 23 CHAPTER 3. SECUGEN.FDXSDKPRO.WINDOWS REFERENCE ....................................... 24 3.1. SGFINGERPRINTMANAGER CLASS ............................................................................................ 24 3.2. SGFPMDEVICEINFOPARAM STRUCTURE .................................................................................. 35 3.3. SGFPMDEVICELIST STRUCT ........................................................................................................ 36 3.4. SGFPMFINGERINFO STRUCT ....................................................................................................... 36 3.5. SGFPMANSITEMPLATEINFO STRUCT ......................................................................................... 37 3.6. SGFPMDEVICENAME ENUMERATION ......................................................................................... 38 3.7. SGFPMPORTADDR ENUMERATION ............................................................................................. 38 3.8. SGFPMSECURITYLEVEL ENUMERATION ................................................................................... 38 3.9. SGFPMTEMPLATEFORMAT ENUMERATION ............................................................................... 38 FDx SDK Pro .NET Manual Windows, Win CE iii 3.10. SGFPMERROR ENUMERATION .................................................................................................. 39 3.11. SGFPMAUTOONEVENT ENUMERATION .................................................................................... 39 3.12. SGFPMMESSAGES ENUMERATION ........................................................................................... 40 3.13. SGFPMIMPRESSIONTYPE ENUMERATION ............................................................................... 40 3.14. SGFPMFINGERPOSITION ENUMERATION ................................................................................ 40
FDx SDK Pro .NET Manual Windows, Win CE iv Before You Begin Biometrics Overview Biometrics is a method of recognizing a person based on physical or behavioral characteristics. Biometric information that is used to identify people includes fingerprint, voice, face, iris, handwriting and hand geometry.
There are two key functions offered by a biometric system. One method is identification, a one-to-many (1:N) matching process in which a biometric sample is compared sequentially to a set of stored samples to determine the closest match. The other is verification, a one-to-one (1:1) matching process in which the biometric system checks previously enrolled data for a specific user to verify whether that individual is who he or she claims to be. The verification method provides the best combination of speed and security, especially where multiple users are concerned, and requires a user ID or other identifier for direct matching.
With an increasing reliance on online and mobile technology and other shared resources, more and more transactions of all types are initiated and completed online and remotely. This unprecedented growth in electronic transactions has underlined the need for a faster, more secure and more convenient method of user verification than passwords can provide. Using biometric identifiers offers advantages over traditional methods. This is because only biometric authentication is based on the identification of an intrinsic part of a human being. Tokens such as smart cards, magnetic stripe cards and physical keys, can be lost, stolen, duplicated or left behind. Passwords can be forgotten, shared, hacked or unintentionally observed by a third party. By eliminating these potential trouble spots, biometric technology can provide greater security, with convenience, needed for todays complex electronic landscape.
Advantages of Using Fingerprints
The advantages of using fingerprints include widespread public acceptance, convenience, and reliability. It takes little time and effort to acquire ones fingerprint with a fingerprint identification device, and so fingerprint recognition is considered among the least intrusive of all biometric verification techniques. Ancient officials used thumbprints to seal documents thousands of years ago, and law enforcement agencies have been using fingerprint identification since the late 1800s. Fingerprints have been used so extensively and for so long, there is a great accumulation of scientific data supporting the idea that no two fingerprints are alike. About SecuGen SecuGen (www.secugen.com) provides biometric solutions for physical and network security employing advanced fingerprint recognition technology. The companys comprehensive product line includes quality optical fingerprint sensors and peripherals, software, and development kits used for a variety of innovative applications including Internet, enterprise network and desktop security, physical access control, time and attendance management, and financial and medical records control. SecuGen patented products feature the industrys longest warranty and are renowned for their accuracy, reliability and versatility. Based in Silicon Valley, SecuGen has been serving the biometric community since 1998 and is an active member of the Biometrics Consortium, the International Biometrics Industry Association, and the BioAPI Consortium. FDx SDK Pro .NET Manual Windows, Win CE v About SecuGen Products SecuGen Sensor Qualities Excellent Image Quality: Clear, distortion-free fingerprint images are generated using advanced, patented optical methods. Quality imaging yields better sampling for minutiae data extraction. Durability: Mechanical strength tests show resistance to impact, shock and scratches. Powerful Software: Precise, fast processing algorithm ensures efficiency and reliability. Ruggedness and Versatility: Solid engineering and superior materials allows for use under extreme conditions. Ergonomic Design: Compact, modular design for seamless integration into small devices, ease of use, and compatibility make it ideal for a broad range of applications. Low Cost: Products are developed to deliver high performance, zero maintenance at very affordable prices for general and industrial use.
Advantages of SecuGen Sensors Over Other Optical Sensors Unique optical method captures fine details, even from dry skin Extremely low image-distortion Reinforced materials Wear resistance Attractively small size Ease of integration Ready-to-use Low cost through longer life and no maintenance requirements
Advantages SecuGen Sensors Over Semiconductor (Capacitive) Sensors Non-metal, non-silicon components make it less susceptible to corrosion when exposed to salts, oil and moisture from skin and environment Superior surface properties eliminate need for costly coating and processing procedures Greater mechanical strength, wear-resistance, and durability Broader range of applicability, especially for use in extreme conditions and climates Immunity from electrostatic discharge Low cost through longer life and no maintenance requirements
Strengths of SecuGen Software and Algorithms Unique image processing algorithm extracts fingerprint minutiae very accurately High signal-to-noise ratio processing algorithm screens out false features Highly efficient matching algorithm Fast overall process of extraction, matching and verification Encryption function to protect user privacy Compatibility with existing desktop, laptop PCs interface computers Ease in developing applications for various purposes FDx SDK Pro .NET Manual - Windows, Win CE Chapter 1. Overview 6 Chapter 1. Overview FDx SDK Pro provides a .NET assembly (SecuGen.FDxSDKPro.Windows.dll) for .NET developers to use SecuGen technology in a .NET framework.
Programming with SecuGens .NET library is easy. The inclusion of fingerprint reader control, extraction, and matching algorithms in the SDK allows programmers to build biometric applications quickly and easily. All fingerprint functionality provided by the SDK is called through SecuGen.FDxSDKPro.Windows.dll and is accessed through the SGFingerPrintManager class.
1.1. System Requirements Developers Environment Windows Windows 7, 8, 8.1 / Vista / XP / 2000, Windows Server 2012 / 2008 R2 / 2003 .NET framework SDK 2.0 or above
Windows CE Microsoft Visual Studio 2005 or above .NET Compact Framework 1.0 or above
Run-time Environment Windows Windows 7, 8, 8.1 / Vista / XP / 2000, Windows Server 2008 R2 / 2003 .NET framework 2.0 or above
Windows CE Windows CE.NET 4.2, Windows CE 5.0/6.0, Windows Mobile 5.0/6.0 .NET Compact Framework 1.0 or above
SecuGen USB readers capture and digitize fingerprint images. The host system then retrieves the image through its USB port for subsequent processing. All SecuGen USB readers, except for those based on FDU01 sensors, are supported in this SDK.
1.2. Assembl y Windows SecuGen.FDxSDKPro.Windows.dll
Windows CE SecuGen.FDxSDKPro.WindowsCE.dll
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 1. Overview 7 1.3. Namespaces This namespace contains the SecuGen Fingerprint Management class that supports the .NET Framework
Windows SecuGen.FDxSDKPro.Windows
Windows CE SecuGen.FDxSDKPro.WindowsCE
1.4. Runtime files The SecuGen .NET Library (SecuGen.FDxSDKPro.Windows.dll or SecuGen.FDxSDKPro.WindowsCE.dll on Windows CE) calls sgfplib.dll. To distribute or execute a .NET application using the SecuGen .NET Library, the following files are required.
sgfplib.dll Main module sgfpamx.dll Fingerprint algorithm module for extraction & matching (MINEX Certified)
For more information, refer to the separate document FDx SDK Pro Programming Manual.
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 8 Chapter 2. Programming All SDK functions are implemented as members of the SGFingerPrintManager class. This chapter explains how to use the SGFingerPrintManager class to integrate SecuGen fingerprint technology into .NET applications.
2.1. Creating SGFingerPrintManager Object In order to use the SecuGen .NET component, the SGFingerPrintManager object must first be instantiated. This is done by calling the SGFingerPrintManager() constructor.
[C#] pr i vat e SGFi nger Pr i nt Manager m_FPM; / / member var i abl e
m_FPM = new SGFi nger Pr i nt Manager ( ) ;
[VB.NET] Di mm_FPM As SGFi nger Pr i nt Manager ' member var i abl e
m_FPM = New SGFi nger Pr i nt Manager ( )
2.2. Initializing SGFingerPrintManager Object If an SGFingerPrintManager object is created, it should be initialized using Init(SGFPMDeviceName devName) or Init(Int32 width, Int32 height, Int32 dpi). Init(SGFPMDeviceName devName) takes the device name, loads the driver that corresponds to the device name, and initializes the fingerprint algorithm module based on device information. Init (Int32 imageWidth, Int32 imageHeight, Int32 dpi) takes image information to initialize fingerprint algorithm module. It does not load device driver.
Initiailize SGFingerPrintManage with device name
The Init(SGFPMDeviceName devName) function takes a device name as a parameter. Based on the device name, the SGFingerPrintManager loads the required device driver module and initialize extraction module and matching module based on device information. The following table summarizes the relationships between device type, device name, loaded device driver, and initial image size when the Init(SGFPMDeviceName devName) function is called.
Device Type Device Name Value Device Driver Image Size (pixels) FDP02-based SGFPMDeviceName.DEV_FDP02 1 Parallel device driver 260*300 FDU02-based SGFPMDeviceName.DEV_FDU02 3 USB FDU02 driver 260*300 FDU03 / SDU03-based SGFPMDeviceName.DEV_FDU03 4 USB FDU03 / SDU03 driver 260*300 FDU04 / SDU04-based SGFPMDeviceName.DEV_FDU04 5 USB FDU04 / SDU04 driver 258*336 U20-based SGFPMDeviceName.DEV_FDU05 6 USB U20 driver 300*400
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 9 [C#] pr i vat e SGFi nger Pr i nt Manager m_FPM; / / member var i abl e
SGFPMDevi ceName devi ce_name = SGFPMDevi ceName. DEV_FDU02; m_FPM = new SGFi nger Pr i nt Manager ( devi ce_name) ;
[VB.NET] Di mm_FPM As SGFi nger Pr i nt Manager ' member var i abl e
Di mdevi ce_name As SGFPMDevi ceName devi ce_name = SGFPMDevi ceName. DEV_FDU02
m_FPM = New SGFI NGERPRI NTMANAGER( devi ce_name)
Initiailize SGFingerPrintManager without device In some applications, you may need to use the SGFingerPrintManager class without a SecuGen reader installed on the system. In this case, you can use the overload InitEx (Int32 imageWidth, Int32 imageHeight, Int32 dpi). It takes image width, image height and resolution as parameters. If this function is called for initializing SGFingerPrintManager, the SGFingerPrintManager class does not load the device driver.
[ C#] pr i vat e SGFi nger Pr i nt Manager m_FPM; / / member var i abl e
I nt 32 i mage_wi dt h = 260; I nt 32 i mage_hei ght = 300; I nt 32 i mage_dpi = 500;
m_FPM = new SGFi nger Pr i nt Manager ( ) ; er r = m_FPM. I ni t Ex( i mage_wi dt h, i mage_hei ght , i mage_dpi ) ;
[ VB. NET] Di mm_FPM As SGFi nger Pr i nt Manager ' member var i abl e
Di mi mage_wi dt h As I nt 32 Di mi mage_hei ght As I nt 32 Di mi mage_dpi As I nt 32
i mage_wi dt h = 260 i mage_hei ght = 300 i mage_dpi = 500
m_FPM = New SGFi nger Pr i nt Manager ( ) er r = m_FPM. I ni t ( i mage_wi dt h, i mage_hei ght , i mage_dpi )
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 10 2.3. Opening the SecuGen Fingerprint Reader To use a SecuGen fingerprint reader, the reader must first be initialized by calling the OpenDevice() method.
The portAddr can have different meanings depending on which type of fingerprint reader is used.
For USB readers, portAddr represents the device ID. If only one USB fingerprint reader is connected to the PC, the device ID will have the value 0. If multiple USB fingerprint readers are connected to one PC, portAddr can range from 0 to 9. The maximum number of SecuGen USB readers that can be connected to one PC is 10.
For Parallel readers, portAddr is the actual parallel port address. Generally, if portAddr is 0 (AUTO_DETECT), the device driver will find the port address automatically.
In general, if only one USB reader is connected to the PC, then SGFPMPortAddr.USB_AUTO_DETECT is recommended.
USB Readers: Values used in PortAddr parameter
PortAddr Value Description SGFPMPortAddr.USB_AUTO_DETECT 0x255 Detect device automatically 0 9 0 9 Device ID 0 9
Parallel Readers: Values used in PortAddr parameter
PortAddr Value Description SGFPMPortAddr.AUTO_DETECT 0 Detect port address automatically SGFPMPortAddr.LPT1_378 0x378 Port address 0x378 SGFPMPortAddr.LPT1_278 0x278 Port address 0x278 SGFPMPortAddr.LPT1_3BC 0x3BC Port address 0x3BC
[C#] I nt 32 por t _addr ;
por t _addr = SGFPMPor t Addr . USB_AUTO_DETECT;
i Er r or = m_FPM. OpenDevi ce( por t _addr ) ; i f ( i Er r or == ( I nt 32) SGFPMEr r or . ERROR_NONE) St at usBar . Text = "I ni t i al i zat i on Success"; el se St at usBar . Text = "OpenDevi ce( ) Er r or : " + i Er r or ;
[VB.NET] Di mpor t _addr As I nt 32
por t _addr = SGFPMPor t Addr . USB_AUTO_DETECT; i Er r or = m_FPM. OpenDevi ce( por t _addr )
I f ( i Er r or = SGFPMEr r or . ERROR_NONE) Then St at usBar . Text = "I ni t i al i zat i on Success" El se St at usBar . Text = "OpenDevi ce( ) Er r or : " + Conver t . ToSt r i ng( i Er r or ) End I f FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 11 2.4. Getting Device Information Device information can be retrieved by calling the GetDeviceInfo() method, which obtains required device information such as image height and width.
[C#] SGFPMDevi ceI nf oPar ampI nf o = new SGFPMDevi ceI nf oPar am( ) ; pI nf o = new SGFPMDevi ceI nf oPar am( ) ; I nt 32 i Er r or = m_FPM. Get Devi ceI nf o( pI nf o) ;
i f ( i Er r or == ( I nt 32) SGFPMEr r or . ERROR_NONE) { / / Thi s shoul d be done Get Devi ceI nf o( ) ; m_I mageWi dt h = pI nf o. I mageWi dt h; m_I mageHei ght = pI nf o. I mageHei ght ; }
[VB.NET] Di mpI nf o As SGFPMDevi ceI nf oPar am Di mi Er r or As I nt 32
pI nf o = New SGFPMDevi ceI nf oPar am i Er r or = m_FPM. Get Devi ceI nf o( pI nf o)
I f ( i Er r or = SGFPMEr r or . ERROR_NONE) Then m_I mageWi dt h = pI nf o. I mageWi dt h m_I mageHei ght = pI nf o. I mageHei ght End I f
2.5. Capturing a Fingerprint Image After the reader is initialized, a fingerprint image can be captured using the GetImage() method. The captured fingerprint is a 256 gray-level image, and image width and height can be retrieved using the GetDeviceInfo() method. The image buffer should be allocated by the host application before calling this GetImage() method. There are 2 types of image capturing functions-GetImage() and GetImageEx().
GetImage() captures an image without checking for the presence of a finger or checking image quality. GetImageEx() captures fingerprint images continuously, checks the image quality against a specified quality value, and ignores the image if it does not contain a fingerprint or if the quality of the fingerprint is not acceptable. If a quality image is captured within the given time (the second parameter), GetImageEx() ends its processing.
GetImage() Example [C#] Byt e[ ] f p_i mage = new Byt e[ m_I mageWi dt h*m_I mageHei ght ] ;
I nt 32 i Er r or ; i Er r or = m_FPM. Get I mage( f p_i mage) ;
i f ( i Er r or == ( I nt 32) SGFPMEr r or . ERROR_NONE) { Dr awI mage( f p_i mage, pi ct ur eBox1 ) ; } FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 12 el se St at usBar . Text = "Get I mage( ) Er r or : " + i Er r or ;
[VB.NET] Di mf p_i mage( ) As Byt e Di mi Er r or As I nt 32
ReDi mf p_i mage( m_I mageWi dt h * m_I mageHei ght ) i Er r or = m_FPM. Get I mage( f p_i mage)
I f ( i Er r or = SGFPMEr r or . ERROR_NONE) Then Dr awI mage( f p_i mage, pi ct ur eBox1) El se St at usBar . Text = "Get I mage( ) Er r or : " + Conver t . ToSt r i ng( i Er r or ) End I f
GetImageEx() Example [C#] I nt 32 i Er r or ; I nt 32 t i meout = 10000; I nt 32 qual i t y = 80;
Byt e[ ] f p_i mage = new Byt e[ m_I mageWi dt h*m_I mageHei ght ] ;
i Er r or = m_FPM. Get I mageEx( f p_i mage, t i meout , t hi s. pi ct ur eBox1. Handl e. ToI nt 32( ) , qual i t y) ;
[VB.NET] Di mf p_i mage( ) As Byt e Di mi Er r or As I nt 32 Di mt i meout As I nt 32 Di mqual i t y As I nt 32
i Er r or = m_FPM. Get Li veEx( f p_i mage, t i meout , pi ct ur eBox1. Handl e. ToI nt 32( ) , qual i t y)
I f ( i Er r or = SGFPMEr r or . ERROR_NONE) Then ' El se St at usBar . Text = "Get I mage( ) Er r or : " + Conver t . ToSt r i ng( i Er r or ) End I f
2.6. Getting Image Quality To determine the fingerprint image quality, use GetImageQuality(). GetImageQuality does not only check image quality and also minutiae quality.
[C#] m_FPM. Get I mageQual i t y( m_I mageWi dt h, m_I mageHei ght , f p_i mage, r ef i mg_ql t y) ; i f ( i mg_ql t y < 80) FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 13 / / Capt ur e agai n
[VB.NET] m_FPM. Get I mageQual i t y( m_I mageWi dt h, m_I mageHei ght , f p_i mage, i mg_ql t y) I f i mg_ql t y < 80 t hen ' Capt ur e agai n
2.7. Controlling Brightness Depending on the fingerprint reader used, environmental factors, and the specifications of the host system, the brightness of a fingerprint image may vary. To improve the quality of a captured image, the image brightness should be adjusted by controlling the brightness setting of the reader using Configure() or SetBrightness(). Using Configure() presents a built-in dialog box in the driver from which the user can easily adjust brightness and receive instant feedback from the fingerprint image displayed. SetBrightness() can also be used to control brightness of the reader. Brightness default values vary among the different types of SecuGen readers.
SetBrightness () Example [C#] i Er r or = m_FPM. Set Br i ght ness( 70) ;
[VB.NET] i Er r or = m_FPM. Set Br i ght ness( 70)
Configure() Example [C#] i Er r or = m_FPM. Conf i gur e( ) ;
[VB.NET] i Er r or = m_FPM. Conf i gur e( )
2.8. Creating a Template To register or verify a fingerprint, a fingerprint image is first captured, and then feature data (minutiae) is extracted from the image into a template. Minutiae are the unique core points near the center of every fingerprint, such as ridges, ridge endings, bifurcations, valleys, and whorls.
Use CreateTemplate() to extract minutiae from a fingerprint image to form a template. The buffer should be assigned by the application. To get the buffer size of the minutiae, call GetMaxTemplateSize(). It will return the maximum buffer size for data in one template. The actual template size can be obtained by calling GetTemplateSize() after the template is created. The CreateTemplate() API creates only one set of data from an image.
Note: Templates having the ANSI378 format may be merged. For more refer to Section 2.15 Manipulating ANSI378 Templates)
[C#] Byt e[ ] f p_i mage = new Byt e[ m_I mageWi dt h*m_I mageHei ght ] ; I nt 32 i Er r or = m_FPM. Get I mage( f p_i mage) ;
i Er r or = m_FPM. Cr eat eTempl at e( f p_i mage, m_RegMi n1) ;
[VB.NET] Di mf p_i mage( ) As Byt e FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 14
i Er r or = m_FPM. Get I mage( f p_i mage) i Er r or = m_FPM. Cr eat eTempl at e ( f p_i mage, m_RegMi n1)
When templated is created, template information such as fingerprint position and view number can be inserted into a template. To insert a template information, use CreateTemplate(SGFPMFingerInfo* fingerInfo, Byte rawImage[], Byte minTemplate[])
[C#] SGFPMFi nger I nf o f i nger _i nf o = new SGFPMFi nger I nf o( ) ; f i nger _i nf o. Fi nger Number = SGFPMFi nger Posi t i on. FI NGPOS_RT; f i nger _i nf o. I mageQual i t y = ( I nt 16) i mg_ql t y; f i nger _i nf o. I mpr essi onType = ( I nt 16) SGFPMI mpr essi onType. I MPTYPE_LP; f i nger _i nf o. Vi ewNumber = 1;
er r or = m_FPM. Cr eat eTempl at e( f i nger _i nf o, f p_i mage, m_RegMi n2) ;
2.9. Matching Templates Templates are matched during both registration and verification processes. During registration, it is recommended to capture at least two image samples per fingerprint for a higher degree of accuracy. The minutiae data from each image sample can then be compared against each other (i.e. matched) to confirm the quality of the registered fingerprints. This comparison is analogous to a password confirmation routine that is commonly required for entering a new password.
During verification, newly input minutiae data is compared against registered minutiae data. Similar to the registration process, verification requires the capture of a fingerprint image followed by extraction of the minutiae data from the captured image into a template. The security level can be adjusted according to the type of application. For example, the security level for an application using fingerprint-only authentication can be set higher than SGFPMSecurityLevel.Normal to reduce false acceptance (FAR).
To match templates, the FDx SDK Pro provides three kinds of matching functions. Each function requires two sets of template data for matching.
MatchTemplate(): This function matches templates having the same format as the default format. When calling this function, each template should include only one sample (or view) per template. The default format is SG400 (SecuGen proprietary format) but can be changed by calling SetTemplateFormat(). For more information about template formats, refer to Section 2.14 Template Format. MatchTemplateEx(): This function can match templates having different template formats. This function can also specify the template format for each template and can match templates that have multiple views per template. MatchAnsiTemplate(): This function is the same as MatchTemplateEx() except that it supports only ANSI378 templates.
Function Template Format Can match templates with different formats? MatchTemplate SG400 (System default) No MatchTemplateEx Specified template format Yes MatchAnsiTemplate ANSI378 No MatchIsoTemplate ISO19794-2 No
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 15 MatchTemplate() Example [C#] I nt 32 i Er r or ; bool mat ched = f al se; SGFPMSecur i t yLevel secu_l evel = SGFPMSecur i t yLevel . Nor mal ; / / Adj ust t hi s val ue accor di ng t o appl i cat i on t ype
i Er r or = m_FPM. Mat chTempl at e( m_RegMi n1, m_RegMi n2, secu_l evel , r ef mat ched) ;
[VB.NET] Di mi Er r or As I nt 32 Di mmat ched As Bool ean Di msecu_l evel As SGFPMSecur i t yLevel
secu_l evel = SGFPMSecur i t yLevel . Nor mal i Er r or = m_FPM. Mat chTempl at e( m_RegMi n1, m_RegMi n2, secu_l evel , mat ched)
MatchAnsiTemplate () Example [C#] I nt 32 i Er r or ; bool mat ched = f al se; SGFPMSecur i t yLevel secu_l evel = SGFPMSecur i t yLevel . Nor mal ; / / Adj ust t hi s val ue accor di ng t o appl i cat i on t ype
i Er r or = m_FPM. Mat chAnsi Templ at e( m_RegMi n1, 0, m_RegMi n2, 0, secu_l evel , r ef mat ched) ;
[VB.NET] Di mi Er r or As I nt 32 Di mmat ched As Bool ean Di msecu_l evel As SGFPMSecur i t yLevel
secu_l evel = SGFPMSecur i t yLevel . Nor mal Adj ust t hi s val ue accor di ng t o appl i cat i on t ype
i Er r or = m_FPM. Mat chAnsi Templ at e( m_RegMi n1, 0, m_RegMi n2, 0, secu_l evel , mat ched)
MatchTemplateEx() Example [C#] I nt 32 i Er r or ; bool mat ched = f al se; SGFPMSecur i t yLevel secu_l evel = SGFPMSecur i t yLevel . Nor mal ; / / Adj ust t hi s val ue accor di ng t o appl i cat i on t ype
i Er r or = m_FPM. Mat chTempl at eEx( m_RegMi n1, SGFPMTempl at eFor mat . SG400, 0, m_RegMi n2, SGFPMTempl at eFor mat . ANSI 378, 0, secu_l evel , r ef mat ched) ;
[VB.NET] Di mi Er r or As I nt 32 Di mmat ched As Bool ean Di msecu_l evel As SGFPMSecur i t yLevel
secu_l evel = SGFPMSecur i t yLevel . Nor mal Adj ust t hi s val ue accor di ng t o appl i cat i on t ype i Er r or = m_FPM. Mat chTempl at eEx( m_RegMi n1, SGFPMTempl at eFor mat . SG400, 0, m_RegMi n2, SGFPMTempl at eFor mat . ANSI 378, 0, secu_l evel , mat ched)
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 16 2.10. Registration process To register a fingerprint, a fingerprint image is first captured, and then feature data (minutiae) is extracted from the image into a template. It is recommended to capture at least two image samples per fingerprint for a higher degree of accuracy. The minutiae data from each image can then be compared against each other (i.e. matched) to confirm the quality of the registered fingerprints. This comparison is analogous to a password confirmation routine that is commonly required for entering a new password.
Overview of Registration Process
1. Capture fingerprint images: GetImage() or GetImageEx() 2. Extract minutiae from each captured fingerprint image: CreateTemplate() 3. Match each template to determine if they are acceptable for registration: MatchTemplate() 4. Save templates to file or database for future use
Example: Using two fingerprint images to register one fingerprint [C#] I nt 32 max_t empl at e_si ze = 0; m_FPM. Get MaxTempl at eSi ze( r ef max_t empl at e_si ze) ;
Byt e[ ] m_RegMi n1 = new Byt e[ max_t empl at e_si ze] ; Byt e[ ] m_RegMi n2 = new Byt e[ max_t empl at e_si ze] ; Byt e[ ] f p_i mage = new Byt e[ m_I mageWi dt h*m_I mageHei ght ] ;
/ / Get 1st sampl e m_FPM. Get I mage( f p_i mage) ; m_FPM. Cr eat eTempl at e( f p_i mage, m_RegMi n1) ;
/ / Get 2nd sampl e i Er r or =m_FPM. Get I mage( f p_i mage) ; i Er r or = m_FPM. Cr eat eTempl at e( f p_i mage, m_RegMi n2) ;
/ / Mat ch f or r egi st r at i on bool mat ched = f al se; SGFPMSecur i t yLevel secu_l evel = SGFPMSecur i t yLevel . Nor mal ;
i Er r or = m_FPM. Mat chTempl at e( m_RegMi n1, m_RegMi n2, secu_l evel , r ef mat ched) ;
/ / i f mat ched, save mi nut i ae dat a t o f i l e or dat abase
[VB.NET] Di mmax_t empl at e_si ze As I nt 32 Di mf p_i mage( ) As Byt e Di mmat ched As Bool ean Di msecu_l evel As SGFPMSecur i t yLevel
Get 1st sampl e m_FPM. Get I mage( f p_i mage) m_FPM. Cr eat eTempl at e( f p_i mage, m_RegMi n1)
Get 2nd sampl e FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 17 m_FPM. Get I mage( f p_i mage) m_FPM. Cr eat eTempl at e( f p_i mage, m_RegMi n2)
Mat ch f or r egi st r at i on secu_l evel = SGFPMSecur i t yLevel . Nor mal
m_FPM. Mat chTempl at e( m_RegMi n1, m_RegMi n2, secu_l evel , mat ched)
2.11. Verification Process The verification process involves matching newly input minutiae data against registered minutiae data. Similar to the registration process, verification requires the capture of a fingerprint image followed by extraction of the minutiae data from the captured image into a template.
Overview of Verification Process
1. Capture fingerprint image: GetImage() or GetImageEx() 2. Extract minutiae data from captured image: CreateTemplate() 3. Match newly made template against registered templates: MatchTemplate(), MatchTemplateEx(), MatchAnsiTemplate()
- Adjust the security level according to the type of application. For example, if fingerprint-only authenticaion is used, the security level can be set higher than SGFPMSecurityLevel.Normal to reduce false acceptance (FAR).
Example: Input minutiae data is matched against two registered minutiae data samples [C#] I nt 32 i Er r or ; Byt e[ ] f p_i mage = new Byt e[ m_I mageWi dt h*m_I mageHei ght ] ; SGFPMSecur i t yLevel secu_l evel = SGFPMSecur i t yLevel . Nor mal ; / / Adj ust t hi s val ue accor di ng t o appl i cat i on t ype bool mat ched1 = f al se; bool mat ched2 = f al se;
/ / St ep 1: Capt ur e I mage m_FPM. Get I mage( f p_i mage) ;
/ / St ep 2: Cr eat e Templ at e m_FPM. Cr eat eTempl at e( f p_i mage, m_Vr f Mi n) ;
/ / St ep 3: Mat ch f or ver i f i cat at i on agai nst r egi st er ed t empl at e- m_RegMi n1, m_RegMi n2 i Er r or = m_FPM. Mat chTempl at e( m_RegMi n1, m_Vr f Mi n, secu_l evel , r ef mat ched1) ; i Er r or = m_FPM. Mat chTempl at e( m_RegMi n2, m_Vr f Mi n, secu_l evel , r ef mat ched2) ;
i f ( i Er r or == ( I nt 32) SGFPMEr r or . ERROR_NONE) { i f ( mat ched1 & mat ched2) St at usBar . Text = "Ver i f i cat i on Success"; el se St at usBar . Text = "Ver i f i cat i on Fai l ed"; } el se St at usBar . Text = "Mat chTempl at e( ) Er r or : " + i Er r or ; FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 18
[VB.NET] Di mi Er r or As I nt 32 Di mf p_i mage( ) As Byt e Di mmat ched1 As Bool ean Di mmat ched2 As Bool ean Di msecu_l evel As SGFPMSecur i t yLevel
' St ep 1: Capt ur e I mage i Er r or = m_FPM. Get I mage( f p_i mage)
' St ep 2: Cr eat e Templ at e i Er r or = m_FPM. Cr eat eTempl at e( f p_i mage, m_Vr f Mi n)
' St ep 3: Mat ch f or ver i f i cat at i on agai nst r egi st er ed t empl at e- m_RegMi n1, m_RegMi n2 secu_l evel = SGFPMSecur i t yLevel . Nor mal Adj ust t hi s val ue accor di ng t o appl i cat i on t ype i Er r or = m_FPM. Mat chTempl at e( m_RegMi n1, m_Vr f Mi n, secu_l evel , mat ched1) i Er r or = m_FPM. Mat chTempl at e( m_RegMi n2, m_Vr f Mi n, secu_l evel , mat ched2)
I f ( i Er r or = SGFPMEr r or . ERROR_NONE) Then I f ( mat ched1 And mat ched2) Then St at usBar . Text = "Ver i f i cat i on Success" El se St at usBar . Text = "Ver i f i cat i on Fai l ed" End I f
El se St at usBar . Text = "Mat chTempl at e( ) Er r or : " + Conver t . ToSt r i ng( i Er r or ) End I f
2.12. Getting Matching Score For improved quality control during the registration or verification process, a matching score can be used instead of a security level setting to determine the success of the operation. The matching score can be specified so that only sets of minutiae data that exceed the score will be accepted; data below the score will be rejected. The matching score may have a value from 0 to 199. GetMatchingScore() requires two sets of minutiae data of the same template format. GetMatchingScoreEx() requires two sets of minutiae data, but they can take different template formats. For more information about template formats, refer to Section 2.14 Template Format. For more information about GetMatchingScoreEx(), refer to Section 3.1.2. Methods - Matching Functions.
[C#] I nt 32 mat ch_scor e = 0; m_FPM. Get Mat chi ngScor e( m_RegMi n1, m_RegMi n2, r ef mat ch_scor e) ;
[VB.NET] Di mmat ch_scor e As I nt 32
mat ch_scor e = 0 FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 19 m_FPM. Get Mat chi ngScor e( m_RegMi n1, m_RegMi n2, mat ch_scor e)
To understand how the matching scores correlate with typical security levels, refer to the following chart. For more information about security levels, refer to Section 3.1.2. Methods - Matching Functions.
Security Level vs. Corresponding Matching Score
SGFPMSecurityLevel Value Corresponding Matching Score NONE 0 0 LOWEST 1 30 LOWER 2 50 LOW 3 60 BELOW_NORMAL 4 70 NORMAL 5 80 ABOVE_NORMAL 6 90 HIGH 7 100 HIGHER 8 120 HIGHEST 9 140 Note: As of version 3.53 of FDx SDK Pro, the Corresponding Matching Scores have changed. 2.13. Using Auto-On Auto-On is a function that allows the reader to automatically detect the presence of a finger without requiring the user to prompt the system before receiving a fingerprint. To use this function, Auto-On should be enabled using EnableAutoOnEvent(). Once Auto-On is enabled, the application can receive a message from the device driver whenever an Auto-On event occurs in the reader.
When calling EnableAutoOnEvent(), pass the handle of the window which will receive the Auto-On message. The Auto-On message is defined as 0x8100 (FDxMessage.DEV_AUTOONEVENT).
Note: Auto-On is not supported by FDU02-based readers.
Enabling Auto-On [C#] m_FPM. Enabl eAut oOnEvent ( t r ue, ( i nt ) t hi s. Handl e) ; [ VB. NET] m_FPM. Enabl eAut oOnEvent ( Tr ue, Me. Handl e. ToI nt 32( ) )
Disabling Auto-On [C#] m_FPM. Enabl eAut oOnEvent ( f al se, 0) ;
[ VB. NET] m_FPM. Enabl eAut oOnEvent ( Fal se, 0)
Handling Auto-On event in application [C#] pr ot ect ed over r i de voi d WndPr oc( r ef Message message) { i f ( message. Msg == ( i nt ) SGFPMMessages. DEV_AUTOONEVENT) { i f ( message. WPar am. ToI nt 32( ) == ( I nt 32) SGFPMAut oOnEvent . FI NGER_ON) St at usBar . Text = "Devi ce Message: Fi nger On"; FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 20 el se i f ( message. WPar am. ToI nt 32( ) == ( I nt 32) SGFPMAut oOnEvent . FI NGER_OFF) St at usBar . Text = "Devi ce Message: Fi nger Of f "; } base. WndPr oc( r ef message) ; }
[VB.NET] Pr ot ect ed Over r i des Sub WndPr oc( ByRef msg As Message) I f ( msg. Msg = SGFPMMessages. DEV_AUTOONEVENT) Then I f ( msg. WPar am. ToI nt 32( ) = SGFPMAut oOnEvent . FI NGER_ON) Then St at usBar . Text = "Devi ce Message: Fi nger On" El seI f ( msg. WPar am. ToI nt 32( ) = SGFPMAut oOnEvent . FI NGER_OFF) Then St at usBar . Text = "Devi ce Message: Fi nger Of f " End I f End I f
MyBase. WndPr oc( msg) End Sub
2.14. Template Format The FDx SDK Pro supports three types of fingerprint template formats: SecuGens proprietary template format ( SG400 ) ANSI-INCITS 378-2004 "Finger Minutiae Format for Data Exchange" ( ANSI378 ) ISO/IEC 19794-2:2005 "Biometric Data Interchange Formats-- Finger Minutiae Data" ( ISO19794-2 )
As default, SGFingerPrintManager creates SecuGen proprietary templates (SG400). To change the template format, use SetTemplateFormat().
SG400 templates are encrypted for high security and have a size of 400 bytes. ANSI378 and ISO19794-2 templates are not encrypted, and their size is variable depending on how many fingers are in the structure and how many minutiae points are found.
For more information about the ANSI378 template, refer to the standard document titled Information technology - Finger Minutiae Format for Data Interchange, (document number ANSI-INCITS 378-2004) available at the ANSI website http://webstore.ansi.org.
For more information about the ISO19794-2 template, refer to the standard document titled Information technology-- Biometric Data Interchange Formats--Part 2: Finger Minutiae Data, (document number ISO / IEC 19794-2:2005) available at the ISO website www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=38746.
Template format
SGFPMTemplateFormat Value Descriptions ANSI378 0x0100 SecuGen Proprietary template format SG400 0x0200 ANSI-INCITS 378-2004 format ISO19794 0x0300 ISO/IEC 19794-2:2005 format
Setting template format to ANSI378 [C#] m_FPM. Set Templ at eFor mat ( SGFPMTempl at eFor mat . ANSI 378) ;
FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 21 [VB.NET] m_FPM. Set Templ at eFor mat ( SGFPMTempl at eFor mat . ANSI 378) ;
Setting template format to ISO19794-2 [C#] m_FPM. Set Templ at eFor mat ( SGFPMTempl at eFor mat . I SO19794) ;
[VB.NET] m_FPM. Set Templ at eFor mat ( SGFPMTempl at eFor mat . I SO19794) ;
Setting template format to SG400 [C#] m_FPM. Set Templ at eFor mat ( m_SGFPMTempl at eFor mat . SG400) ;
[VB.NET] m_FPM. Set Templ at eFor mat ( m_SGFPMTempl at eFor mat . SG400)
The following functions are affected by SetTemplateFormat(): - GetMaxTemplateSize() - CreateTemplate() - GetTemplateSize() - MatchTemplate() - GetMatchingScore()
The following APIs work only when the template format is ANSI378: - GetTemplateSizeAfterMerge() - MergeAnsiTemplate() - MergeMultipleAnsiTemplate() - GetAnsiTemplateInfo() - MatchAnsiTemplate() - GetAnsiMatchingScore()
The following APIs work with any template format: - MatchTemplateEx() - GetMatchingScoreEx()
2.15. Manipulating ANSI378 and ISO19794-2 Templates The ANSI378 and ISO19794-2 template formats allow multiple fingers and multiple views per finger to be stored in a single template. To support this feature, FDx SDK Pro provides the following special APIs:
For ISO19794-2 Templates: - GetIsoTemplateSizeAfterMerge() - MergeIsoTemplate() FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 22 - MergeMultipleIsoTemplate() - GetIsoTemplateInfo() - MatchIsoTemplate() - GetIsoMatchingScore()
Merging two ANSI378 templates After creating an ANSI378 template from a fingerprint image, additional ANSI378 templates can be merged into one template. To do this, use MergeAnsiTemplate(), which takes two ANSI378 templates and merges them into one template. The merged template size will be less than the sum of the sizes of all input templates. Call GetTemplateSizeAfterMerge() to obtain the exact template size of the merged template before using MergeAnsiTemplate().
[C#] / / Get f i r st f i nger pr i nt i mage and cr eat e t empl at e f r omt he i mage er r = Get I mageEx( m_I mgBuf ) ; er r = Cr eat eTempl at e( m_I mgBuf , m_ RegMi n1) ;
/ / Get second f i nger pr i nt i mage and cr eat e t empl at e f r omt he i mage er r = Get I mageEx( m_I mgBuf ) ; er r = Cr eat eTempl at e( m_I mgBuf , m_ RegMi n2) ;
Byt e[ ] mer ged_t empl at e; I nt 32 buf _si ze = 0;
m_FPM. Get Templ at eSi zeAf t er Mer ge( m_RegMi n1, m_RegMi n2, r ef buf _si ze) ; mer ged_t empl at e = new Byt e[ buf _si ze] ; m_FPM. Mer geAnsi Templ at e( m_RegMi n1, m_RegMi n2, mer ged_t empl at e) ;
Getting information about an ANSI378 template The ANSI378 template format allows multiple fingers and multiple views per finger to be stored in one template. To match one sample (view) against a sample in other template, information about the template may be needed. To get sample information about a template, use GetAnsiTemplateInfo().
[C#] I nt 32 er r ; SGFPMFi nger Posi t i on f i nger _pos = SGFPMFi nger Posi t i on. FI NGPOS_UK; bool f i nger _f ound = f al se;
SGFPMANSI Templ at eI nf o sampl e_i nf o = new SGFPMANSI Templ at eI nf o( ) ; er r = m_FPM. Get Ansi Templ at eI nf o( m_St or edTempl at e, sampl e_i nf o) ;
f or ( i nt i = 0; i < sampl e_i nf o. Tot al Sampl es; i ++) { bool mat ched = f al se; er r = m_FPM. Mat chAnsi Templ at e( m_St or edTempl at e, i , m_Vr f Mi n, 0, m_Secur i t yLevel , r ef mat ched) ; i f ( mat ched) { f i nger _f ound = t r ue; f i nger _pos = ( SGFPMFi nger Posi t i on) sampl e_i nf o. Sampl eI nf o[ i ] . Fi nger Number ; br eak; } } FDx SDK Pro .NET Manual - Windows, Win CE Chapter 2. Programming 23
i f ( er r == ( I nt 32) SGFPMEr r or . ERROR_NONE) { i f ( f i nger _f ound) St at usBar . Text = "The mat ched dat a f ound. Fi nger posi t i on: " + f i nger pos_st r [ ( I nt 32) f i nger _pos] ; el se St at usBar . Text = "Cannot f i nd a mat ched dat a"; } el se St at usBar . Text = "Mat chAnsi Templ at e( ) Er r or : " + er r ;
}
2.16. Getting Version Information of MINEX Certified Al gorithm To obtain version information about the MINEX Certified algorithms, use GetMinexVersion(). Currently, the extractor version number is 0x000A0035, and the matcher version number is 0x000A8035.
[C#] I nt 32 ext r act or = 0 I nt 32 mat cher = 0; er r = m_FPM. Get Mi nexVer si on( r ef ext r act or , r ef mat cher ) ;
FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 24 Chapter 3. SecuGen.FDxSDKPro.Windows Reference 3.1. SGFingerPrintManager Class Name Space: SecuGen.FDxSDKPro.Windows Assembl y Name: SecuGen.FDxSDKPro.Windows.dll
3.1.1. Constructor SGFingerPrintManager() Creates a new instance of the SGFingerPrintManager class. This constructor takes the device name or device type as an argument.
3.1.2. Methods 3.1.2.1. Initialization Functions Int32 Init(SGFPMDeviceName deviceName) Initializes the SGFingerPrintManager with deviceName. Loads device driver with device name and initializes algorithm modules based on device information.
Parameters deviceName : Specifies SecuGen device name. The device name determines how the driver, extraction and matching modules are initialized. DEV_FDP02: device name for FDP02-based parallel port readers DEV_FDU02: device name for FDU02-based USB readers DEV_FDU03: device name for FDU03 and SDU03-based USB readers DEV_FDU04: device name for FDU04 and SDU04-based USB readers DEV_FDU05: device name for U20-based USB readers
Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_LOAD_DRIVER_MODULE =Failed to load device driver SGFPMError::ERROR_LOAD_EXTRACTION_MODULE =Failed to load extraction module SGFPMError::ERROR_LOAD_MATCHING_MODULE =Failed to load matching module
Int32 InitEx(Int32 imageWidth, Int32 imageHeight, Int32 imageDPI) Initializes SGFingerPrintManager with image information. Use when running fingerprint algorithm module without a SecuGen reader.
Parameters imageWidth: Image width in pixels FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 25 imageHeight: Image height in pixels imageDPI:: Image resolution in DPI Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_LOAD_EXTRACTION_MODULE =Failed to load extraction module SGFPMError::ERROR_LOAD_MATCHING_MODULE =Failed to load matching module
Int32 SetTemplateFormat (SGFPMTemplateFormat format) Sets template format (default is SecuGen proprietary format,SG400)
Parameters Format: template format ANSI378: ANSI-INCITS 378-2004 format ISO19794: ISO/IEC 19794-2:2005 format SG400: SecuGen proprietary format Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE: Wrong template format
3.1.2.2. Device and Image Capturing functions Int32 EnumerateDevice() Enumerates reader(s) currently attached to the system. After calling this function, use NumberOfDevice property and GetEnumDeviceInfo() method to get enumerated reader(s).
Returned values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_FUNCTION_FAILED =General function fail error SGFPMError::ERROR_INVALID_PARAM =Invalid parameter has been used
Int32 GetEnumDeviceInfo(Int32 nDevs, SGFPMDeviceList* devList) Gets list of readers currently attached to PC. Call GetEnumDeviceInfo() after calling EnumerateDevice() method.
Parameters ndevs The number of attached USB readers devList Buffer that contains device ID and device serial number. For more information, see Section 3.3 SGFPMDeviceList structure
Int32 OpenDevice(Int32 port) Initializes the fingerprint reader
Parameters port: If a USB reader is attached, the argument specifies the device ID (0 9). If the device ID is unknown, pass SGFPMProtAddr::USB_AUTO_DETECT. If parallel reader is attached, the argument specifies the parallel port address. If the port is SGFPMPortAddr::AUTO_DETECT, the device driver will find its port address automatically. FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 26 For USB readers, pass SGFPMPortAddr::USB_AUTO_DETECT or 0 9. For Parallel readers, pass SGFPMPortAddr::AUTO_DETECT, SGFPMPortAddr::LPT1_378, SGFPMPortAddr::LPT1_278 or SGFPMPortAddr::LPT1_3BC. Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =Invalid parameter was used SGFPMError::ERROR_SYSLOAD_FAILED =Failed to load system files SGFPMError::ERROR_INITIALIZE_FAILED =Failed to initialize chip SGFPMError::ERROR_DLLLOAD_FAILED =Failed to load module SGFPMError::ERROR_DEVICE_NOT_FOUND =Device not found
Int32 CloseDevice() Closes a currently opened reader
Int32 SetBrightness(Int32 brightness) Controls brightness of image sensor
Parameters brightness Must be set to a value from 0 to 100 Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =Invalid parameter was used
Int32 SetLedOn(bool on) Turns optic unit LED on/off
Parameters on true: Turns on LED false: Turns off LED Return values SGFPMError::ERROR_NONE =No error
Int32 GetImage(Byte buffer[]); Captures a 256 gray-level fingerprint image from the reader. The image size can be retrieved by calling GetDeviceInfo(). GetImage() does not check for image quality. To get image quality of a captured image, use GetImageQuality(). To get the approximate image quality while capturing, use GetImageEx().
Parameters FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 27 buffer A pointer to the buffer containing a fingerprint image. The image size can be retrieved by calling GetDeviceInfo() Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_WRONG_IMAGE =Captured image is not a real fingerprint SGFPMError::ERROR_INVALID_PARAM =An invalid parameter has been used SGFPMError::ERROR_LINE_DROPPED =Image data is lost
Int32 GetImageQuality(Int32 width, Int32 height, Byte imgBuf[], Int32* quality) Gets the quality of a captured (scanned) image. The value is determined by two factors. One is the ratio of the fingerprint image area to the whole scanned area, and the other is the ridge quality of the fingerprint image area. A quality value of 50 or higher is recommended for registration. A quality value of 40 or higher is recommended for verification.
Note: The returned quality value is different from the value used in GetImageEx(). The quality value in GetImageEx() represents only the ratio of the fingerprint image area to the whole scanned area.
Parameters width Image width in pixels height Image height in pixels imgBuf Fingerprint image data quality The return value indicating image quality Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =Invalid parameter was used
Int32 GetImageEx(Byte buffer[], Int32 time, int dispWnd , Int32 quality) Captures fingerprint images from the device until the quality of the image is greater than the value of the quality parameter. The captured fingerprint is a 256 gray-level image; image size can be retrieved by calling the GetDeviceInfo() function. A quality value of 50 or higher is recommended for registration. A quality value of 40 or higher is recommended for verification.
Note: The returned quality value is different from the value used in GetImage(). The quality value in GetImageEx() represents only the ratio of the fingerprint image area to the whole scanned area.
Parameters buffer Pointer to buffer containing a fingerprint image timeout The timeout value (in milliseconds) used to specify the amount of time the function will wait for a valid fingerprint to be input on the fingerprint reader dispWnd Window handle used for displaying fingerprint images quality The minimum quality value of an image, used to determine whether to accept the captured image Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =An invalid parameter has been used SGFPMError::ERROR_LINE_DROPPED =Image data was lost FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 28 SGFPMError::ERROR_TIME_OUT =No valid fingerprint captured in the given time
Int32 EnableAutoOnEvent (bool enable, int hwnd) Allows the reader to automatically detect the presence of a finger without requiring the user to prompt the system before receiving a fingerprint. EnableAutoOnEvent() enables or disables the Auto-On function. Once Auto-On is enabled, the application can receive a message from the device driver whenever an Auto-On event occurs in the device. (Not supported by FDU02-based readers.)
When calling EnableAutoOnEvent(), pass the handle of the window that will receive the Auto-On message. The Auto-On message(SGFPMMessages) is defined as 0x8100. Parameters enable true: enables Auto-On false: disables Auto-On hwnd Window handle to receive Auto-On message Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =An invalid parameter has been used Remarks When the application receives an Auto-On message, wParam will have event type (Finger ON or OFF) and lParam will have information of the device from which the event occurred. wParam: Contains event type. SGFPMAutoOnEvent::FINGER_ON(1) =Finger is on the sensor SGFPMAutoOnEvent::FINGER_OFF(0) =Finger is removed from the sensor lParam: Contains device information. The device information is contained in SGFPMDeviceInfoParam. 3.1.2.3. Extraction Functions Int32 GetMaxTemplateSize(Int32* size) Gets the maximum size of a fingerprint template (view or sample). Use this function before using CreateTemplate() to obtain an appropriate buffer size. If the template format is SG400, it returns fixed length size, 400 Note: The returned template size means the maximum size of one view or sample.
Parameters size The pointer to contain template size Return values SGFPMError::ERROR_NONE =No error
Int32 CreateTemplate(Byte rawImage[], Byte minTemplate[]) Extracts minutiae from a fingerprint image to form a template having the default format
Parameters rawImage 256 Gray-level fingerprint image data minTemplate Pointer to buffer containing minutiae data extracted from a fingerprint image
Return values SGFPMError::ERROR_NONE =No error FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 29 SGFPMError::ERROR_FEAT_NUMBER =Inadequate number of minutia SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =103 =Error while decoding template 1 SGFPMError::ERROR_INVALID_TEMPLATE2 =104 =Error while decoding template 2
Int32 CreateTemplate(SGFPMFingerInfo* fpInfo, Byte rawImage[], Byte minTemplate[]) Extracts minutiae from a fingerprint image to form a template having the default format
Parameters fpInfo Fingerprint information. It is stored in template. For ANSI378 format templates, this information can be retrieved from the template using GetAnsiTemplateInfo(). For SG400 templates, this information cannot be seen in the template. For SGFPMFingerInfo structure, refer chapter 3.4. rawImage 256 Gray-level fingerprint image data minTemplate Pointer to buffer containing minutiae data extracted from a fingerprint image
Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_FEAT_NUMBER =Inadequate number of minutia SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =103 =Error while decoding template 1 SGFPMError::ERROR_INVALID_TEMPLATE2 =104 =Error while decoding template 2
Int32 GetTemplateSize(Byte minTemplate[], Int32* size) Gets template size. If the template format is SG400, it will return 400. If the template format is ANSI378, template size will be varied.
Parameters minTemplate Pointer to buffer containing minutiae data extracted from a fingerprint image size The pointer to contain template size Return values SGFPMError::ERROR_NONE =No error 3.1.2.4. Matching Functions Int32 MatchTemplate(Byte minTemplate1[], Byte minTemplate2[], SGFPMSecurityLevel secuLevel, bool* matched) Compares two sets of minutiae data of the same template format. The template format should be the same as that set by SetTemplateFormat() and should include only one sample. To match templates that have more than one sample, use MatchTemplateEx() or MatchAnsiTemplate(). It returns true or false as a matching result (matched). Security levels (secuLevel) will affect matching result. The security level may be adjusted according to the security policy required by the user or organization.
Parameters minTemplate1 A pointer to the buffer containing minutiae data extracted from a fingerprint image minTempate2 A pointer to the buffer containing minutiae data extracted from a fingerprint image secuLevel Security level (NORMAL is recommended for most purposes) FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 30 LOWEST LOWER LOW BELOW_NORMAL NORMAL ABOVE_NORMAL HIGH HIGHER HIGHEST Matched Contains matching result. If the passed templates are the same, then true is returned. If not, false is returned. Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in minTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in minTemplate2
Int32 MatchTemplateEx(Byte minTemplate1[], SGFPMTemplateFormat tempateType1, Int32 sampleNum1, Byte minTemplate2[], SGFPMTemplateFormat tempateType2, Int32 sampleNum2, Int32 secuLevel, bool* matched) Compares two sets of minutiae data, which can be of different template formats (SG400 or ANSI378). It returns true or false as a matching result (matched). Security levels (secuLevel) will affect matching result. The security level may be adjusted according to the security policy required by the user or organization.
Parameters minTemplate1 A pointer to the buffer containing minutiae data extracted from a fingerprint image templateType1 Specifies format of minTemplate1. Should be either SG400 or ANSI378. sampleNum1 Position of a sample to be matched in minTemplate1. If templateType1 is ANSI378, it can have a value from 0 to the number of samples minus 1 in minTemplate1. If templateType1 is SG400, this value is ignored. minTemplate2 A pointer to the buffer containing minutiae data extracted from a fingerprint image templateType2 Specifies format of minTemplate2 (either SG400 or ANSI378) sampleNum2 Position of a sample to be matched in minTemplate2. If templateType2 is ANSI378, it can have a value from 0 to the number of samples minus 1 in minTemplate2. If templateType2 is SG400, this value is ignored. secuLevel Security level (NORMAL is recommended for most purposes) LOWEST LOWER LOW BELOW_NORMAL NORMAL ABOVE_NORMAL HIGH HIGHER HIGHEST matched FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 31 Contains matching result. If the passed templates are the same, then true is returned. If not, false is returned.
Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in minTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in minTemplate2
Int32 GetMatchingScore(Byte minTemplate1[], Byte minTemplate2[], Int32* score) Gets matching score of two sets of minutiae data of the same template format
Parameters minTemplate1 A pointer to the buffer containing minutiae data extracted from a fingerprint image minTemplate2 A pointer to the buffer containing minutiae data extracted from a fingerprint image score Matching score (from 0 to 199) Returned values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in minTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in minTemplate2
Int32 GetMatchingScoreEx(Byte minTemplate1[], SGFPMTemplateFormat tempateType1, Int32 sampleNum1, Byte minTemplate2[], SGFPMTemplateFormat tempateType2, Int32 sampleNum2, Int32* score); Gets matching score of two sets of minutiae data, which can be of different template formats (SG400 or ANSI378)
Parameters minTemplate1 A pointer to the buffer containing minutiae data extracted from a fingerprint image templateType1 Specifies format of minTemplate1 (either SG400 or ANSI378) sampleNum1 Position of a sample to be matched in minTemplate1. If templateType1 is ANSI378, it can have a value from 0 to the number of samples minus 1 in minTemplate1. If templateType1 is SG400, this value is ignored. minTemplate2 A pointer to the buffer containing minutiae data extracted from a fingerprint image templateType2 Specifies format of minTemplate2 (either SG400 or ANSI378) sampleNum2 Position of a sample to be matched in minTemplate2. If templateType2 is ANSI378, it can have a value from 0 to the number of samples minus 1 in minTemplate2. If templateType2 is SG400, this value is ignored. score Matching score (from 0 to 199) Returned values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in minTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in minTemplate2 FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 32 3.1.2.5. Functions for ANSI378 Templates Int32 GetTemplateSizeAfterMerge(Byte ansiTemplate1[], Byte ansiTemplate2[], Int32* size) Calculates template size if two templates ansiTemplate1 and ansiTemplate2 are merged. Use this function to determine the exact buffer size before using MergeAnsiTemplate().
Parameters ansiTemplate1 A pointer to the buffer containing minutiae data. A template can have more than one sample. ansiTempate2 A pointer to the buffer containing minutiae data. A template can have more than one sample. size Template size if two templates are merged Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in minTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in minTemplate2
Int32 MergeAnsiTemplate(Byte ansiTemplate1[], Byte ansiTemplate2[], Byte outTemplate[]) Merges two ANSI378 templates and returns a new merged template. The merged template (outTemplate) size will be less than sum of the sizes of the two input templates (size of ansiTemplate1 +size of ansiTemplate2). Call GetTemplateSizeAfterMerge() to determine the exact buffer size for outTemplate before calling MergeAnsiTemplate().
Parameters ansiTemplate1 A pointer to the buffer containing minutiae data. A template can have more than one sample. asniTempate2 A pointer to the buffer containing minutiae data. A template can have more than one sample. outTempate The buffer containing merged data. The buffer should be assigned by the application. To determine the exact buffer size, call GetTemplateSizeAfterMerge(). Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in minTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in minTemplate2
Int32 MergeMultipleAnsiTemplate(Byte inTemplates[], Int32 nTemplates, Byte outTemplate[]) Merges multiple ANSI378 templates and returns a new merged template. The merged template (outTemplate) size will be less than sum of the sizes of all templates in inTemplates.
Parameters inTemplates A series of ANSI378 templates [ANSITemplate-1, ANSITemplate-2, ANSITemplate-3, ... ;ANSITemplate-n] nTemplates The number of templates in inTemplates outTempate The buffer containing newly merged template data. The buffer should be assigned by the application. Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =Invalid parameter SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 33
Int32 GetAnsiTemplateInfo(Byte ansiTemplate[], SGFPMANSITemplateInfo* templateInfo) Gets information of an ANSI378 template. Call this function before MatchAnsiTemplate() to obtain information about a template.
Parameters anisiTemplate ANSI378 template templateInfo The buffer that contains template information. For more information see SGFPMANSITemplateInfo structure. Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_PARAM =Invalid parameter SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type
Int32 MatchAnsiTemplate(Byte ansiTemplate1[], Int32 sampleNum1, Byte ansiTemplate2[], Int32 sampleNum2, SGFPMSecurityLevel secuLevel, bool* matched) Compares two sets of ANSI378 templates. It returns true or false as a matching result (matched). Security levels (secuLevel) will affect matching result. The security level may be adjusted according to the security policy required by the user or organization.
Parameters ansiTemplate1 A pointer to the buffer containing minutiae data. A template can have more than one sample. sampleNum1 Position of sample to be matched in ansiTemplate1. It can be from 0 to the number of samples minus 1 in ansiTemplate1. ansiTempate2 A pointer to the buffer containing minutiae data. A template can have more than one sample. sampleNum2 Position of sample to be matched in ansiTemplate2. It can be from 0 to the number of samples minus 1 in ansiTemplate2. secuLevel Security level (NORMAL is recommended for most purposes) LOWEST LOWER LOW BELOW_NORMAL NORMAL ABOVE_NORMAL HIGH HIGHER HIGHEST matched Contains matching result. If the passed templates are the same, then true is returned. If not, false is returned. Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in ansiTemplate1 SGFPMError::ERROR_INVALID_TEMPLATE2 =Error in ansiTemplate2
Parameters ansiTemplate1 A pointer to the buffer containing minutiae data. A template can have more than one sample. sampleNum1 Position of sample to be matched in ansiTemplate1. It can be from 0 to the number of samples minus 1 in ansiTemplate1. ansiTempate2 A pointer to the buffer containing minutiae data. A template can have more than one sample. sampleNum2 Position of sample to be matched in ansiTemplate2. It can be from 0 to the number of samples minus 1 in ansiTemplate2. score Matching score (from 0 to 199) Return values SGFPMError::ERROR_NONE =No error SGFPMError::ERROR_INVALID_TEMPLATE_TYPE =Wrong template type SGFPMError::ERROR_INVALID_TEMPLATE1 =Error in ansiTemplate1 SGFPMError.ERROR_INVALID_TEMPLATE2 =Error in ansiTemplate2
3.1.2.6. Other Int32 GetMinexVersion(Int32 *extractor, Int32* matcher)) Gets algorithm version used in this SDK
Parameters extractor MINEX compliant extractor version number matcher MINEX compliant matcher version number Return values SGFPMError::ERROR_NONE =No error
3.1.3. Property
Property NumberOfDevice
Description Contains number of devices after calling EnumerateDevice() FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 35 3.2. SGFPMDeviceInfoParam Structure public __gc struct SGFPMDeviceInfoParam { Int32 DeviceID; Byte DeviceSN[]; Int32 ComPort; Int32 ComSpeed; Int32 ImageWidth; Int32 ImageHeight; Int32 Contrast; Int32 Brightness; Int32 Gain; Int32 ImageDPI; Int32 FWVersion; };
Description SGFPMDeviceInfoParam is used to obtain device information when calling GetDeviceInfo()
Constructor SGFPMDeviceInfoParam()
Members DeviceID: Contains device ID for USB readers only (0 9)
DeviceSN: Contains device serial number for USB readers Exception: FDU01-based and parallel readers do not have device serial numbers
ComPort: Contains parallel port address for parallel readers. Contains Device ID for USB readers.
ComSpeed: Communication speed (not used in this version)
ImageWidth: Fingerprint image width in pixels
ImageHeight: Fingerprint image height in pixels
Brightness: Current Brightness value (0-100)
Contrast: Current Contrast value (0-100)
Gain: Amplification (1, 2, 4, or 8) of image brightness (higher value yields darker image)
ImageDPI: Image resolution of the reader in DPI
FWVersion: Device firmware version number for USB readers only
FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 36 3.3. SGFPMDeviceList struct public __gc struct SGFPMDeviceList { SGFPMDeviceName DevName; Int32 DevID; Int16 DevType; Byte DevSN[]; };
Description Used to obtain a list of currently attached reader(s) in GetEnumDeviceInfo() after calling EnumerateDevice()
Constructor SGFPMDeviceList()
Members DevName Contains device name (either SG_DEV_FDP02, SG_DEV_FDU02, SG_DEV_FDU03, SG_DEV_FDU04, or SG_DEV_FDU05) DevID Contains USB device ID if the device type is USB DevType Not used DeviceSN Contains device serial number of USB readers (except for FDU01-based and parallel readers). Length is defined in DEV_SN_LEN(15)
Description Used when calling CreateTemplate(). The provided information will be put into the template. For ANSI378 and ISO19794-2 templates, this information can be seen from the template structure format. For SG400 templates, this information cannot be seen in the template.
Constructor SGFPMFingerInfo();
Members FingerNumber Finger position number FINGPOS_UK (0x00): Unknown finger FINGPOS_RT (0x01): Right thumb FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 37 FINGPOS_RI (0x02): Right index finger FINGPOS_RM (0x03): Right middle finger FINGPOS_RR (0x04): Right ring finger FINGPOS_RL (0x05): Right little finger FINGPOS_LT (0x06): Left thumb FINGPOS_LI (0x07): Left index finger FINGPOS_LM (0x08): Left middle finger FINGPOS_LR (0x09): Left ring finger FINGPOS_LL (0x0A): Left little finger
ViewNumber Sample number for each finger (starts at 0)
ImpressionType Impression type (should be 0 for SecuGen readers) IMPTYPE_LP (0x00): Live-scan plain IMPTYPE_LR (0x01): Live-scan rolled IMPTYPE_NP (0x02): Non-live-scan plain IMPTYPE_NR (0x03): Non-live-scan rolled
ImageQuality Image quality value (0 100). To obtain image quality, use GetImageQuality().
Description Used when calling GetAnsiTemplateInfo (). The provided information will be put into the template. For ANSI378 or ISO19794-2 templates, this information can be seen from the template structure format. For SG400 templates, this information cannot be seen in the template.
Constructor SGFPMANSITemplateInfo();
Members TotalSamples Indicates the number of samples in a template. One template can have a maximum of 225 samples. Number of samples =Max finger number 15 * Max View Number 15 =225 SampleInfo Information of each sample in a template. Refer to SGFPMFingerInfo structure.
FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 38 3.6. SGFPMDeviceName Enumeration Members Value Description DEV_FDP02 0x01 Device code name for FDP02 parallel readers DEV_FDU02 0x03 Device code name for FDU02 USB readers DEV_FDU03 0x04 Device code name for FDU03 / SDU03 USB readers DEV_FDU04 0x05 Device code name for FDU04 / SDU04 USB readers DEV_FDU05 0x06 Device code name for U20 USB readers
3.7. SGFPMPortAddr Enumeration Members Value Description AUTO_DETECT 0 For parallel port readers: Finds port address automatically LPT1_378 0x378 For parallel port readers: Port address is 0x378 LPT2_278 0x278 For parallel port readers: Port address is 0x278 LPT3_3BC 0x3BC For parallel port readers: Port address is 0x3BC USB_AUTO_DETECT 0x255 For USB readers: Finds device automatically
3.8. SGFPMSecurityLevel Enumeration Members Value Description NONE 0 No security LOWEST 1 Lowest LOWER 2 Lower LOW 3 Low BELOW_NORMAL 4 Below Normal NORMAL 5 Normal ABOVE_NORMAL 6 Above Normal HIGH 7 High HIGHER 8 Higher HIGHEST 9 Highest
3.9. SGFPMTemplateFormat Enumeration Members Value Description ANSI378 0x0100 ANSI-INCITS 378-2004 Format SG400 0x0200 SecuGen Proprietary Format ISO19794 0x0300 ISO/IEC 19794-2:2005 Format
FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 39 3.10. SGFPMError Enumeration
Members Value Description General Error ERROR_NONE 0 Function success ERROR_CREATION_FAILED 1 Failed to create SGFPM instance ERROR_FUNCTION_FAILED 2 Function failed (various reasons) ERROR_INVALID_PARAM 3 Invalid parameter ERROR_NOT_USED 4 Function is not used or not supported ERROR_DLLLOAD_FAILED 5 Cannot load device driver ERROR_DLLLOAD_FAILED_DRV 6 Cannot load device driver ERROR_DLLLOAD_FAILED_ALGO 7 Cannot load matching module Device Driver Related ERROR_SYSLOAD_FAILED 51 Failed to load driver sys file ERROR_INITIALIZE_FAILED =52 52 Failed to initialize device ERROR_LINE_DROPPED 53 Image data loss occurred during capture ERROR_TIME_OUT 54 Timeout occurred during capture ERROR_DEVICE_NOT_FOUND 55 Cannot find the device ERROR_DLLLOAD_FAILED 56 Cannot load device driver ERROR_WRONG_IMAGE 57 Wrong image not recognized as a fingerprint image ERROR_LACK_OF_BANDWIDTH 58 Not enough USB bandwith to complete the operation ERROR_DEV_ALREADY_OPEN 59 Device Exclusive Access Error: cannot open the device exclusively ERROR_GETSN_FAILED 60 Failed to get Device Serial Number ERROR_UNSUPPORTED_DEV 61 Cannot determine device type Extraction and Matching Related ERROR_FEAT_NUMBER 101 Not enough minutiae features ERROR_INVALID_TEMPLATE_TYPE 102 Wrong template type ERROR_INVALID_TEMPLATE1 103 Error in decoding template 1 ERROR_INVALID_TEMPLATE2 104 Error in decoding template 2 ERROR_EXTRACT_FAIL 105 Extraction failed ERROR_MATCH_FAIL 106 Cannot find matched template
3.11. SGFPMAutoOnEvent Enumeration Members Value Description FINGER_ON 0 Finger is on the sensor FINGER_OFF 1 Finger is off the sensor
FDx SDK Pro .NET Manual Windows, Win CE Chapter 3. SecuGen.FDxSDKPro.Windows Reference 40 3.12. SGFPMMessages Enumeration Members Value Description DEV_AUTOONEVENT 0x8100 Device Auto-On message (not supported by FDU02-based readers)
3.14. SGFPMFingerPosition Enumeration Members Value Description FINGPOS_UK 0x00 Unknown finger FINGPOS_RT 0x01 Right thumb FINGPOS_RI 0x02 Right index finger FINGPOS_RM 0x03 Right middle finger FINGPOS_RR 0x04 Right ring finger FINGPOS_RL 0x05 Right little finger FINGPOS_LT 0x06 Left thumb FINGPOS_LI 0x07 Left index finger FINGPOS_LM 0x08 Left middle finger FINGPOS_LR 0x09 Left ring finger FINGPOS_LL 0x0A Left little finger
Secure Edge Computing for IoT: Master Security Protocols, Device Management, Data Encryption, and Privacy Strategies to Innovate Solutions for Edge Computing in IoT (English Edition)
Secure Edge Computing for IoT: Master Security Protocols, Device Management, Data Encryption, and Privacy Strategies to Innovate Solutions for Edge Computing in IoT (English Edition)