1、 INCITS/ISO/IEC 19784-4:2011 2011 ISO/IEC 19784-4:2011 Information technology Biometric application programming interface Part 4: Biometric sensor function provider interface INCITS/ISO/IEC 19784-4:2011 2011 PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licen
2、sing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO
3、 Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has bee
4、n taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American Na
5、tional Standard. Date of ANSI Approval: 6/28/2011 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2011 by Information Technology Industry Council (ITI). All rights reserved. These materials are subject to copyright claims of International S
6、tandardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval system, wi
7、thout the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of America ii ITIC 2011 All rights reserved ISO/IEC 19784-4:2011(E) ISO/IEC 2011 All rights reserved iiiContents Page
8、 Foreword .v Introductionvi 1 Scope1 2 Conformance .1 3 Normative references1 4 Terms and definitions .1 5 Symbols, abbreviated terms, data structure definitions and error codes.2 5.1 Symbols and abbreviated terms 2 5.2 Data structure definitions and error codes.2 6 Interface architecture3 7 Selecti
9、ng and loading BFPs and BioAPI_Units4 7.1 Obtaining information about BFPs and BioAPI_Units 4 7.2 Loading BFPs 5 7.2.1 Loading BFPs when attaching to an unspecified BioAPI_Unit 5 7.2.2 Loading BFPs when attaching to a specific BioAPI_Unit .5 8 BSFPI Definition 5 8.1 BSFPI data structures.5 8.1.1 Con
10、trol codes 5 8.1.2 BioSFPI_EventHandler6 8.1.3 BioSFPI_GUI_RESPONSE 6 8.1.4 BioSFPI_GUI_PROGRESS_EVENT_HANDLER 6 8.2 BSFP Functions.7 8.2.1 BioSFPI_BSFPLoad.7 8.2.2 BioSFPI_UnitAttach.8 8.2.3 BioSFPI_UnitDetach9 8.2.4 BioSFPI_QueryUnits .9 8.2.5 BioSFPI_Free .10 8.2.6 BioSFPI_ControlUnit.11 8.2.7 Bi
11、oSFPI_Cancel.11 8.2.8 BioSFPI_SetPowerMode.12 8.2.9 BioSFPI_SetGUICallbacks13 8.2.10 BioSFPI_QueryFormatInfo .13 8.2.11 BioSFPI_GetPackets .14 8.2.12 BioSFPI_DataTransfer.15 8.2.13 BioSFPI_SetIndicatorStatus.16 8.2.14 BioSFPI_GetIndicatorStatus 16 8.2.15 BioSFPI_CalibrateSensor .17 8.2.16 BioSFPI_Su
12、bscribeToGUIEvents.17 8.2.17 BioSFPI_UnsubscribeFromGUIEvents18 Annex A (normative) Imaging biometric sensor units 20 A.1 General .20 A.1.1 Bit and Byte ordering20 A.1.2 Scan sequence 20 A.1.3 Pixel aspect ratio.20 A.1.4 Greyscale pixel depth .20 A.1.5 Colour space20 A.1.6 Video interlacing21 ISO/IE
13、C 19784-4:2011(E) iv ISO/IEC 2011 All rights reservedA.2 BioSFPI_BSFPImagePropertyID 21 A.3 BioSFPI_BSFPImagePropertySchema . 21 A.4 BioSFPI_UnitImagePropertyID 22 A.5 BioSFPI_UnitImagePropertySchema 22 A.6 Image sensor functions . 23 A.6.1 BioSFPI_GetImageParameters 23 A.6.2 BioSFPI_SetImageParamet
14、ers 24 A.6.3 BioSFPI_Pause 25 A.6.4 BioSFPI_Play. 25 Annex B (normative) Signature sensor units 27 B.1 General. 27 B.1.1 Bit and byte ordering 27 B.1.2 Coordinate system . 27 B.1.3 Channel inclusion field 28 B.1.4 Sequence of sample points . 29 B.1.5 Sample Rate 29 B.1.6 ChannelDescriptions 29 B.2 B
15、ioSFPI_BSFPSignaturePropertyID . 29 B.3 BioSFPI_BSFPSignaturePropertySchema . 30 B.4 BioSFPI_UnitSignaturePropertyID 30 B.5 BioSFPI_UnitSignaturePropertySchema 31 B.6 Signature Sensor Functions 32 B.6.1 BioSFPI_GetSignatureParameters 32 B.6.2 BioSFPI_SetSignatureParameters 33 Annex C (informative) O
16、btaining biometric sensor data across the SFPI 35 C.1 Overall functionality . 35 C.2 Fundamentals of the data transfer interfaces 36 C.3 Memory management. 36 C.4 Components forming the interface. 36 C.5 Implementation options for use of the data transfer interface 36 Bibliography. 38 ISO/IEC 19784-
17、4:2011(E) ISO/IEC 2011 All rights reserved vForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the developme
18、nt of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental,
19、 in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the jo
20、int technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Atten
21、tion is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. ISO/IEC 19784-4 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommit
22、tee SC 37, Biometrics. ISO/IEC 19784 consists of the following parts, under the general title Information technology Biometric application programming interface: Part 1: BioAPI specification Part 2: Biometric archive function provider interface Part 4: Biometric sensor function provider interface IS
23、O/IEC 19784-4:2011(E) vi ISO/IEC 2011 All rights reservedIntroduction This part of ISO/IEC 19784 specifies a low-level interface that enables a Biometric Service Provider (BSP) module (see ISO/IEC 19784-1) to interact with a biometric sensor from a different vendor a Biometric Sensor Function Provid
24、er (BSFP) module, using only the specification of the standardized interface. The biometric sensor is a physical device with a small amount of associated software. The interface enables a biometric sensor to interwork with any BSP that is designed to handle the technology supported by that sensor. I
25、t also enables the BSP module to be independent of details of the actual sensor, although it will remain dependent on the biometric technology it supports (finger, face, vein, etc.). Biometric sensors can have very different working principles. Also the data formats vary very much depending on the b
26、iometric feature and the sensor type. To cover the resulting different requirements for a generic function provider, normative annexes contain the specific functions and data structures for typical sensor device classes or biometric modalities. The philosophy of this part of ISO/IEC 19784 is to add
27、such normative annexes whenever the existing annexes do not cover the requirements for a typical sensor class. Currently there are two normative annexes. Annex A provides type definitions and function calls designed to support biometric sensors designed to return images (either still images or a seq
28、uence of images). Annex B provides type definitions and function calls designed to support biometric sensors designed to return sequences of pen movements. The major function of a BSP module performing a capture is to produce a complete Biometric Information Record (BIR) for returning to a biometric
29、 application (usually via a BioAPI framework). The major function of a BSFP is to do a capture and to return data in an identified format, either as a single piece of data (use of BioSFPI_DataTransfer) or as a series of packets (use of BioSFPI_GetPackets) containing the captured information, or via
30、a stream interface (see Annex C). The BSP is responsible for turning this data into a Biometric Data Block (BDB) within a BIR for returning across the Service Provider Interface (SPI). Additional (minor) functions relate to control of the biometric sensor and the parameters of its operation. INTERNA
31、TIONAL STANDARD ISO/IEC 19784-4:2011(E) ISO/IEC 2011 All rights reserved 1Information technology Biometric application programming interface Part 4: Biometric sensor function provider interface 1 Scope This part of ISO/IEC 19784 specifies a biometric sensor interface for a Biometric Service Provider
32、 (BSP, see ISO/IEC 19784-1). The interface supports a BSP wishing to provide the BioAPI Service Provider Interface (SPI) functions, whilst removing device handling activity from the BSP. This part of ISO/IEC 19784 provides an interface that can be used by all types of biometric sensor, including int
33、er alia image streaming sensors (infrared, face, iris, finger, etc.), voice streaming sensors and digital tablets providing dynamic signature data. It is not in the scope of this part of ISO/IEC 19784 to define security and privacy requirements for capturing and transferring of biometric data across
34、 the Sensor Function Provider Interface (SFPI). 2 Conformance A BSFP shall support all the functions in Clause 8 of this part of ISO/IEC 19784 and all those in the two normative annexes. However, those functions that have a permissible error return of BioAPIERR_FUNCTION_NOT_SUPPORTED can always retu
35、rn this error. Functions that do not list this error as an allowed return are required to perform the function as described, subject to other error returns listed. 3 Normative references The following referenced documents are indispensable for the application of this document. For dated references,
36、only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 19784-1, Information technology Biometric application programming interface Part 1: BioAPI specification ISO/IEC 19794-7, Information technology Biometric
37、 data interchange formats Part 7: Signature/sign time series data 4 Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 19784-1 and the following apply. NOTE Function names and data element names are not included here, but are defined within the body o
38、f this part of ISO/IEC 19784. ISO/IEC 19784-4:2011(E) 2 ISO/IEC 2011 All rights reserved4.1 Biometric Sensor Function Provider BSFP BioAPI component, attached to a BSP via its interface, for managing and providing information from a biometric sensor NOTE The biometric sensor can be a camera, a finge
39、rprint device, an iris scanner, or a signature reader using images, pressure, or sound, or any other type of biometric sensor. 4.2 Biometric Sensor Function Provider Interface BSFPI BSP-to-BSFP interface that supports the functions needed to provide biometric data and to manage the BSFP itself and t
40、he associated device 4.3 packet fragment of a BDB passing across the SFPI as the result of a single BioSFPI_GetPackets call 4.4 streaming data data passing across an interface from a source that is operating continuously 5 Symbols, abbreviated terms, data structure definitions and error codes 5.1 Sy
41、mbols and abbreviated terms API Application Programming Interface BDB Biometric Data Block BFP BioAPI Function Provider BSP Biometric Service Provider BSFPI Biometric Sensor Function Provider Interface FPI Function Provider Interface ID Identity/Identification/Identifier SPI Service Provider Interfa
42、ce sRGB Standard Red Green Blue (see ITU-R BT.709-5) UUID Universally Unique Identifier 5.2 Data structure definitions and error codes For the purposes of this document, the data structure definitions and error codes defined in ISO/IEC 19784-1 apply. ISO/IEC 19784-4:2011(E) ISO/IEC 2011 All rights r
43、eserved 36 Interface architecture 6.1 ISO/IEC 19784-1:2006 specifies the interface at the top of the BioAPI Framework, which a biometric application uses to interact with BSPs, and through that to biometric sensors either directly or through BFPs (see Figure 1 and Figure 2 of ISO/IEC 19784-1:2006).
44、6.2 The BSFPI contains two types of functions: 6.2.1 General BFP management functions, which are called by the BSP to manage the BFP and its associated BioAPI Units. These functions are not directly related to SPI functions. BioSFPI_BSFPLoad (see Clause 7) BioSFPI_UnitAttach (called in the context o
45、f BioAPI_BSPAttach and BioSPI_BSPAttach, see Clauses 8 and 9 of ISO/IEC 19784-1:2006) BioSFPI_UnitDetach (called in the context of BioAPI_BSPDetach and BioSPI_BSPDetach, see Clauses 8 and 9 of ISO/IEC 19784-1:2006) BioSFPI_QueryUnits (this function is directly related to the SPI function BioSPI_Quer
46、yUnits which is related to the API function BioAPI_QueryUnits, see Clauses 8 and 9 of ISO/IEC 19784-1:2006) BioSFPI_Free (the relation of this function to the corresponding SPI call depends on the behaviour of the BSP when the BSP copies data that the BFP has allocated memory for, then it can immedi
47、ately send BioSFPI_Free to the BFP, otherwise the BSP will call this function when itself is requested to free the memory for this data) 6.2.2 Unit management functions, which are called by the BSP to manage BioAPI Units directly. These functions are directly related to SPI functions. BioSFPI_Contro
48、lUnit (this function is directly related to the SPI function BioSPI_ControlUnit which is related to the API function BioAPI_ControlUnit, see Clauses 8 and 9 of ISO/IEC 19784-1:2006) BioSFPI_Cancel (this function can be called in relation to the corresponding calls of the SPI or the application, but
49、can also be called when there is no corresponding request from the BioAPI framework or application, see Clauses 8 and 9 of ISO/IEC 19784-1:2006) BioSFPI_SetPowerMode (this function is directly related to the SPI function BioSPI_SetPowerMode which is related to the API function BioAPI_SetPowerMode, see Clauses 8 and 9 of ISO/IEC 19784-1:2006) BioSFPI_SetGUICallbacks (this function is directl