Iris automatic capture method, device, computer-readable storage medium and equipment

By positioning the coordinates of the binocular and rotating the iris imaging module, the problems of small depth of field, small range and high coordination of traditional iris acquisition equipment are solved, and fast and accurate iris image acquisition is achieved.

CN113283271BActive Publication Date: 2025-03-18EYECOOL SHENZHEN TECH CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010104872.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-20
Publication Date
2025-03-18
Estimated Expiration
2040-02-20

AI Technical Summary

Technical Problem

During the process of collecting iris, traditional iris acquisition equipment faces the problems of small depth of field, small range and high coordination, and it is difficult to quickly and accurately collect the required iris images.

Method used

The face image is collected through the face imaging module, the coordinates of the binocular are positioned, the coordinates of the two eyes are calculated, the rotation angle of the iris imaging module is obtained according to the pre-stored relationship, the iris imaging module is rotated, and the iris image and face image are collected simultaneously with the face imaging module.

Benefits of technology

It realizes the rapid and accurate collection of user's face and iris image information without the need for user cooperation, and avoids the problem of collecting two times in traditional methods and not ensuring that the iris and face information are consistent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113283271B_ABST
    Figure CN113283271B_ABST
Patent Text Reader

Abstract

The present invention discloses an automatic iris capture method, device, computer-readable storage medium and equipment, which belongs to the field of biometrics. The method includes: using a face imaging module to collect face images; locating left eye coordinates and right eye coordinates on the face image; calculating the center coordinates of the two eyes according to the left eye coordinates and the right eye coordinates; obtaining the rotation angle of the iris imaging module according to the relationship between the center coordinates of the two eyes and the rotation angle stored in advance, and the rotation angle includes a horizontal angle and a vertical angle; rotating the iris imaging module according to the rotation angle; using the iris imaging module and the face imaging module to collect iris images and face images at the same time. The present invention can quickly and accurately complete the collection of user face images and iris images without coordination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of biometrics, and in particular to an automatic iris capture method, device, computer-readable storage medium and equipment. Background Art

[0002] The structure of the human eye is composed of sclera, iris, pupil lens, retina and other parts. The iris is the circular part between the black pupil and the white sclera, which contains many interlaced spots, filaments, crowns, stripes, crypts and other detailed features. As an important identity recognition feature, the iris has the advantages of lifelong uniqueness, stability, collectability and non-invasiveness, and is an inevitable trend in the development of identity recognition research and application.

[0003] During iris recognition, the user's iris information needs to be captured quickly and accurately, but the iris area is small (about 1 cm in diameter) and the number of pixels captured in the iris area is large (about 20 pixels / mm). Therefore, traditional iris acquisition equipment faces the problems of small depth of field, small range, and high coordination during iris acquisition, making it difficult to quickly and accurately acquire the required iris image. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides an automatic iris capture method, device, computer-readable storage medium and equipment, which can quickly and accurately complete the user's facial image and iris image acquisition without the need for cooperation.

[0005] The present invention provides the following technical solutions:

[0006] In a first aspect, the present invention provides an automatic iris capture method, the method comprising:

[0007] Use the face imaging module to collect face images;

[0008] Locating left eye coordinates and right eye coordinates on the face image;

[0009] Calculate the center coordinates of both eyes according to the left eye coordinates and the right eye coordinates;

[0010] Obtaining the rotation angle of the iris imaging module according to the pre-stored relationship between the center coordinates of the two eyes and the rotation angle, wherein the rotation angle includes a horizontal angle and a vertical angle;

[0011] Rotate the iris imaging module according to the rotation angle;

[0012] Use the iris imaging module and the face imaging module to simultaneously capture iris images and face images.

[0013] Furthermore, the method of using the iris imaging module and the face imaging module to simultaneously collect the iris image and the face image also includes:

[0014] Calculate the interocular distance based on the left eye coordinates and the right eye coordinates;

[0015] Obtaining the distance between the center of the face imaging module and the two eyes according to the pre-stored relationship between the distance between the two eyes and the distance between the center of the face imaging module and the two eyes;

[0016] The iris imaging module is focused according to the distance between the face imaging module and the center of the two eyes.

[0017] Furthermore, the method of using the iris imaging module and the face imaging module to simultaneously collect the iris image and the face image also includes:

[0018] The distance between the laser distance sensor and the user is measured by the laser distance sensor;

[0019] Calculate the deviation between the distance between the laser distance sensor and the user and the distance between the face imaging module and the center of the two eyes, and determine whether the deviation is within the preset range. If so, it means that the distance between the face imaging module and the center of the two eyes is correct. Otherwise, an error prompt is given.

[0020] Furthermore, the step of rotating the iris imaging module according to the rotation angle further includes:

[0021] An iris image is collected using an iris imaging module, and the positions of eyes, mouth, nose, hair and / or eyebrows in the iris image are detected, and the iris imaging module is rotated according to the positions of the eyes, mouth, nose, hair and / or eyebrows, wherein:

[0022] If only one eye is detected and the eye is on the left side of the iris image, the iris imaging module is rotated to the left by a set angle;

[0023] If only one eye is detected and the eye is on the right side of the iris image, the iris imaging module is rotated rightward by a set angle;

[0024] If no eyes are detected and only the mouth and / or nose are detected, the iris imaging module is rotated upward by a set angle;

[0025] If no eyes are detected and only hair and / or eyebrows are detected, the iris imaging module is rotated downward by a set angle.

[0026] Furthermore, the relationship between the center coordinates of the two eyes and the rotation angle is obtained by the following method:

[0027] Determine a number of actual position coordinates, and make the centers of the two eyes of the user be located at these actual position coordinates respectively;

[0028] For each actual position coordinate, the rotation angle of the iris imaging module is adjusted, the iris image is collected through the iris imaging module, and the images of both eyes are placed at appropriate positions;

[0029] Storing a number of actual position coordinates and their corresponding rotation angles of the iris imaging module;

[0030] The relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes is obtained by the following method:

[0031] Determine the actual distances between several face imaging modules and the centers of the two eyes, and make the centers of the two eyes of the user be located at these actual distances respectively;

[0032] For each actual distance, a face image is collected by a face imaging module, and the interocular distance is obtained from the face image;

[0033] Several actual distances and their corresponding interocular distances are stored.

[0034] Furthermore, the storing of a plurality of actual position coordinates and their corresponding rotation angles of the iris imaging module includes:

[0035] Fitting a surface function according to a number of actual position coordinates and their corresponding rotation angles of the iris imaging module, and storing the surface function;

[0036] The storing of a plurality of actual distances and their corresponding interocular distances comprises:

[0037] A curve function is obtained by fitting according to a number of actual distances and their corresponding interocular distances, and the curve function is stored.

[0038] In a second aspect, the present invention provides an automatic iris capture device corresponding to the automatic iris capture method of the first aspect, the device comprising:

[0039] A face image acquisition module, used to acquire face images using a face imaging module;

[0040] A binocular coordinate positioning module, used for locating left eye coordinates and right eye coordinates on the face image;

[0041] The two-eye center coordinate calculation module is used to calculate the two-eye center coordinates according to the left eye coordinates and the right eye coordinates;

[0042] A rotation angle acquisition module, used to obtain the rotation angle of the iris imaging module according to the pre-stored relationship between the center coordinates of the two eyes and the rotation angle, wherein the rotation angle includes a horizontal angle and a vertical angle;

[0043] A rotation module, used to rotate the iris imaging module according to a rotation angle;

[0044] The image acquisition module is used to simultaneously acquire iris images and face images using the iris imaging module and the face imaging module.

[0045] Furthermore, the automatic iris capture device also includes:

[0046] An interocular distance calculation module, used to calculate the interocular distance according to the left eye coordinates and the right eye coordinates;

[0047] A distance acquisition module, used to obtain the distance between the face imaging module and the center of the two eyes according to the pre-stored relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes;

[0048] The focusing module is used to focus the iris imaging module according to the distance between the face imaging module and the centers of the two eyes.

[0049] Furthermore, the automatic iris capture device also includes:

[0050] The distance measuring module is used to measure the distance between the laser distance sensor and the user through the laser distance sensor;

[0051] The comparison module is used to calculate the deviation between the distance between the laser distance sensor and the user and the distance between the face imaging module and the center of the two eyes, and to determine whether the deviation is within a preset range. If so, it means that the distance between the face imaging module and the center of the two eyes is correct. Otherwise, an error prompt is given.

[0052] Furthermore, the automatic iris capture device also includes:

[0053] The detection module is used to collect an iris image using an iris imaging module, and detect the positions of eyes, mouth, nose, hair and / or eyebrows in the iris image, and rotate the iris imaging module according to the positions of the eyes, mouth, nose, hair and / or eyebrows, wherein:

[0054] If only one eye is detected and the eye is on the left side of the iris image, the iris imaging module is rotated to the left by a set angle;

[0055] If only one eye is detected and the eye is on the right side of the iris image, the iris imaging module is rotated rightward by a set angle;

[0056] If no eyes are detected and only the mouth and / or nose are detected, the iris imaging module is rotated upward by a set angle;

[0057] If no eyes are detected and only hair and / or eyebrows are detected, the iris imaging module is rotated downward by a set angle.

[0058] Furthermore, the relationship between the center coordinates of the two eyes and the rotation angle is obtained by the following unit:

[0059] An actual position coordinate determination unit, used to determine a number of actual position coordinates, and respectively make the centers of the two eyes of the user be located at these actual position coordinates;

[0060] A rotation angle acquisition unit, used to adjust the rotation angle of the iris imaging module for each actual position coordinate, collect iris images through the iris imaging module, and make the two eyes imaged at a suitable position;

[0061] A first storage unit, used to store a plurality of actual position coordinates and their corresponding rotation angles of the iris imaging module;

[0062] The relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes is obtained through the following units:

[0063] An actual distance determination unit, used to determine the actual distances between several face imaging modules and the centers of the two eyes, and to place the centers of the two eyes of the user at these actual distances respectively;

[0064] The interocular distance acquisition unit is used to collect a face image through a face imaging module for each actual distance, and obtain the interocular distance from the face image;

[0065] The second storage unit is used to store a plurality of actual distances and their corresponding inter-eye distances.

[0066] Furthermore, the first storage unit is further used for:

[0067] Fitting a surface function according to a number of actual position coordinates and their corresponding rotation angles of the iris imaging module, and storing the surface function;

[0068] The second storage unit is further used for:

[0069] A curve function is obtained by fitting according to a number of actual distances and their corresponding interocular distances, and the curve function is stored.

[0070] In a third aspect, the present invention provides a computer-readable storage medium for automatic iris capture, comprising a memory for storing processor-executable instructions, wherein the instructions, when executed by the processor, implement the steps of the automatic iris capture method described in the first aspect.

[0071] In a fourth aspect, the present invention provides a device for automatic iris capture, comprising at least one processor and a memory storing computer executable instructions, wherein the processor implements the steps of the automatic iris capture method described in the first aspect when executing the instructions.

[0072] The present invention has the following beneficial effects:

[0073] The present invention uses the facial image collected by the facial imaging module to locate the center position of both eyes, and automatically rotates the iris imaging module according to the center position of both eyes, so as to quickly and accurately collect the user's facial and iris image information. The present invention can help users of different heights / distances to quickly complete iris information collection, almost without any cooperation; and avoids the defects of the traditional face and iris that need to be collected twice and cannot ensure that the iris and facial information are the information of the same person. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 is a flow chart of the automatic iris capture method of the present invention;

[0075] Figure 2 This is an example diagram of 9 sets of actual position coordinates;

[0076] Figure 3-6 They are schematic diagrams of different examples of the automatic iris capturing device of the present invention. DETAILED DESCRIPTION

[0077] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0078] Embodiment 1:

[0079] The embodiment of the present invention provides a method for automatically capturing irises. Figure 1 As shown, the method includes:

[0080] S100: Collecting a face image using a face imaging module.

[0081] Since the iris image belongs to the eye area image of the human face, the iris information capture can assist in positioning through the facial area, so the present invention first collects the facial image through the facial imaging module.

[0082] The face imaging module is installed in a fixed position and does not move. The field of view of the face imaging module is large. The shooting range at a distance of 1 meter can cover the face area of ​​people with a height of 1.2 meters to 2.2 meters. When the user appears within 3 meters in front of the face imaging module, the face imaging module automatically captures the user's face image.

[0083] S200: Locate the left eye coordinates and the right eye coordinates on the face image.

[0084] In this step, the face detection and positioning algorithm is used to quickly locate the position of the face and give the coordinate points of both eyes (left eye coordinates (x1, y1), right eye coordinates (x2, y2)).

[0085] In this step, the SSD face detector can be used to detect the face image, and then the TDCNN method can be used to locate the key points on the acquired face image, and five key points can be obtained: the left eye center point, the right eye center point, the nose tip point, the left mouth corner point and the right mouth corner point. It should be noted that the face detector is not limited to SSD, and CRAFT, ADABOOST, etc. can also be used. Similarly, the face key point location method is not limited to using TDCNN, and SDM, etc. can also be used. This step only needs to obtain the coordinates of both eyes of the face image.

[0086] S300: Calculating the center coordinates of both eyes according to the left eye coordinates and the right eye coordinates.

[0087] The coordinates of the centers of both eyes are (x', y'), where x'=(x1+x2) / 2 and y'=(y1+y2) / 2.

[0088] S400: Obtaining the rotation angle of the iris imaging module according to the pre-stored relationship between the center coordinates of both eyes and the rotation angle, where the rotation angle includes a lateral angle (x3°) and a longitudinal angle (y3°).

[0089] The center coordinates of both eyes can quantitatively indicate the position of the user, that is, the relative position relationship between the user and the imaging module. According to the relative position relationship between the user and the imaging module, we can also know how to adjust the iris imaging module.

[0090] The present invention pre-stores the correspondence between the center coordinates of both eyes and the rotation angle. After calculating the center coordinates of both eyes, the angle that the iris imaging module needs to rotate can be obtained according to the pre-stored correspondence, and the rotation angle includes angles in two directions, the horizontal angle and the vertical angle.

[0091] S500: Rotate the iris imaging module according to the rotation angle.

[0092] The iris imaging module is mounted on a rotating platform and can be rotated up and down (longitudinal angle) and left and right (lateral angle). By rotating the iris imaging module according to the rotation angle obtained above, the images of both eyes can be placed at the appropriate positions in the image.

[0093] S600: Using the iris imaging module and the face imaging module to simultaneously collect iris images and face images, and obtain required iris images and face images for subsequent iris recognition authentication and face recognition authentication.

[0094] In this step, when the iris imaging module collects iris images, the face imaging module collects face images at the same time. The collected iris images and face images are used for subsequent iris recognition authentication and face recognition authentication.

[0095] Traditionally, face and iris need to be collected twice and cannot ensure that the iris and face information are the information of the same person. After the iris imaging module is rotated, the present invention uses the iris imaging module and the face imaging module to collect the iris image and the face image at the same time, avoiding the defects of traditional face and iris need to be collected twice and cannot ensure that the iris and face information are the information of the same person. In addition, the iris image and the face image can be identified and compared at the same time, which can further improve the accuracy of identification without adding additional actions.

[0096] The present invention uses the facial image collected by the facial imaging module to locate the center position of both eyes, and automatically rotates the iris imaging module according to the center position of both eyes, so as to quickly and accurately collect the user's facial and iris image information. The present invention can help users of different heights / distances to quickly complete iris information collection, almost without any cooperation; and avoids the defects of the traditional face and iris that need to be collected twice and cannot ensure that the iris and facial information are the information of the same person.

[0097] The iris imaging module of the present invention is an auto-focus module, and after the iris imaging module is rotated into place, it also performs an auto-focus function. The method of the present invention also includes:

[0098] S100': Calculate the inter-eye distance according to the left eye coordinates and the right eye coordinates.

[0099] The distance between the two eyes of a face is generally represented by the number of pixels between the two eyes. Generally, the left eye and the right eye are at the same height, so the distance between the two eyes is m=|x1-x2|, with the unit being pixel (pix).

[0100] S200': obtaining the distance between the face imaging module and the centers of the two eyes according to the pre-stored relationship between the interocular distance and the distance between the face imaging module and the centers of the two eyes.

[0101] According to the principle of "closer is bigger, farther is smaller" in imaging, for the same imaging module, if the distance between the two eyes is large, the user is close to the imaging module, and if the distance between the two eyes is small, the user is far from the imaging module. Therefore, the distance between the face imaging module and the center of the two eyes can be determined based on the distance between the two eyes.

[0102] The specific method is: pre-store the relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes, and then obtain the distance between the face imaging module and the center of the two eyes through the corresponding relationship based on the calculated interocular distance. The distance can be represented by the symbol n, and the unit is cm.

[0103] S300': focusing the iris imaging module according to the distance between the face imaging module and the centers of the two eyes.

[0104] After the facial imaging module rotates to find the focus of the user's eye area, it uses the distance information n obtained in the previous step to perform fast autofocus, and can assist the image clarity judgment algorithm to automatically focus and capture a clear iris image.

[0105] The above S100 ′ to S300 ′ are executed sequentially, and S100 ′ to S300 ′ are executed between S200 and S600 , and S300 ′ is executed after S500 .

[0106] As an improvement of the present invention, before S600, it also includes:

[0107] S100”: The distance between the laser distance sensor and the user is measured by the laser distance sensor.

[0108] The distance is the straight-line distance between the laser distance sensor and the user. The distance can be represented by the symbol z, and the unit is cm.

[0109] S200”: Calculate the deviation between the distance between the laser distance sensor and the user and the distance between the face imaging module and the centers of the two eyes, and determine whether the deviation is within a preset range. If so, it means that the distance between the face imaging module and the centers of the two eyes is correct. Otherwise, an error prompt is given.

[0110] In this step, the straight-line distance value z between the laser distance sensor and the user will be used as an auxiliary judgment value. If the deviation between z and n is large, it means that an abnormality has occurred. A voice prompt for operating specifications can be given and the size of n can be recalculated. Otherwise, it is normal and the distance n between the facial imaging module and the center of the two eyes is correct.

[0111] The above S100" to S200" are executed sequentially, and S100" to S200" are executed between S100 and S600, and S200" is executed after S200'.

[0112] If the iris is not in the accurate focus position after the iris imaging module rotates to focus, secondary correction and fine-tuning can be performed through the partial face information captured by the iris lens. In this case, S500 also includes:

[0113] S510: using an iris imaging module to collect an iris image, and detecting the positions of eyes, mouth, nose, hair and / or eyebrows in the iris image by using a detection and positioning algorithm, and rotating the iris imaging module according to the positions of the eyes, mouth, nose, hair and / or eyebrows, wherein:

[0114] If only one eye is detected and the eye is on the left side of the iris image, the iris imaging module is rotated to the left by a set angle.

[0115] If only one eye is detected and the eye is on the right side of the iris image, the iris imaging module is rotated rightward by a set angle.

[0116] If no eyes are detected and only the mouth and / or nose are detected, the iris imaging module is rotated upward by a set angle.

[0117] If no eyes are detected and only hair and / or eyebrows are detected, the iris imaging module is rotated downward by a set angle.

[0118] The aforementioned set angle is determined according to actual conditions such as the characteristics of the iris imaging module, and may be 2°, for example.

[0119] In the present invention, since the field of view and pixel number of different face imaging modules may vary, after determining the face imaging module, the data calculation method of calibrating x3° and y3° can be adopted by enumerating different actual positions of the user. That is, the relationship between the coordinates of the center of the two eyes and the rotation angle is obtained by the following method:

[0120] S1: Determine a number of actual position coordinates, and make the centers of the two eyes of the user be located at these actual position coordinates respectively.

[0121] For example, Figure 2 As shown, the actual measurement determines 9 sets of coordinate positions: (up (0, 300), down (0, -300), left (200, 0), right (-200, 0), upper left (-200, 300), upper right (200, 300), lower left (-200, -300), lower right (200, -300), (0, 0)), and the user places the center positions of the two eyes of the face under these nine sets of positions in order.

[0122] S2: For each actual position coordinate, adjust the rotation angle of the iris imaging module, collect iris images through the iris imaging module, and make the images of both eyes at appropriate positions.

[0123] The rotation angle values ​​(x3°, y3°) corresponding to these nine groups of positions are counted respectively, for example, they can be (0°, 30°), (0°, -30°), (-20°, 0°), (20°, 0°), (-20°, 30°), (20°, 30°), (-20°, -30°), (20°, -30°), (0°, 0°).

[0124] S4: storing a plurality of actual position coordinates and their corresponding rotation angles of the iris imaging module as the aforementioned relationship between the center coordinates of the two eyes and the rotation angles.

[0125] After storing the above correspondence, deduce according to the correspondence. Assuming that the user comes in front of the device and the center coordinates of both eyes are obtained as (150', 200'), then refer to the value of "upper right (200, 300)-(20°, 30°), and the rotation angle is (15°, 20°).

[0126] In this step, a surface function may be obtained by fitting according to a number of actual position coordinates and their corresponding rotation angles of the iris imaging module, and the surface function may be stored.

[0127] For example, by performing surface fitting through the aforementioned nine groups of positions and corresponding rotation angle values, a surface function can be obtained, and the surface function is stored as the aforementioned relationship between the center coordinates of the two eyes and the rotation angle.

[0128] In the present invention, because the field of view and pixel number of different face imaging modules may vary, after determining the model of the face imaging module, the data calculation method of n (cm) can be calibrated by enumerating different actual distance positions and synchronously calculating the image value m (pix) between the two eyes at the current distance. That is, the relationship between the distance between the two eyes and the distance between the face imaging module and the center of the two eyes is obtained by the following method:

[0129] S1': Determine the actual distances between several face imaging modules and the centers of the two eyes, and make the centers of the two eyes of the user located at these actual distances.

[0130] For example, nine sets of distance data (100cm, 120cm, 150cm, 180cm, 200cm, 220cm, 250cm, 280cm, and 300cm) are actually measured from the center of the user's eyes to the face imaging module, and the user stands at the positions of these nine sets of data in order.

[0131] S2': For each actual distance, a face image is collected by a face imaging module, and the interocular distance is obtained from the face image.

[0132] For example, the pixel number differences m (pix) between the two eyes are counted respectively, which are (100pix, 95pix, 92pix, 88pix, 85pix, 80pix, 72pix, 65pix, 60pix).

[0133] S3': storing a plurality of actual distances and their corresponding interocular distances, that is, the aforementioned relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes.

[0134] After storing the above correspondence, it is deduced according to the correspondence. Assuming that the user comes in front of the device, the difference in the number of pixels between the two eyes obtained through the acquired face image is m=86pix, then the distance between the user and the lens is about n=190cm.

[0135] In this step, a curve function may be obtained by fitting according to a number of actual distances and their corresponding interocular distances, and the curve function may be stored.

[0136] For example, by performing curve fitting through the aforementioned nine groups of actual distances and their corresponding interocular distances, a curve function can be obtained, and the curve function is stored as the relationship between the aforementioned interocular distance and the distance between the facial imaging module and the center of the eyes.

[0137] Embodiment 2:

[0138] The embodiment of the present invention provides an automatic iris capture device, such as Figure 3 As shown, the device comprises:

[0139] The face image acquisition module 100 is used to acquire face images using a face imaging module.

[0140] The binocular coordinate positioning module 200 is used to locate the left eye coordinates and the right eye coordinates on the face image.

[0141] The two-eye center coordinate calculation module 300 is used to calculate the two-eye center coordinates according to the left eye coordinates and the right eye coordinates.

[0142] The rotation angle acquisition module 400 is used to obtain the rotation angle of the iris imaging module according to the pre-stored relationship between the center coordinates of both eyes and the rotation angle. The rotation angle includes a horizontal angle and a vertical angle.

[0143] The rotation module 500 is used to rotate the iris imaging module according to a rotation angle.

[0144] The image acquisition module 600 is used to simultaneously acquire iris images and face images using an iris imaging module and a face imaging module.

[0145] The present invention uses the facial image collected by the facial imaging module to locate the center position of both eyes, and automatically rotates the iris imaging module according to the center position of both eyes, so as to quickly and accurately collect the user's facial and iris image information. The present invention can help users of different heights / distances to quickly complete iris information collection, almost without any cooperation; and avoids the defects of the traditional face and iris that need to be collected twice and cannot ensure that the iris and facial information are the information of the same person.

[0146] The iris imaging module of the present invention is an automatic focusing module, and after the iris imaging module is rotated into place, it also performs an automatic focusing function. Figure 4 As shown, the device of the present invention also includes:

[0147] The interocular distance calculation module 100' is used to calculate the interocular distance according to the left eye coordinates and the right eye coordinates.

[0148] The distance acquisition module 200' is used to obtain the distance between the face imaging module and the center of the two eyes according to the pre-stored relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes.

[0149] The focusing module 300' is used to focus the iris imaging module according to the distance between the face imaging module and the centers of the two eyes.

[0150] As an improvement of the present invention, Figure 5 As shown, the iris automatic capture device also includes:

[0151] The distance measuring module 100 is used to measure the distance between the laser distance sensor and the user through the laser distance sensor.

[0152] The comparison module 200" is used to calculate the deviation between the distance between the laser distance sensor and the user and the distance between the face imaging module and the centers of the two eyes, and to determine whether the deviation is within a preset range. If so, it means that the distance between the face imaging module and the centers of the two eyes is correct. Otherwise, an error prompt is given.

[0153] If the iris is not in the accurate focus position after the iris imaging module rotates to focus, secondary correction and fine-tuning can be performed using the partial face information captured by the iris lens. Figure 6 As shown, the iris automatic capture device also includes:

[0154] The detection module 510 is used to collect an iris image using an iris imaging module, detect the positions of eyes, mouth, nose, hair and / or eyebrows in the iris image, and rotate the iris imaging module according to the positions of the eyes, mouth, nose, hair and / or eyebrows, wherein:

[0155] If only one eye is detected and the eye is on the left side of the iris image, the iris imaging module is rotated to the left by a set angle;

[0156] If only one eye is detected and the eye is on the right side of the iris image, the iris imaging module is rotated rightward by a set angle;

[0157] If no eyes are detected and only the mouth and / or nose are detected, the iris imaging module is rotated upward by a set angle;

[0158] If no eyes are detected and only hair and / or eyebrows are detected, the iris imaging module is rotated downward by a set angle.

[0159] In the present invention, the relationship between the center coordinates of the two eyes and the rotation angle is obtained by the following units:

[0160] The actual position coordinate determining unit is used to determine a number of actual position coordinates and respectively make the centers of the two eyes of the user be located at these actual position coordinates.

[0161] The rotation angle acquisition unit is used to adjust the rotation angle of the iris imaging module for each actual position coordinate, collect iris images through the iris imaging module, and make the two eyes imaged at the appropriate position.

[0162] The first storage unit is used to store a plurality of actual position coordinates and their corresponding rotation angles of the iris imaging module.

[0163] The first storage unit may be further used for:

[0164] A surface function is obtained by fitting according to a number of actual position coordinates and the corresponding rotation angles of the iris imaging module, and the surface function is stored;

[0165] The relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes is obtained through the following units:

[0166] The actual distance determination unit is used to determine the actual distances between several face imaging modules and the centers of the two eyes, and to respectively make the centers of the two eyes of the user be located at these actual distances.

[0167] The interocular distance acquisition unit is used to collect a face image through a face imaging module for each actual distance, and obtain the interocular distance from the face image.

[0168] The second storage unit is used to store a plurality of actual distances and their corresponding inter-eye distances.

[0169] The second storage unit may be further used for:

[0170] A curve function is obtained by fitting according to a number of actual distances and their corresponding interocular distances, and the curve function is stored.

[0171] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those in the aforementioned method embodiment 1. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment 1. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment 1, and will not be repeated here.

[0172] Embodiment 3:

[0173] The method described in the above embodiment 1 provided in this specification can realize the business logic through a computer program and record it on a storage medium, and the storage medium can be read and executed by a computer to realize the effect of the solution described in embodiment 1 of this specification. Therefore, the present invention also provides a computer-readable storage medium for automatic iris capture, including a memory for storing processor-executable instructions, and when the instructions are executed by the processor, the steps of the automatic iris capture method of embodiment 1 are realized.

[0174] The present invention uses the facial image collected by the facial imaging module to locate the center position of both eyes, and automatically rotates the iris imaging module according to the center position of both eyes, so as to quickly and accurately collect the user's facial and iris image information. The present invention can help users of different heights / distances to quickly complete iris information collection, almost without any cooperation; and avoids the defects of the traditional face and iris that need to be collected twice and cannot ensure that the iris and facial information are the information of the same person.

[0175] The storage medium may include a physical device for storing information, which is usually a medium that digitizes the information and then stores it in an electrical, magnetic or optical manner. The storage medium may include: a device that stores information in an electrical energy manner, such as various memories, such as RAM, ROM, etc.; a device that stores information in a magnetic energy manner, such as a hard disk, a floppy disk, a magnetic tape, a magnetic core memory, a magnetic bubble memory, a USB flash drive; a device that stores information in an optical manner, such as a CD or a DVD. Of course, there are other readable storage media, such as quantum memory, graphene memory, etc.

[0176] The above-mentioned device may also include other implementations according to the description of method embodiment 1. The specific implementation methods may refer to the description of the relevant method embodiment 1, and will not be described one by one here.

[0177] Embodiment 4:

[0178] The present invention also provides a device for automatic iris capture, which may be a separate computer, or may include an actual operating device using one or more of the methods or one or more of the embodiments of this specification. The device for automatic iris capture may include at least one processor and a memory storing computer executable instructions, and when the processor executes the instructions, the steps of the automatic iris capture method described in any one or more of the embodiments 1 are implemented.

[0179] The present invention uses the facial image collected by the facial imaging module to locate the center position of both eyes, and automatically rotates the iris imaging module according to the center position of both eyes, so as to quickly and accurately collect the user's facial and iris image information. The present invention can help users of different heights / distances to quickly complete iris information collection, almost without any cooperation; and avoids the defects of the traditional face and iris that need to be collected twice and cannot ensure that the iris and facial information are the information of the same person.

[0180] The above-mentioned device may also include other implementation modes according to the description of the method or device embodiment. The specific implementation mode may refer to the description of the relevant method embodiment 1, and will not be described one by one here.

[0181] It should be noted that the device or system described above in this specification may also include other implementation methods according to the description of the relevant method embodiments. The specific implementation methods can refer to the description of the method embodiments, which will not be described one by one here. The various embodiments in this specification are described in a progressive manner, and the same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program type and storage medium + program embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0182] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0183] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0184] For the convenience of description, the above devices are described in various modules according to their functions. Of course, when implementing one or more of the present specification, the functions of each module can be implemented in the same or more software and / or hardware, or the module implementing the same function can be implemented by a combination of multiple sub-modules or sub-units, etc. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0185] Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be made to implement the same function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules for implementing the method and structures within the hardware component.

[0186] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0187] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0188] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0189] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0190] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method or device including the element.

[0191] It should be understood by those skilled in the art that one or more embodiments of the present specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of the present specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0192] One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0193] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of contradiction, a person skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0194] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. They should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An automatic iris capture method, characterized in that: The method comprises: Use the face imaging module to collect face images; Locating left eye coordinates and right eye coordinates on the face image; Calculate the center coordinates of both eyes according to the left eye coordinates and the right eye coordinates; Obtaining the rotation angle of the iris imaging module according to the pre-stored relationship between the center coordinates of the two eyes and the rotation angle, wherein the rotation angle includes a horizontal angle and a vertical angle; Rotate the iris imaging module according to the rotation angle; Use the iris imaging module and the face imaging module to simultaneously collect iris images and face images; The relationship between the center coordinates of the two eyes and the rotation angle is obtained by the following method: Determine a number of actual position coordinates, and make the centers of the two eyes of the user be located at these actual position coordinates respectively; For each actual position coordinate, the rotation angle of the iris imaging module is adjusted, the iris image is collected through the iris imaging module, and the images of both eyes are placed at appropriate positions; Storing a number of actual position coordinates and their corresponding rotation angles of the iris imaging module; The relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes is obtained by the following method: Determine the actual distances between several face imaging modules and the centers of the two eyes, and make the centers of the two eyes of the user be located at these actual distances respectively; For each actual distance, a face image is collected by a face imaging module, and the interocular distance is obtained from the face image; Store several actual distances and their corresponding interocular distances; The method of using the iris imaging module and the face imaging module to simultaneously collect the iris image and the face image also includes: Calculate the interocular distance based on the left eye coordinates and the right eye coordinates; Obtaining the distance between the center of the face imaging module and the two eyes according to the pre-stored relationship between the distance between the two eyes and the distance between the center of the face imaging module and the two eyes; The iris imaging module is focused according to the distance between the face imaging module and the center of the two eyes.

2. The automatic iris capture method according to claim 1, characterized in that: The method of using the iris imaging module and the face imaging module to simultaneously collect the iris image and the face image also includes: The distance between the laser distance sensor and the user is measured by the laser distance sensor; Calculate the deviation between the distance between the laser distance sensor and the user and the distance between the face imaging module and the center of the two eyes, and determine whether the deviation is within the preset range. If so, it means that the distance between the face imaging module and the center of the two eyes is correct. Otherwise, an error prompt is given.

3. The automatic iris capture method according to claim 1 or 2, characterized in that: The step of rotating the iris imaging module according to the rotation angle further comprises: An iris image is collected using an iris imaging module, and the positions of eyes, mouth, nose, hair and / or eyebrows in the iris image are detected, and the iris imaging module is rotated according to the positions of the eyes, mouth, nose, hair and / or eyebrows, wherein: If only one eye is detected and the eye is on the left side of the iris image, the iris imaging module is rotated to the left by a set angle; If only one eye is detected and the eye is on the right side of the iris image, the iris imaging module is rotated rightward by a set angle; If no eyes are detected and only the mouth and / or nose are detected, the iris imaging module is rotated upward by a set angle; If no eyes are detected and only hair and / or eyebrows are detected, the iris imaging module is rotated downward by a set angle.

4. The automatic iris capture method according to claim 3, characterized in that: The storing of a plurality of actual position coordinates and their corresponding rotation angles of the iris imaging module comprises: Fitting a surface function according to a number of actual position coordinates and their corresponding rotation angles of the iris imaging module, and storing the surface function; The storing of a plurality of actual distances and their corresponding interocular distances comprises: A curve function is obtained by fitting according to a number of actual distances and their corresponding interocular distances, and the curve function is stored.

5. An automatic iris capture device, characterized in that: The device comprises: A face image acquisition module, used to acquire face images using a face imaging module; A binocular coordinate positioning module, used for locating the left eye coordinate and the right eye coordinate on the face image; The two-eye center coordinate calculation module is used to calculate the two-eye center coordinates according to the left eye coordinates and the right eye coordinates; A rotation angle acquisition module, used to obtain the rotation angle of the iris imaging module according to the pre-stored relationship between the center coordinates of the two eyes and the rotation angle, wherein the rotation angle includes a horizontal angle and a vertical angle; A rotation module, used to rotate the iris imaging module according to a rotation angle; An image acquisition module, used to simultaneously acquire iris images and face images using an iris imaging module and a face imaging module; The relationship between the center coordinates of the two eyes and the rotation angle is obtained through the following units: An actual position coordinate determination unit, used to determine a number of actual position coordinates, and respectively make the centers of the two eyes of the user be located at these actual position coordinates; A rotation angle acquisition unit, used to adjust the rotation angle of the iris imaging module for each actual position coordinate, collect iris images through the iris imaging module, and make the two eyes imaged at a suitable position; A first storage unit, used to store a plurality of actual position coordinates and their corresponding rotation angles of the iris imaging module; The relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes is obtained through the following units: An actual distance determination unit, used to determine the actual distances between several face imaging modules and the centers of the two eyes, and to place the centers of the two eyes of the user at these actual distances respectively; The interocular distance acquisition unit is used to collect a face image through a face imaging module for each actual distance, and obtain the interocular distance from the face image; A second storage unit is used to store a plurality of actual distances and their corresponding inter-eye distances; The iris automatic capturing device also includes: An interocular distance calculation module, used to calculate the interocular distance according to the left eye coordinates and the right eye coordinates; A distance acquisition module, used to obtain the distance between the face imaging module and the center of the two eyes according to the pre-stored relationship between the interocular distance and the distance between the face imaging module and the center of the two eyes; The focusing module is used to focus the iris imaging module according to the distance between the face imaging module and the centers of the two eyes.

6. A computer-readable storage medium for automatic iris capture, characterized in that: It comprises a memory for storing processor executable instructions, and when the instructions are executed by the processor, the steps of the automatic iris capture method according to any one of claims 1 to 4 are implemented.

7. A device for automatic iris capture, characterized in that: The method comprises at least one processor and a memory storing computer executable instructions, wherein when the processor executes the instructions, the steps of the automatic iris capture method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Automatic-tracking and automatic-zooming method for acquiring iris images

    CN101520838A

  • Apparatus and method for acquiring image for iris recognition using distance of facial feature

    CN105874473A

  • Automatic focusing type iris image acquisition method and device

    CN110210333A