Iris image acquisition method and system, iris lock and medium
By designing an iris image collection method assisted by a display screen and a fill light in the iris lock, and determining the collection method based on environmental brightness and pupil information, the problems of complex iris lock collection processes and poor user experience in the existing technology are solved, and a better Efficient iris image collection and better user experience.
Patent Information
- Application Number
- CN202410654657.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-06
AI Technical Summary
Existing iris locks have problems such as complex operating procedures, limited scenarios and poor user experience when collecting iris images, making it difficult to meet the needs of intelligent use.
By designing a display-assisted iris image collection method in the iris lock and an iris image collection method assisted by the display screen and fill light, the collection method is determined based on the ambient brightness and pupil information, multiple iris images are collected and stored, simplifying the collection process and enhancing the user experience. .
It enriches the collection scenarios of iris images, simplifies the collection process, improves the collection accuracy and user experience of iris images, and meets the users' needs for intelligent use of iris locks.
Smart Images

Figure CN118609253A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent electronic locks, and in particular to an iris image acquisition method, system, iris lock and medium. Background Art
[0002] With the development of science and technology, biometric technology has become one of the important means in the field of information security. Among them, iris recognition technology is widely used in many fields such as financial payment due to its high precision, high stability and difficulty in forging.
[0003] In the application of iris recognition in smart door locks, the iris will contract and dilate with the change of light intensity, causing the size of the pupil to change accordingly. That is, in strong light, the pupil shrinks, and in weak light and darkness, the pupil expands. Currently, most iris locks only support one user to enter an iris image as an iris template, so in some scenarios, the user's pupil size is too different from the input time, resulting in iris recognition failure, especially in strong light, the iris image is not recognized or the rejection rate is high.
[0004] The related technology improves the above-mentioned problem by supporting users to record multiple iris images, but users are required to record in multiple scenes, such as morning, noon, evening, night, and even cloudy and sunny days. That is, the more scenes are recorded, the higher the success rate of iris image recognition will be. However, this type of multi-scene multiple recording operation is more troublesome for users in the way of collecting iris images, and there are problems such as cumbersome operation and scene limitations, which greatly affects the user experience of iris lock.
[0005] In summary, the iris image acquisition in the existing iris lock requires users to collect iris images multiple times in multiple scenarios, which has the problems of complex operation process and poor user experience, and it is difficult to meet the user's demand for intelligent use of iris lock. Summary of the invention
[0006] In view of this, the present invention provides an iris image acquisition method, system, iris lock and medium to solve the problems of the existing iris image acquisition process being complicated, scene limitations, poor user experience, and difficulty in meeting the intelligent use requirements of the iris lock.
[0007] In a first aspect, the present invention provides an iris image acquisition method, which is applied to an iris lock, wherein the iris lock comprises: a display screen, a fill light, and an iris module, wherein the iris module is used to acquire an iris image, and the display screen is used to display the iris image. The method comprises:
[0008] Obtain the current environment image of the target iris lock and the current eye image of the target user;
[0009] Determine a corresponding image acquisition mode based on the current environment image and / or the current eye image, the image acquisition mode including a first acquisition mode and a second acquisition mode; wherein the first acquisition mode is a display screen assisted acquisition mode, and the second acquisition mode is a display screen and a fill light assisted acquisition mode;
[0010] The iris image of the target user is collected based on the image collection method.
[0011] The present invention designs an iris image acquisition method including display screen assisted acquisition and display screen and fill light jointly assisted acquisition, and determines the corresponding image acquisition method through the current environment image of the target iris lock and the current eye image of the target user, so as to realize the acquisition of the iris image of the target user, enrich the acquisition scenarios of the iris image, simplify the acquisition process of the iris image, enhance the user's usage experience to a certain extent, and meet the user's demand for intelligent use of the iris lock.
[0012] In an optional implementation, determining a corresponding image acquisition method based on the current environment image includes:
[0013] Perform brightness detection on the current environment image to obtain the current environment brightness;
[0014] Determine whether the current environment brightness is less than the preset brightness threshold;
[0015] When the current environment brightness is less than a preset brightness threshold, determining the corresponding image acquisition mode to be the first acquisition mode;
[0016] When the current environment brightness is not less than the preset brightness threshold, the corresponding image acquisition mode is determined to be the second acquisition mode.
[0017] The present invention determines the corresponding image acquisition mode by judging the size of the current environment brightness and the set brightness threshold, which can ensure the determination accuracy of the image acquisition mode, help improve the acquisition accuracy of subsequent iris images, and enhance the user experience.
[0018] In an optional implementation, determining a corresponding image acquisition mode based on the current eye image includes:
[0019] Perform pupil detection on the current eye image to obtain current pupil information;
[0020] Determining pupil change information based on current pupil information and preset standard pupil information;
[0021] Determine whether pupil change information is less than a preset change threshold;
[0022] When the pupil change information is not less than a preset change threshold, determining the corresponding image acquisition mode to be the first acquisition mode;
[0023] When the pupil change information is less than a preset change threshold, the corresponding image acquisition mode is determined to be the second acquisition mode.
[0024] The present invention determines the corresponding image acquisition method by judging the size of the current pupil information and the set change threshold, which can ensure the determination accuracy of the image acquisition method, help improve the acquisition accuracy of subsequent iris images, and enhance the user experience.
[0025] In an optional implementation, determining a corresponding image acquisition mode based on a current environment image and a current eye image includes:
[0026] Perform brightness detection on the current environment image to obtain the current environment brightness;
[0027] Perform pupil detection on the current eye image to obtain current pupil information, and determine pupil change information based on the current pupil information and preset standard pupil information;
[0028] Determine whether the current environment brightness is less than a preset brightness threshold and whether the pupil change information is less than a preset change threshold;
[0029] When the current environment brightness is less than a preset brightness threshold, and the pupil change information is not less than a preset change threshold, determining that the corresponding image acquisition mode is the first acquisition mode;
[0030] When the current environment brightness is not less than a preset brightness threshold, or the pupil change information is less than a preset change threshold, the corresponding image acquisition mode is determined to be the second acquisition mode.
[0031] The present invention determines the corresponding image acquisition method through a dual determination process of the current pupil information and its set change threshold, and the current pupil information and its set change threshold, which can ensure the determination accuracy of the image acquisition method, help improve the acquisition accuracy of subsequent iris images, and meet the user's demand for intelligent use of iris locks.
[0032] In an optional implementation, when the image acquisition mode is the first acquisition mode, acquiring the iris image of the target user based on the image acquisition mode includes:
[0033] The backlight of the display screen is set based on the preset backlight display condition, and the preset backlight display condition is the brightness corresponding to different light intensities in different time periods;
[0034] Collect multiple iris images of the target user and obtain the collection time corresponding to each iris image;
[0035] Selecting a target iris image from a plurality of iris images;
[0036] The target iris image is stored based on the acquisition time corresponding to the target iris image.
[0037] The present invention can provide different acquisition scenes by setting the backlight of the display screen to display brightness corresponding to different light intensities in different time periods, and obtain and store iris images with good quality in the corresponding acquisition scenes to achieve the acquisition of multi-template iris images. The acquisition quality of iris images can be guaranteed, the acquisition process of iris images is simplified, the user experience is further enhanced, and the user's demand for intelligent use of iris locks is met.
[0038] In an optional implementation, when the image acquisition mode is the second acquisition mode, acquiring the iris image of the target user based on the image acquisition mode includes:
[0039] The backlight of the display screen is set based on the preset backlight display conditions, and the fill light is turned on to provide light supplement of the preset brightness;
[0040] Collect multiple iris images of the target user and obtain the collection time corresponding to each iris image;
[0041] Selecting a target iris image from a plurality of iris images;
[0042] The target iris image is stored based on the acquisition time corresponding to the target iris image.
[0043] When the image acquisition mode is a display screen and a fill light jointly assisting the acquisition mode, the present invention uses the brightness of the fill light to supplement, and sets the backlight of the display screen by correspondingly displaying brightnesses of different light intensities in different time periods, thereby providing different acquisition scenes, and acquiring high-quality iris images in corresponding acquisition scenes for storage, so as to achieve the acquisition of multi-template iris images, ensure the acquisition quality of iris images, simplify the acquisition process of iris images, help enhance the user experience, and meet the user's demand for intelligent use of iris locks.
[0044] In an optional implementation, the target iris image includes a left eye iris image and a right eye iris image, and selecting the target iris image from the plurality of iris images includes:
[0045] Preprocessing the multiple iris images respectively, wherein the preprocessing method includes at least one of data denoising, data cleaning, data enhancement, data normalization and standardization;
[0046] Calculate the similarity between each preprocessed iris image and a preset standard iris image;
[0047] Determine a candidate iris image based on the similarity calculation result;
[0048] Segment the candidate iris image to obtain a left eye iris image and a right eye iris image respectively;
[0049] A target iris image is obtained based on the left-eye iris image and the right-eye iris image.
[0050] The present invention determines candidate iris images by preprocessing the iris images and performing similarity calculations, and then segmenting the candidate iris images to obtain a target iris image including a left eye iris image and a right eye iris image, thereby improving the quality of the target iris image and further enhancing the user experience.
[0051] In a second aspect, the present invention provides an iris image acquisition system, which is applied to an iris lock. The iris lock includes: a display screen, a fill light, and an iris module, wherein the iris module is used to acquire an iris image, and the display screen is used to display an iris image. The system includes:
[0052] An acquisition module, used to acquire the current environment image of the target iris lock and the current eye image of the target user;
[0053] A determination module, used to determine a corresponding image acquisition mode based on the current environment image and / or the current eye image, where the image acquisition mode includes a first acquisition mode and a second acquisition mode; wherein the first acquisition mode is a display screen assisted acquisition mode, and the second acquisition mode is a display screen and a fill light jointly assisted acquisition mode;
[0054] The acquisition module is used to acquire the iris image of the target user based on the image acquisition method.
[0055] The iris image acquisition system of the present invention can enrich the iris image acquisition scenarios and simplify the iris image acquisition process by designing different iris image acquisition methods, which helps to enhance the user experience and meet the user's demand for intelligent use of iris locks.
[0056] In a third aspect, the present invention provides an iris lock, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes an iris image acquisition method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0057] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute an iris image acquisition method according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 is a schematic flow chart of an iris image acquisition method according to an embodiment of the present invention;
[0060] Figure 2 is a schematic diagram of an iris image acquisition method;
[0061] Figure 3 is a schematic diagram of another iris image acquisition method;
[0062] Figure 4 is a schematic diagram of an iris image;
[0063] Figure 5 is a structural block diagram of an iris image acquisition system according to an embodiment of the present invention;
[0064] Figure 6 It is a schematic diagram of the structure of an iris lock according to an embodiment of the present invention. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0066] An embodiment of the present invention provides an embodiment of an iris image acquisition method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0067] It should be noted that the iris image acquisition method provided in this embodiment is an iris image acquisition method proposed based on the basic components of existing iris locks. That is, this type of iris lock includes: a display screen, a fill light, and an iris module. Among them, the iris module is used to collect iris images, which mainly illuminates the user's eye area through multiple groups of infrared lighting sources, and the iris telephoto lens captures clear iris images and displays them on the iris display screen; the iris display screen is a conventional high-definition large screen, and the specific parameters of the screen can be adaptively adjusted based on the actual manufacturer and project requirements.
[0068] In this embodiment, an iris image acquisition method is provided, which is applied to an iris lock. The iris lock includes: a display screen, a fill light, and an iris module. The iris module is used to acquire iris images, and the display screen is used to display iris images. Figure 1 FIG. 1 is a flow chart of an iris image acquisition method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0069] Step S101, obtaining a current environment image of a target iris lock and a current eye image of a target user.
[0070] It should be noted that the specific means of obtaining the current environment image of the target iris lock and the current eye image of the target user in this embodiment are not limited here, and are adaptively adjusted based on actual needs. For example, for the target iris lock, assuming that it is equipped with an infrared camera, an ordinary camera or other image acquisition device, the current environment image and the current eye image can be directly obtained through different devices; or after obtaining an image containing the target user through different devices, the image is segmented to obtain the current environment image and the current eye image, which is only used as an example.
[0071] Step S102, determining a corresponding image acquisition method based on the current environment image and / or the current eye image, the image acquisition method including a first acquisition method and a second acquisition method; wherein the first acquisition method is a display screen assisted acquisition method, and the second acquisition method is a display screen and a fill light jointly assisted acquisition method.
[0072] It should be noted that, in this embodiment, the influence of different brightness on the user's pupil and the need for automatic collection of multi-template iris images are taken into consideration, and a display screen assisted collection method is proposed in collection scenarios where brightness has a great influence on pupil changes, as well as a display screen and fill light jointly assisted collection method for realizing pupil changes with the help of a fill light when brightness has little influence on pupil changes. Corresponding judgment processes are designed that only consider the current environment image, only consider the current eye image, and consider both to determine the final image collection method, which can realize the effective collection of the target user's iris image, enrich the collection scenarios of the iris image, and simplify the collection process of the iris image, which helps to improve the user experience and meet the user's demand for intelligent use of the iris lock.
[0073] Step S103: collecting the iris image of the target user based on the image collection method.
[0074] The embodiment of the present invention designs an iris image acquisition method that includes display screen assisted acquisition and display screen and fill light jointly assisted acquisition, and determines the corresponding image acquisition method through the current environment image of the target iris lock and the current eye image of the target user to realize the acquisition of the iris image of the target user, enriches the acquisition scenarios of the iris image, simplifies the acquisition process of the iris image, enhances the user's usage experience to a certain extent, and meets the user's demand for intelligent use of the iris lock.
[0075] In this embodiment, the final image acquisition method is determined based on the following conditions: only the current environment image is considered, only the current eye image is considered, and both are considered. Specifically, the corresponding image acquisition method is determined based on the current environment image in step S102, including:
[0076] Step A1, performing brightness detection on the current environment image to obtain the current environment brightness.
[0077] In this embodiment, the specific implementation method of brightness detection is not limited here, and is obtained based on conventional operating means in the field. For example, by calculating the average pixel value of the image, and determining the corresponding image brightness based on the average pixel value, the average pixel value of the image can be calculated by calling the mean function of the NumPy library, which is only used as an example.
[0078] Step A2, determining whether the current environment brightness is less than a preset brightness threshold.
[0079] In this embodiment, the specific value of the preset brightness threshold is not limited here and is adaptively adjusted based on actual needs.
[0080] Step A3: when the current environment brightness is less than a preset brightness threshold, determine that the corresponding image acquisition mode is the first acquisition mode.
[0081] Step A4: when the current environment brightness is not less than a preset brightness threshold, determine that the corresponding image acquisition mode is the second acquisition mode.
[0082] In the embodiment of the present invention, the image acquisition method is determined by designing a process for determining the size of the current environment brightness and its preset brightness threshold, thereby ensuring the determination accuracy of the image acquisition method, helping to improve the acquisition accuracy of subsequent iris images, and enhancing the user experience.
[0083] In this embodiment, the step S102 above determines the corresponding image acquisition method based on the current eye image, including:
[0084] Step B1, performing pupil detection on the current eye image to obtain current pupil information.
[0085] In this embodiment, the specific detection method for pupil detection of the current eye image and the specific content of pupil information are not limited here, and can be adaptively obtained based on conventional operating means in the field or actual project requirements. For example, the pupil is identified by using a target detection algorithm, and the current pupil information, including pupil size or dimensions, is obtained based on the detection result, which is only used as an example.
[0086] Step B2, determining pupil change information based on current pupil information and preset standard pupil information.
[0087] It should be noted that the preset standard pupil information in this embodiment is the standard pupil size or dimension obtained by collecting a standard iris image of the target user under a standard brightness environment and extracting pupil information therefrom.
[0088] Step B3, determining whether the pupil change information is less than a preset change threshold.
[0089] In this embodiment, the specific value of the preset change threshold is not limited here and is adaptively adjusted based on actual needs.
[0090] Step B4: when the pupil change information is not less than a preset change threshold, determining the corresponding image acquisition mode as the first acquisition mode.
[0091] Step B5: when the pupil change information is less than a preset change threshold, determining the corresponding image acquisition mode as the second acquisition mode.
[0092] In the embodiment of the present invention, the image acquisition method is determined by designing a size determination process of the current pupil information and the preset change threshold, which can ensure the determination accuracy of the image acquisition method, help improve the acquisition accuracy of subsequent iris images, and enhance the user experience.
[0093] In this embodiment, the corresponding image acquisition method is determined based on the current environment image and the current eye image in the above step S102, including:
[0094] Step C1, performing brightness detection on the current environment image to obtain the current environment brightness.
[0095] Step C2, performing pupil detection on the current eye image to obtain current pupil information, and determining pupil change information based on the current pupil information and preset standard pupil information.
[0096] It should be noted that, for the relevant contents of brightness detection and pupil detection in this embodiment, reference can be made to the foregoing description, and the specific contents involved will not be repeated here.
[0097] Step C3, determining whether the current environment brightness is less than a preset brightness threshold and whether the pupil change information is less than a preset change threshold.
[0098] It should be noted that, in this embodiment, the relevant contents of the preset brightness threshold and the preset change threshold can be found in the foregoing description, and the specific contents involved will not be repeated here.
[0099] Step C4, when the current environment brightness is less than a preset brightness threshold and the pupil change information is not less than a preset change threshold, determining that the corresponding image acquisition mode is the first acquisition mode.
[0100] Step C5, when the current environment brightness is not less than a preset brightness threshold, or the pupil change information is less than a preset change threshold, determining that the corresponding image acquisition mode is the second acquisition mode.
[0101] In the embodiment of the present invention, the image acquisition method is determined by designing a dual judgment process of the current pupil information and its set change threshold, and the current pupil information and its set change threshold. This can ensure the judgment accuracy of the image acquisition method, help improve the acquisition accuracy of subsequent iris images, and meet the user's demand for intelligent use of iris locks.
[0102] In this embodiment, when the image acquisition mode is the first acquisition mode, the step S103 of acquiring the iris image of the target user based on the image acquisition mode includes:
[0103] Step D1, setting the backlight of the display screen based on a preset backlight display condition, wherein the preset backlight display condition is brightness corresponding to different light intensities in different time periods.
[0104] It should be noted that the backlight setting of the display screen in this embodiment means that: in the display screen of the iris lock, a certain area is divided into an iris display area, and the iris display area is used to display the iris image; except for the iris display area, the other areas of the display screen are backlight areas. Specifically, different brightness can be set in the backlight area of the display screen to simulate different light intensities, which can greatly increase the collection scenes of iris images and enrich the collection of iris images under different brightness.
[0105] In this embodiment, the specific contents of the brightness settings of different light intensities are not limited here, and are adaptively adjusted based on actual needs. For example, the brightness includes full black, gray, white weak light, white medium light, white strong light, etc., which are only used as exemplary descriptions.
[0106] Step D2, collecting multiple iris images of the target user, and obtaining the collection time corresponding to each iris image.
[0107] In this embodiment, the means for acquiring the iris image acquisition time is not limited here, and is obtained based on a conventional time acquisition method in the art.
[0108] Step D3, selecting a target iris image from multiple iris images.
[0109] In this embodiment, the selection criteria of the target iris image are not limited here, and can be adaptively adjusted based on actual needs. For example, the iris lock manager can make a judgment and select the iris image that he thinks is good as the target iris image; or, multiple iris images can be sequentially sent to a trained target detection model for prediction, and the target iris image can be determined based on the prediction results, which is just an example.
[0110] Step D4, storing the target iris image based on the acquisition time corresponding to the target iris image.
[0111] In this embodiment, the specific method of storing the target iris image is not limited here, and can be adaptively adjusted based on actual needs. For example, the target iris image is directly stored in the storage module built into the iris lock; or the target iris image is stored in a mobile terminal (such as a mobile phone APP) or a server that can communicate with the iris lock, just as an example.
[0112] In the embodiment of the present invention, the backlight of the display screen is set to display brightness corresponding to different light intensities in different time periods, so that different acquisition scenes can be provided, and good-quality iris images are acquired and stored in the corresponding acquisition scenes to achieve the acquisition of multi-template iris images. The acquisition quality of iris images can be guaranteed, the acquisition process of iris images is simplified, the user experience is further enhanced, and the user's demand for intelligent use of iris locks is met.
[0113] In this embodiment, when the image acquisition mode is the second acquisition mode, the step S103 of acquiring the iris image of the target user based on the image acquisition mode includes:
[0114] Step E1, setting the backlight of the display screen based on the preset backlight display condition, and turning on the fill light to provide light supplement of preset brightness.
[0115] In this embodiment, the specific type of the fill light and its corresponding brightness setting are not limited here, and are all adaptively adjusted based on actual needs. For example, the fill light is an LED light that emits white light or other visible light. By controlling the current of the LED, the light is sequentially presented with several light intensities from dark to bright, and each brightness stays for a certain time, so as to assist in providing the corresponding brightness; or the corresponding light intensity brightness is determined according to the actual brightness demand of the current target user in the environment, and the LED current is controlled based on the light intensity brightness to meet the LED corresponding display of the correct brightness, so as to achieve brightness supplement for the current environment, which is only used as an example.
[0116] Step E2, collecting multiple iris images of the target user, and obtaining the collection time corresponding to each iris image.
[0117] Step E3: selecting a target iris image from multiple iris images.
[0118] Step E4: storing the target iris image based on the acquisition time corresponding to the target iris image.
[0119] It should be noted that the means for obtaining the iris image acquisition time, the basis for selecting the target iris image, and the storage method of the target iris image in this embodiment can be found in the above description, and the specific contents involved are not repeated here.
[0120] In this embodiment, the target iris image includes a left eye iris image and a right eye iris image. Specifically, the above step D3 or step E3 includes:
[0121] Step F1, preprocessing the multiple iris images respectively, wherein the preprocessing method includes at least one of data denoising, data cleaning, data enhancement, data normalization and standardization.
[0122] It should be noted that the specific implementation methods of data denoising, data cleaning, data enhancement, data normalization and standardization in this embodiment are not limited in detail here, and can all be implemented based on actual needs and conventional operating means in the field.
[0123] Step F2, calculating the similarity between each pre-processed iris image and a preset standard iris image.
[0124] In this embodiment, the calculation method of the similarity between the two images is not specifically limited and can be adaptively adjusted based on actual needs. For example, the similarity score between the iris image and the preset standard iris image is obtained through the trained digital twin model, and the iris image most similar to the preset standard iris image is selected according to the score result; or the similarity index between the iris image and the preset standard iris image is calculated, such as Euclidean distance, cosine similarity, etc., and the iris image most similar to the preset standard iris image is selected based on the similarity index, where the preset standard iris image is a standard iris image collected by the target user under a standard brightness environment, which is only for exemplary explanation.
[0125] Step F3, determining a candidate iris image based on the similarity calculation result.
[0126] Step F4, segmenting the candidate iris image to obtain a left eye iris image and a right eye iris image.
[0127] In this embodiment, the specific method of image segmentation is not limited here, and can be obtained based on a commonly used model in the field of image segmentation.
[0128] Step F5, obtaining a target iris image based on the left eye iris image and the right eye iris image.
[0129] In the embodiment of the present invention, the iris image is preprocessed and the similarity is calculated to determine the candidate iris image, and then segmented to obtain the target iris image including the left eye iris image and the right eye iris image, which can improve the quality of the target iris image and further enhance the user experience.
[0130] In a specific embodiment, Figure 2 is a schematic diagram of the iris image acquisition method. Figure 2 It can be seen that this type of image acquisition method is the first acquisition method, that is, the display screen assisted acquisition method. Specifically, when the user registers the iris, in the iris lock display screen, in addition to the iris display area (that is, the iris real-time display area), some backlight areas (that is, other areas of the display screen) are divided to control the display screen backlight to display different light intensities in sequence: all black -> gray -> white weak light -> white medium light -> white strong light. Each backlight stays for a certain period of time, and multiple iris images are collected through the iris lens, and invalid images and low-quality images are deleted, so as to retain an optimal left eye iris image and a right eye iris image as an iris template for storage in each backlight acquisition scenario.
[0131] In this embodiment, for backlight displays of different light intensities and brightness of the display screen, the corresponding backlight display cycle setting can be performed based on time. That is, the iris template collection time under a total of five light intensities and brightnesses, namely, full black -> gray -> white weak light -> white medium light -> white strong light, is limited. Specifically, different iris templates are classified into default time periods, including:
[0132] When the display backlight is completely black, the corresponding time for collecting iris templates is 00:00-05:00 and 20:00-00:00;
[0133] When the display backlight is gray, the corresponding time for collecting iris templates is 16:00-20:00;
[0134] When the display backlight is white and weak, the corresponding time for collecting iris templates is 05:00-08:00;
[0135] When the display backlight is white, the corresponding time for collecting iris templates is: 08:00-08:00 and 14:00-16:00;
[0136] The corresponding time for collecting iris templates when the display backlight is white strong light is 10:00-14:00. It should be noted that this type of time setting can be applied to the target user when performing iris registration to achieve effective collection of multiple template images; or applied to the recognition process of iris images, and control the opening and closing of the template according to the recognition results.
[0137] In a specific embodiment, an iris image recognition process is provided, including: first, obtaining a current iris image of a target user through an iris module of an iris lock, and obtaining a current time when the target user triggers iris recognition; preferentially calling an iris template of a corresponding time period according to the current time to compare with the current iris image, and when the comparison fails, sequentially comparing the current iris image with other time period templates; if all comparisons fail, controlling the iris lock to remain closed; if the current iris image passes the comparison with other time period templates, controlling the iris lock to open.
[0138] Considering the differences in the default time period classification of different iris templates in actual applications and ensuring the accuracy of iris image recognition results, a recognition optimization process is also designed in this embodiment. Specifically, after different users use the iris lock for a period of time, the first priority template is determined according to the statistical data of the iris templates finally compared by each user in different time periods (that is, the iris template with the highest user comparison and recognition is used as the first priority recognition template, and the time period corresponding to other iris templates of each user is corrected at the same time) and the recognition process is prioritized, and then the iris template after the corresponding optimized time period is called according to time for re-recognition. If the recognition result still fails, the remaining iris templates are compared in turn; until an iris template that meets the comparison requirements is obtained to realize the unlocking control of the iris lock; or until all iris templates cannot be successfully matched with the iris image obtained by the user in real time, the iris lock is controlled to maintain the current closed state.
[0139] In yet another specific embodiment, Figure 3 is a schematic diagram of another iris image acquisition method. Figure 3 It can be seen that this type of image acquisition method is the second acquisition method, that is, the display screen and the fill light jointly assist in the acquisition. Specifically, an iris display screen, an iris module and a visible light fill light are set on the front panel of the door lock. Among them, an independent visible light fill light is set next to the iris module area, so that the user can turn on the fill light when registering the iris, so that the fill light displays a single light intensity brightness or presents several light intensity brightnesses from dark to bright in sequence, and each light intensity brightness stays for a certain time, so that the iris lens built into the iris module can capture multiple iris images (that is, the iris module includes a wide-angle fixed-focus lens for the face, and its wide-angle fixed-focus lens for the face tracks the face, and the telephoto infrared lens tracks the eyes. At each light intensity brightness, multiple binocular iris images will be taken), and the iris quality of the left eye and the right eye is judged separately for each iris image (that is, whether there are problems such as closing the eyes and the degree of eye opening), and the iris image containing the best left and right eye corresponding to the best is found, the corresponding left and right binocular iris images are cut, and the best left eye iris image and right eye iris image are obtained and stored as iris templates. Figure 4 is a schematic diagram of an iris image.
[0140] In summary, the embodiments of the present invention utilize the backlight display brightness of the existing iris display screen from dark to strong, or the other visible light fill light intensity from weak to strong, and keep each light intensity for a certain time, so that the iris module of the iris lock can successfully collect iris template images under different light intensities and brightnesses, and finally complete the collection of several groups of iris images corresponding to pupils from large to small under different light intensities and brightnesses, so as to solve the problem that the existing iris image collection requires multiple scenes and multiple collections, has complex operation procedures, and has poor user experience. It greatly enriches the collection scenarios, simplifies the collection process, enhances the user experience, and meets the user's demand for intelligent use of iris locks.
[0141] In this embodiment, an iris image acquisition system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As the term "module" is used below, it can implement a combination of software and / or hardware of a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0142] The present invention provides an iris image acquisition system, which is applied to an iris lock. The iris lock comprises: a display screen, a fill light and an iris module, wherein the iris module is used to acquire iris images, and the display screen is used to display iris images. Figure 5 As shown, the system includes:
[0143] The acquisition module 501 is used to acquire the current environment image of the target iris lock and the current eye image of the target user.
[0144] Determination module 502 is used to determine the corresponding image acquisition method based on the current environment image and / or the current eye image, and the image acquisition method includes a first acquisition method and a second acquisition method; wherein the first acquisition method is a display screen assisted acquisition method, and the second acquisition method is a display screen and a fill light jointly assisted acquisition method.
[0145] The acquisition module 503 is used to acquire the iris image of the target user based on the image acquisition method.
[0146] In some optional embodiments, the determination module 502 includes: a first determination submodule, a second determination submodule, a third determination submodule and a fourth determination submodule; wherein the first determination submodule is used to perform brightness detection on the current environment image to obtain the current environment brightness; the second determination submodule is used to determine whether the current environment brightness is less than a preset brightness threshold; the third determination submodule is used to determine that the corresponding image acquisition method is the first acquisition method when the current environment brightness is less than the preset brightness threshold; the fourth determination submodule is used to determine that the corresponding image acquisition method is the second acquisition method when the current environment brightness is not less than the preset brightness threshold.
[0147] In some optional embodiments, the determination module 502 also includes: a fifth determination submodule, a sixth determination submodule, a seventh determination submodule, an eighth determination submodule and a ninth determination submodule; wherein the fifth determination submodule is used to perform pupil detection on the current eye image to obtain current pupil information; the sixth determination submodule is used to determine pupil change information based on the current pupil information and preset standard pupil information; the seventh determination submodule is used to determine whether the pupil change information is less than a preset change threshold; the eighth determination submodule is used to determine that the corresponding image acquisition method is the first acquisition method when the pupil change information is not less than the preset change threshold; the ninth determination submodule is used to determine that the corresponding image acquisition method is the second acquisition method when the pupil change information is less than the preset change threshold.
[0148] In some optional embodiments, the determination module 502 also includes: a tenth determination submodule, an eleventh determination submodule, a twelfth determination submodule, a thirteenth determination submodule and a fourteenth determination submodule; wherein the tenth determination submodule is used to perform brightness detection on the current environment image to obtain the current environment brightness; the eleventh determination submodule is used to perform pupil detection on the current eye image to obtain current pupil information, and determine pupil change information based on the current pupil information and preset standard pupil information; the twelfth determination submodule is used to respectively determine whether the current environment brightness is less than a preset brightness threshold, and whether the pupil change information is less than a preset change threshold; the thirteenth determination submodule is used to determine that the corresponding image acquisition mode is the first acquisition mode when the current environment brightness is less than the preset brightness threshold and the pupil change information is not less than the preset change threshold; the fourteenth determination submodule is used to determine that the corresponding image acquisition mode is the second acquisition mode when the current environment brightness is not less than the preset brightness threshold, or the pupil change information is less than the preset change threshold.
[0149] In some optional embodiments, the acquisition module 503 includes: a first acquisition submodule, a second acquisition submodule, a third acquisition submodule and a fourth acquisition submodule; wherein the first acquisition submodule is used to set the backlight of the display screen based on a preset backlight display condition, and the preset backlight display condition is the brightness corresponding to different light intensities in different time periods; the second acquisition submodule is used to acquire multiple iris images of the target user and obtain the acquisition time corresponding to each iris image; the third acquisition submodule is used to select a target iris image from multiple iris images; and the fourth acquisition submodule is used to store the target iris image based on the acquisition time corresponding to the target iris image.
[0150] In some optional embodiments, the acquisition module 503 also includes: a fifth acquisition submodule, a sixth acquisition submodule, a seventh acquisition submodule and an eighth acquisition submodule; wherein the fifth acquisition submodule is used to set the backlight of the display screen based on a preset backlight display condition, and turn on the fill light to supplement the light with a preset brightness; the sixth acquisition submodule is used to acquire multiple iris images of the target user and obtain the acquisition time corresponding to each iris image; the seventh acquisition submodule is used to select a target iris image from multiple iris images; and the eighth acquisition submodule is used to store the target iris image based on the acquisition time corresponding to the target iris image.
[0151] In some optional embodiments, the third acquisition submodule or the seventh acquisition submodule includes: a first acquisition unit, a second acquisition unit, a third acquisition unit, a fourth acquisition unit and a fifth acquisition unit; wherein the first acquisition unit is used to preprocess multiple iris images respectively, and the preprocessing method includes at least one of data denoising, data cleaning, data enhancement, data normalization and standardization; the second acquisition unit is used to calculate the similarity between each preprocessed iris image and a preset standard iris image; the third acquisition unit is used to determine the candidate iris image based on the similarity calculation result; the fourth acquisition unit is used to segment the candidate iris image to obtain the left eye iris image and the right eye iris image respectively; the fifth acquisition unit is used to obtain the target iris image based on the left eye iris image and the right eye iris image.
[0152] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0153] The iris image acquisition system in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0154] The iris image acquisition system of the embodiment of the present invention can enrich the iris image acquisition scenarios and simplify the iris image acquisition process by designing different iris image acquisition methods, which helps to enhance the user experience and meet the user's demand for intelligent use of iris locks.
[0155] The present invention also provides an iris lock. Figure 6 , Figure 6 is a schematic diagram of the structure of the iris lock provided by an optional embodiment of the present invention. Figure 6As shown, the iris lock includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the iris lock, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple iris locks can be connected, and each iris lock provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0156] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0157] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0158] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created according to the use of the iris lock, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the iris lock via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0159] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0160] The iris lock further includes a communication interface 30 for the main control chip to communicate with other devices or a communication network.
[0161] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor main control chip or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0162] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An iris image acquisition method, applied to an iris lock, the iris lock comprising: A display screen, a fill light and an iris module, wherein the iris module is used to collect iris images, and the display screen is used to display iris images, wherein the method comprises: Obtain the current environment image of the target iris lock and the current eye image of the target user; Determine a corresponding image acquisition mode based on the current environment image and / or the current eye image, the image acquisition mode including a first acquisition mode and a second acquisition mode; wherein the first acquisition mode is a display screen assisted acquisition mode, and the second acquisition mode is a display screen and a fill light jointly assisted acquisition mode; The iris image of the target user is collected based on the image collection method.
2. The iris image acquisition method according to claim 1, characterized in that: Determining a corresponding image acquisition method based on the current environment image includes: Perform brightness detection on the current environment image to obtain the current environment brightness; Determine whether the current environment brightness is less than a preset brightness threshold; When the current environment brightness is less than a preset brightness threshold, determining that the corresponding image acquisition mode is the first acquisition mode; When the current environment brightness is not less than the preset brightness threshold, the corresponding image acquisition mode is determined to be the second acquisition mode.
3. The iris image acquisition method according to claim 1, characterized in that: Determining a corresponding image acquisition method based on the current eye image includes: Perform pupil detection on the current eye image to obtain current pupil information; Determining pupil change information based on the current pupil information and preset standard pupil information; Determining whether the pupil change information is less than a preset change threshold; When the pupil change information is not less than the preset change threshold, determining the corresponding image acquisition mode to be the first acquisition mode; When the pupil change information is less than the preset change threshold, the corresponding image acquisition mode is determined to be the second acquisition mode.
4. The iris image acquisition method according to claim 1, characterized in that: Determining a corresponding image acquisition method based on the current environment image and the current eye image includes: Perform brightness detection on the current environment image to obtain the current environment brightness; Performing pupil detection on the current eye image to obtain current pupil information, and determining pupil change information based on the current pupil information and preset standard pupil information; Determine whether the current environment brightness is less than a preset brightness threshold, and whether the pupil change information is less than a preset change threshold; When the current environment brightness is less than the preset brightness threshold, and the pupil change information is not less than the preset change threshold, determining that the corresponding image acquisition mode is the first acquisition mode; When the current environment brightness is not less than the preset brightness threshold, or the pupil change information is less than the preset change threshold, the corresponding image acquisition mode is determined to be the second acquisition mode.
5. The iris image acquisition method according to any one of claims 1 to 4, characterized in that: When the image acquisition mode is the first acquisition mode, acquiring the iris image of the target user based on the image acquisition mode includes: Setting the backlight of the display screen based on a preset backlight display condition, wherein the preset backlight display condition is the brightness corresponding to different light intensities in different time periods; Collect multiple iris images of the target user and obtain the collection time corresponding to each iris image; Selecting a target iris image from a plurality of iris images; The target iris image is stored based on the acquisition time corresponding to the target iris image.
6. The iris image acquisition method according to claim 5, characterized in that: When the image acquisition mode is the second acquisition mode, acquiring the iris image of the target user based on the image acquisition mode includes: The backlight of the display screen is set based on the preset backlight display conditions, and the fill light is turned on to provide light supplement of the preset brightness; Collect multiple iris images of the target user and obtain the collection time corresponding to each iris image; Selecting a target iris image from a plurality of iris images; The target iris image is stored based on the acquisition time corresponding to the target iris image.
7. The iris image acquisition method according to claim 6, characterized in that: The target iris image includes a left eye iris image and a right eye iris image, and selecting the target iris image from the plurality of iris images includes: Preprocessing the multiple iris images respectively, wherein the preprocessing method includes at least one of data denoising, data cleaning, data enhancement, data normalization and standardization; Calculate the similarity between each preprocessed iris image and a preset standard iris image; Determine a candidate iris image based on the similarity calculation result; Segmenting the candidate iris image to obtain a left eye iris image and a right eye iris image respectively; A target iris image is obtained based on the left-eye iris image and the right-eye iris image.
8. An iris image acquisition system, applied to an iris lock, the iris lock comprising: A display screen, a fill light and an iris module, wherein the iris module is used to collect iris images, and the display screen is used to display iris images. The system includes: An acquisition module, used to acquire the current environment image of the target iris lock and the current eye image of the target user; A determination module, configured to determine a corresponding image acquisition mode based on the current environment image and / or the current eye image, wherein the image acquisition mode includes a first acquisition mode and a second acquisition mode; wherein the first acquisition mode is a display screen assisted acquisition mode, and the second acquisition mode is a display screen and a fill light jointly assisted acquisition mode; A collection module is used to collect the iris image of the target user based on the image collection method.
9. An iris lock, characterized in that: The iris lock further includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the iris image acquisition method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the iris image acquisition method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Iris recognition method and relevant product
CN107451443A
Iris image acquisition system and method thereof
CN111191643A
Lighting device for iris image acquisition and iris image acquisition system
CN112651383A
Method for controlling output operation prompt and terminal
CN112711325A
Iris image acquisition method, mobile terminal and storage medium
US20190034722A1
