Intelligent contact lens identity information processing method and device
Identity information processing through smart contact lenses, extracting and encoding iris feature information, solving the problems of low recognition accuracy, low efficiency and poor environmental applicability of traditional iris recognition methods, and achieving efficient and accurate identity recognition.
Patent Information
- Application Number
- CN202411229904.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2025-02-28
AI Technical Summary
Traditional iris recognition methods have problems such as low recognition accuracy, low efficiency and poor environmental applicability, especially under the influence of light and acquisition environmental factors.
Intelligent contact lenses are used to process identity information, and by obtaining the identity image information of the smart contact lenses, feature information is extracted and encoded, and target identity encoding information is generated, thereby realizing identity identification.
It improves the accuracy and efficiency of identification information of smart contact lenses, enhances the environmental applicability of iris recognition, and reduces dependence on backend storage databases.
Smart Images

Figure CN119541029A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information processing technology, and in particular to a method and device for processing identity information of a smart contact lens. Background Art
[0002] Research on identity authentication using iris information has attracted wide attention. Traditional iris recognition methods require storage devices such as computer hard disks to store iris feature information and other relevant information of the corresponding person (account information, authority information, etc.). This part of information is stored statically, and the cost of implementing temporary authority and changing identity information is high. During recognition, the collected iris feature information of the current user needs to be compared with the information in the iris database stored in the device. The real-time performance depends on the storage and reasoning capabilities of the device and the network transmission speed. Misidentification can lead to serious information leakage consequences. In addition, image processing based on eye images taken by the camera is easily affected by environmental factors such as lighting, resulting in the failure of iris recognition tasks. Traditional two-dimensional code recognition based on electronic and paper printing is too exposed and is not suitable for tasks requiring high precision. Therefore, a method and device for processing identity information of smart contact lenses are provided to improve the accuracy and efficiency of identity information recognition of smart contact lenses, thereby improving the environmental applicability of iris recognition. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a method and device for processing identity information of a smart contact lens, which is beneficial to improving the accuracy and efficiency of identity information recognition of smart contact lenses, thereby improving the environmental applicability of iris recognition.
[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses a method for processing identity information of a smart contact lens, the method comprising:
[0005] Obtaining identity image information of smart contact lens;
[0006] Performing feature information extraction processing on the identity image information of the smart contact lens to obtain target image feature information;
[0007] The target image feature information is encoded to obtain target identity encoding information.
[0008] A second aspect of an embodiment of the present invention discloses a smart contact lens identity information processing device, the device comprising:
[0009] An acquisition module, used to acquire identity image information of the smart contact lens;
[0010] A first processing module is used to extract feature information from the identity image information of the smart contact lens to obtain target image feature information;
[0011] The second processing module is used to encode the target image feature information to obtain target identity encoding information.
[0012] The third aspect of the present invention discloses another smart contact lens identity information processing device, the device comprising:
[0013] A memory storing executable program code;
[0014] a processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the smart contact lens identity information processing method disclosed in the first aspect of the embodiment of the present invention.
[0016] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the smart contact lens identity information processing method disclosed in the first aspect of an embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 It is a flowchart of a method for processing identity information of a smart contact lens disclosed in an embodiment of the present invention;
[0019] Figure 2 It is a structural schematic diagram of a smart contact lens identity information processing device disclosed in an embodiment of the present invention;
[0020] Figure 3 It is a structural schematic diagram of another smart contact lens identity information processing device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.
[0023] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] The present invention discloses a method and device for processing identity information of a smart contact lens, which is beneficial to improving the accuracy and efficiency of identity information recognition of smart contact lenses, thereby improving the environmental applicability of iris recognition. Detailed descriptions are given below.
[0025] Embodiment 1
[0026] See also Figure 1 , Figure 1 1 is a flow chart of a method for processing identity information of a smart contact lens disclosed in an embodiment of the present invention. Figure 1 The described smart contact lens identity information processing method is applied to a management system, such as a local server or a cloud server for management, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the smart contact lens identity information processing method may include the following operations:
[0027] 101. Obtain identity image information of the smart contact lens.
[0028] 102. Perform feature information extraction processing on the identity image information of the smart contact lens to obtain target image feature information.
[0029] 103. Encode the target image feature information to obtain target identity encoding information.
[0030] It should be noted that after the above step 103, the QR code can be placed in the scanning area of a QR code recognition device (such as a mobile phone), and the device will call a camera to shoot the QR code. The image captured by the camera contains the black and white square information of the QR code. The device will process the image captured by the camera, including operations such as image denoising, image enhancement and image binarization. Denoising is to remove impurities and interference in the image. Enhancement is to improve the contrast and clarity of the image. Binarization is to convert a grayscale image into a binary image to simplify the subsequent processing process. After image processing, the device will analyze and process the binarized image to extract the feature information of the QR code. There are many methods for feature extraction, and common ones include edge extraction, contour extraction and region division. These methods can extract feature information such as edges and corners of the QR code, and describe and store them accordingly. Through feature extraction, the device has obtained the feature information in the QR code. Next, the device will decode the feature information and convert it into readable data.
[0031] It should be noted that the method for processing identity information of the smart contact lens of the present application is to first use an image acquisition device such as an infrared camera to collect the iris image of the user. And the collected image is preprocessed, including image denoising, image enhancement and image binarization. The iris and pupil areas are de-noised and located by the iris detection method introduced above, and then the area is refined using a mask, and the iris area is feature extracted using a Gabor filter group to obtain the iris identity information of the current person. The iris feature identity information formed is encrypted to improve the overall confidentiality of the system and provide an additional layer of verification and protection. The iris feature information is encoded according to the QR code encoding algorithm, and an exclusive QR code representing the iris identity of the current person is generated. The QR code is printed on a specific area of the contact lens to facilitate subsequent identity and authority granting. When a user wears a contact lens containing iris information, the identity information and authority level of the current person are determined by comparing the QR codes of two different eye areas with the real iris features without relying on the database stored in the background.
[0032] Furthermore, the smart contact lens identity information processing method of the present application can realize fast, efficient, stable and precise identity authentication functions in multiple complex scenarios.
[0033] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0034] In an optional embodiment, the above-mentioned feature information extraction process is performed on the identity image information of the smart contact lens to obtain the target image feature information, including:
[0035] Preprocessing the identity image information of the smart contact lens to obtain the target image contour information;
[0036] Perform feature extraction processing on the target image contour information to obtain the target image feature information.
[0037] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0038] In another optional embodiment, the smart contact lens identity image information is preprocessed to obtain target image contour information, including:
[0039] The first detection factor is used to perform product processing on the identity image information of the smart contact lens to obtain the first detection image information; the first detection factor is a 3*3 matrix;
[0040] The second detection factor is used to perform product processing on the identity image information of the smart contact lens to obtain the second detection image information; the second detection factor is a 3*3 matrix;
[0041] Using the first detection model to calculate and process the first detection image information and the second detection image information to obtain detection gradient value information;
[0042] Among them, the first detection model is:
[0043]
[0044] In the formula, A is the detection gradient value information; B is the first detection image information; C is the second detection image information;
[0045] Using the second detection model to calculate and process the first detection image information and the second detection image information to obtain detection gradient direction angle information;
[0046] Among them, the second detection model is:
[0047] D = arctan(B / C);
[0048] Where D is the detection gradient value information;
[0049] Determine first detection profile information based on the detection gradient value information, the detection gradient direction angle information and the smart contact lens identity image information;
[0050] Perform detection and positioning processing on the first detection contour information to obtain target image contour information.
[0051] It should be noted that the first detection factor can be
[0052] It should be noted that the second detection factor can be
[0053] It should be noted that by performing product processing on the smart contact lens identity image information using the first detection factor, the horizontal edge in the image can be detected.
[0054] It should be noted that the above-mentioned multiplication process of the smart contact lens identity image information with the second detection factor can detect the edge in the vertical direction of the image.
[0055] It should be noted that the above-mentioned detection of gradient value information, detection of gradient direction angle information and smart contact lens identity image information can be implemented based on a trained neural network, or can be implemented in response to a user's input instruction, and the embodiment of the present invention does not limit this.
[0056] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0057] In yet another optional embodiment, performing detection and positioning processing on the first detection contour information to obtain target image contour information includes:
[0058] Get pixel sampling difference;
[0059] Selecting the annular image contour information from the first detected contour information using the pixel sampling difference;
[0060] Expand the annular graphic contour information to obtain rectangular image contour information;
[0061] Smoothing the rectangular image contour information to obtain smoothed image contour information;
[0062] Get the number of smoothing times;
[0063] Determine whether the number of smoothing times is equal to the number threshold, and obtain the number determination result;
[0064] When the result of the number of times is no, the rectangular image contour information is replaced and updated by using the sliding image contour information, and the rectangular image contour information is triggered to perform smoothing processing to obtain smoothed image contour information;
[0065] When the result of the number of times is yes, path restoration processing is performed on the smooth image contour information to obtain circular image contour information;
[0066] The circular image contour information is filtered to obtain the target image contour information.
[0067] It should be noted that the above smoothing times will automatically increase by 1 after each smoothing process.
[0068] Preferably, the above number threshold is 20.
[0069] It should be noted that the above-mentioned smoothing process for the rectangular image contour information may be based on anisotropic smoothing, so as to remove the influence of noise, such as avoiding the interference of irrelevant factors such as eyelashes and eyelids.
[0070] It should be noted that the above-mentioned selection of annular image contour information from the first detection contour information using pixel sampling difference is centered on the reference circular ring line of the first detection contour information, and the width corresponding to the pixel sampling difference is expanded inside and outside to obtain the annular image contour.
[0071] It should be noted that the above expansion process of the annular graphic contour information to obtain the rectangular image contour information is to flatten the annular range of a certain number of pixels inside and outside the circle.
[0072] It should be noted that the above path restoration process for the smooth image contour information is to first calculate the vertical gradient of the image, and use the Viterbi algorithm to obtain the best path, and finally restore the path to the original image to obtain the final contour.
[0073] It should be noted that the above filtering of the circular image contour information is to first locate the preliminary area of the mask. The mask area is first preliminarily defined as the middle area of the precise iris contour and the precise pupil contour. The precise contour detection can effectively eliminate the influence of masking factors such as eyelashes and eyelids, and then find a safe iris area. Here, it is considered that during use, the upper part of the iris is easily blocked by the upper eyelid and affected by eyelashes, and the lower part is relatively safe, but the edge area is still blocked by the lower eyelid. After determining the safe area, the pixel mean and variance in the safe area are calculated, and the pixel points outside 2.35 times the variance in the entire iris area are set as noise and are not included in the statistics. After that, the intersection of the mask image and the pupil circle fitted by the rough pupil contour and the iris circle fitted by the rough iris contour is obtained. During use, only the iris part of this area class is feature extracted.
[0074] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0075] In yet another optional embodiment, feature extraction processing is performed on the target image contour information to obtain target image feature information, including:
[0076] Divide the target image contour information into N equal parts to obtain equally divided image contour information; the equally divided image contour information includes N segmented image contour information;
[0077] For any segmented image contour information in the equally divided image contour information, sampling processing is performed on the segmented image contour information at equal intervals to obtain sampling contour point information corresponding to the segmented image contour information;
[0078] Binarization is performed on the sampling contour point information corresponding to the contour information of the segmented image to obtain binary contour point information corresponding to the contour information of the segmented image;
[0079] All binary contour point information is sorted and fused to obtain the target image feature information.
[0080] It should be noted that the above-mentioned N-equal division of the target image contour information is to divide the image contour corresponding to the target image contour information into N segmented image contour information. For example, for a circular contour, N sector contours are formed by dividing.
[0081] It should be noted that the sampling process of the segmented image contour information at equal intervals can be to connect the equally divided points of the inner circle and the outer circle of the sector to form w line segments, and then divide the points on each line segment into h segments, and take the pixels at the equally divided points. Further, the pixels obtained by the sampling are 0 or 255. Further, the pixels of the equally divided points can be feature extracted by three 2D-Gabor filters, and the results of the real and imaginary parts are respectively combined to obtain the corresponding pixels.
[0082] It should be noted that the above binarization of the sampling contour point information corresponding to the segmented image contour information is to divide the pixels, such as dividing the pixel value of 0 into 0, and dividing the pixel value of 255 into 1, which is not limited in the embodiment of the present invention.
[0083] It should be noted that the above-mentioned sorting and fusion processing of all binary contour point information is to first sort the binary contour point information according to the order of the graphic contour before N equal divisions, and then splice and fuse them into one data information in sequence.
[0084] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0085] In an optional embodiment, the encoding process of the target image feature information to obtain the target identity encoding information includes:
[0086] Encrypting the target image feature information to obtain encrypted image feature information;
[0087] The encrypted image feature information is encoded to obtain the target identity encoding information.
[0088] In this optional embodiment, as an optional implementation, the above encoding process of the encrypted image feature information to obtain the target identity encoding information includes:
[0089] Determine the encoded graphic code;
[0090] Converting the encrypted image feature information into symbol character information according to the character set corresponding to the graphic code;
[0091] Determine the level of error correction;
[0092] Correcting the symbol character information using an error correction codeword corresponding to the error correction level;
[0093] converting the modified symbol character information into bit stream information;
[0094] The bit stream information is constructed into codewords in units of 8 bits to form a codeword sequence;
[0095] The codeword sequence is embedded into the graphic code corresponding to the coding symbol to obtain the target identity coding information.
[0096] It should be noted that the above error correction level includes 4 levels, and the corresponding error correction codewords correspond to l, m, q, and h. Furthermore, the higher the error correction level, the smaller the capacity of the real data.
[0097] It should be noted that the graphic symbols in the above character set are graphic code elements of the coding symbol, such as black and white graphics corresponding to a QR code, bars corresponding to a barcode, etc. Further, the above graphic code can be a QR code, a barcode, or other types of codes, which is not limited in the embodiments of the present invention.
[0098] It should be noted that the above-mentioned construction of codewords in units of 8 bits to form a codeword sequence is to merge the data in 8 bit stream information into one data unit. The above-mentioned bit stream information is data information composed of a data stream of several data bits, and its data bits are corresponding symbol characters.
[0099] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0100] In another optional embodiment, encrypting the target image feature information to obtain encrypted image feature information includes:
[0101] Randomly generate key length;
[0102] Performing data format conversion processing on the encrypted image feature information to obtain format feature information;
[0103] Based on the key length, data completion processing is performed on the format feature information to obtain completed feature information;
[0104] Encrypting the completed feature information to obtain initial encrypted feature information;
[0105] The initial encrypted feature information is converted into an image format to obtain an encrypted image feature information.
[0106] It should be noted that the above key length is randomly generated within a specified length range. The length range can be set by the user or directly given by the system, such as [10-20].
[0107] It should be noted that the above data format conversion process for the encrypted image feature information is to convert the data into binary data.
[0108] It should be noted that the above-mentioned data padding processing of the format feature information based on the key length is to add 0 to the part of the data length in the format feature information that is less than the key length, that is, to add several 0s after the format feature information.
[0109] It should be noted that the encryption process for the supplementary feature information may be implemented based on a symmetric encryption algorithm, which is not limited in the embodiment of the present invention.
[0110] It can be seen that the implementation of the smart contact lens identity information processing method described in the embodiment of the present invention is conducive to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0111] Embodiment 2
[0112] See also Figure 2 , Figure 2 Schematic diagram of a smart contact lens identity information processing device disclosed in an embodiment of the present invention. Figure 2 The described device can be applied to a warehouse management system, such as a local server or cloud server for warehouse logistics smart contact lens identity information processing management, etc., and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the device may include:
[0113] An acquisition module 201 is used to acquire identity image information of a smart contact lens;
[0114] The first processing module 202 is used to extract feature information from the identity image information of the smart contact lens to obtain target image feature information;
[0115] The second processing module 203 is used to encode the target image feature information to obtain target identity encoding information.
[0116] It can be seen that implementation Figure 2 The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0117] In another optional embodiment, Figure 2 As shown, the first processing module 202 performs feature information extraction processing on the identity image information of the smart contact lens to obtain target image feature information, including:
[0118] Preprocessing the identity image information of the smart contact lens to obtain the target image contour information;
[0119] Perform feature extraction processing on the target image contour information to obtain the target image feature information.
[0120] It can be seen that implementation Figure 2 The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0121] In yet another optional embodiment, Figure 2 As shown, the first processing module 202 pre-processes the smart contact lens identity image information to obtain target image contour information, including:
[0122] The first detection factor is used to perform product processing on the identity image information of the smart contact lens to obtain the first detection image information; the first detection factor is a 3*3 matrix;
[0123] The second detection factor is used to perform product processing on the identity image information of the smart contact lens to obtain the second detection image information; the second detection factor is a 3*3 matrix;
[0124] Using the first detection model to calculate and process the first detection image information and the second detection image information to obtain detection gradient value information;
[0125] Among them, the first detection model is:
[0126]
[0127] In the formula, A is the detection gradient value information; B is the first detection image information; C is the second detection image information;
[0128] Using the second detection model to calculate and process the first detection image information and the second detection image information to obtain detection gradient direction angle information;
[0129] Among them, the second detection model is:
[0130] D = arctan(B / C);
[0131] Where D is the detection gradient value information;
[0132] Determine first detection profile information based on the detection gradient value information, the detection gradient direction angle information and the smart contact lens identity image information;
[0133] Perform detection and positioning processing on the first detection contour information to obtain target image contour information.
[0134] It can be seen that implementation Figure 2 The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0135] In yet another optional embodiment, Figure 2 As shown, the first processing module 202 performs detection and positioning processing on the first detection contour information to obtain target image contour information, including:
[0136] Get pixel sampling difference;
[0137] Selecting the annular image contour information from the first detected contour information using the pixel sampling difference;
[0138] Expand the annular graphic contour information to obtain rectangular image contour information;
[0139] Smoothing the rectangular image contour information to obtain smoothed image contour information;
[0140] Get the number of smoothing times;
[0141] Determine whether the number of smoothing times is equal to the number threshold, and obtain the number determination result;
[0142] When the result of the number of times is no, the rectangular image contour information is replaced and updated by using the sliding image contour information, and the rectangular image contour information is triggered to perform smoothing processing to obtain smoothed image contour information;
[0143] When the result of the number of times is yes, path restoration processing is performed on the smooth image contour information to obtain circular image contour information;
[0144] The circular image contour information is filtered to obtain the target image contour information.
[0145] It can be seen that implementation Figure 2The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0146] In yet another optional embodiment, Figure 2 As shown, the first processing module 202 performs feature extraction processing on the target image contour information to obtain target image feature information, including:
[0147] Divide the target image contour information into N equal parts to obtain equally divided image contour information; the equally divided image contour information includes N segmented image contour information;
[0148] For any segmented image contour information in the equally divided image contour information, sampling processing is performed on the segmented image contour information at equal intervals to obtain sampling contour point information corresponding to the segmented image contour information;
[0149] Binarization is performed on the sampling contour point information corresponding to the contour information of the segmented image to obtain binary contour point information corresponding to the contour information of the segmented image;
[0150] All binary contour point information is sorted and fused to obtain the target image feature information.
[0151] It can be seen that implementation Figure 2 The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0152] In yet another optional embodiment, Figure 2 As shown, the second processing module 203 encodes the target image feature information to obtain target identity encoding information, including:
[0153] Encrypting the target image feature information to obtain encrypted image feature information;
[0154] The encrypted image feature information is encoded to obtain the target identity encoding information.
[0155] It can be seen that implementation Figure 2 The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0156] In yet another optional embodiment, Figure 2 As shown, the second processing module 203 performs encryption processing on the target image feature information to obtain encrypted image feature information, including:
[0157] Randomly generate key length;
[0158] Performing data format conversion processing on the encrypted image feature information to obtain format feature information;
[0159] Based on the key length, data completion processing is performed on the format feature information to obtain completed feature information;
[0160] Encrypting the completed feature information to obtain initial encrypted feature information;
[0161] The initial encrypted feature information is converted into an image format to obtain an encrypted image feature information.
[0162] It can be seen that implementation Figure 2 The described smart contact lens identity information processing device is beneficial to improving the accuracy and efficiency of smart contact lens identity information recognition, thereby improving the environmental applicability of iris recognition.
[0163] Embodiment 3
[0164] See also Figure 3 , Figure 3 is a schematic diagram of the structure of another smart contact lens identity information processing device disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a warehouse management system, such as a local server or cloud server for warehouse logistics smart contact lens identity information processing management, etc., and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the device may include:
[0165] A memory 301 storing executable program codes;
[0166] a processor 302 coupled to the memory 301;
[0167] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the smart contact lens identity information processing method described in the first embodiment.
[0168] Embodiment 4
[0169] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the smart contact lens identity information processing method described in the first embodiment.
[0170] Embodiment 5
[0171] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps in the smart contact lens identity information processing method described in the first embodiment.
[0172] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0173] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0174] Finally, it should be noted that the method and device for processing identity information of a smart contact lens disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for processing identity information of a smart contact lens, characterized in that: The method comprises: Obtaining identity image information of smart contact lens; Performing feature information extraction processing on the identity image information of the smart contact lens to obtain target image feature information; The target image feature information is encoded to obtain target identity encoding information.
2. The method for processing identity information of a smart contact lens according to claim 1, characterized in that: The step of extracting feature information from the identity image information of the smart contact lens to obtain target image feature information includes: Preprocessing the identity image information of the smart contact lens to obtain target image contour information; Perform feature extraction processing on the target image contour information to obtain target image feature information.
3. The method for processing identity information of a smart contact lens according to claim 2, characterized in that: The preprocessing of the smart contact lens identity image information to obtain target image contour information includes: Using a first detection factor to perform product processing on the identity image information of the smart contact lens to obtain first detection image information; the first detection factor is a 3*3 matrix; The smart contact lens identity image information is multiplied by a second detection factor to obtain second detection image information; the second detection factor is a 3*3 matrix; Using a first detection model to calculate and process the first detection image information and the second detection image information to obtain detection gradient value information; Wherein, the first detection model is: In the formula, A is the detection gradient value information; B is the first detection image information; C is the second detection image information; Using a second detection model to calculate and process the first detection image information and the second detection image information to obtain detection gradient direction angle information; Wherein, the second detection model is: D = arctann(B / C); Where D is the detection gradient value information; Determining first detection contour information based on the detection gradient value information, the detection gradient direction angle information and the smart contact lens identity image information; Perform detection and positioning processing on the first detection contour information to obtain target image contour information.
4. The method for processing identity information of a smart contact lens according to claim 3, characterized in that: The performing detection and positioning processing on the first detection contour information to obtain target image contour information includes: Get pixel sampling difference; Selecting the annular image contour information from the first detection contour information using the pixel sampling difference; Expanding the annular graphic contour information to obtain rectangular image contour information; Smoothing the rectangular image contour information to obtain smoothed image contour information; Get the number of smoothing times; Determine whether the smoothing times is equal to the times threshold, and obtain a times determination result; When the result of the number of times is no, the rectangular image contour information is replaced and updated by using the smooth image contour information, and the smoothing process of the rectangular image contour information is triggered to obtain the smoothed image contour information; When the result of the number of times is yes, path restoration processing is performed on the smooth image contour information to obtain circular image contour information; The circular image contour information is filtered to obtain target image contour information.
5. The method for processing identity information of a smart contact lens according to claim 2, characterized in that: The step of performing feature extraction processing on the target image contour information to obtain target image feature information includes: Divide the target image contour information into N equal parts to obtain equally divided image contour information; the equally divided image contour information includes the N segmented image contour information; For any of the segmented image contour information in the equally divided image contour information, sampling the segmented image contour information at equal intervals to obtain sampling contour point information corresponding to the segmented image contour information; Binarization is performed on the sampling contour point information corresponding to the contour information of the segmented image to obtain binary contour point information corresponding to the contour information of the segmented image; All the binary contour point information is sorted and fused to obtain target image feature information.
6. The method for processing identity information of a smart contact lens according to claim 1, characterized in that: The encoding process of the target image feature information to obtain target identity encoding information includes: Encrypting the target image feature information to obtain encrypted image feature information; The encrypted image feature information is encoded to obtain target identity encoding information.
7. The method for processing identity information of a smart contact lens according to claim 6, characterized in that: The step of encrypting the target image feature information to obtain encrypted image feature information includes: Randomly generate key length; Performing data format conversion processing on the encrypted image feature information to obtain format feature information; Based on the key length, performing data padding processing on the format characteristic information to obtain padding characteristic information; Encrypting the completed feature information to obtain initial encrypted feature information; The initial encrypted feature information is converted into an image format to obtain an encrypted image feature information.
8. A smart contact lens identity information processing device, characterized in that: The device comprises: An acquisition module, used to acquire identity image information of the smart contact lens; A first processing module is used to extract feature information from the identity image information of the smart contact lens to obtain target image feature information; The second processing module is used to encode the target image feature information to obtain target identity encoding information.
9. A smart contact lens identity information processing device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the smart contact lens identity information processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the smart contact lens identity information processing method according to any one of claims 1 to 7.