Living body recognition method, device and smart glasses in VR

By using multiple cameras to capture iris and lower face images in VR, extracting features and combining them with time series analysis, the security risks of the iris recognition system are solved and higher authentication security is achieved.

CN117789312BActive Publication Date: 2024-10-18SHENZHEN HUAHOM TETHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311847690.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-10-18
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

Existing iris recognition systems have security risks in iris data, which can easily be forged, leading to identity theft and affecting system security.

Method used

By using multiple cameras arranged in preset positions in VR to capture images of the human eye and lower half of the face, extract iris features and time-series feature vectors, and combine the lower half face model to determine the identity of the living person, prevent iris data from being forged, and improve security.

Benefits of technology

It effectively prevents theft of iris data unlocking, significantly improves the security of the iris recognition system, and ensures the accuracy and anti-counterfeiting of identity verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117789312B_ABST
    Figure CN117789312B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of smart glasses, and specifically discloses a method, device and smart glasses for liveness recognition in VR, the method comprising: obtaining a plurality of first human eye images taken by a plurality of first cameras arranged in preset positions at a preset frequency, the preset frequency corresponding to the brightness change of the VR display screen; processing the plurality of first human eye images to obtain the iris features of the human eye, the iris features including the major axis, minor axis, center coordinates, inclination and texture of the ellipse, and calculating the degree of contraction or / and expansion of the pupil, and quantifying to form a time series feature vector; obtaining a plurality of lower half face images taken by a plurality of second cameras arranged in preset positions; splicing the plurality of lower half face images to obtain a lower half face model; judging whether the current user is live based on the time series feature vector and the lower half face model. The present invention can perform liveness recognition based on the user's eye images and lower half face images, thereby improving the security of iris recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart glasses, and in particular to a method and device for identifying a living body in VR, and smart glasses. Background Art

[0002] The outside of the human eye is composed of three parts: the sclera, iris, and pupil. The iris is located between the sclera and pupil and contains rich texture information. Human genes determine the color, texture, and appearance of the iris. The iris is visible from the outside, but it is also an internal tissue. The iris texture structure is complex, has many features, and is not easy to be forged. Therefore, iris recognition technology is one of the most accurate and anti-counterfeiting technologies among the current biometric recognition technologies.

[0003] In the existing technology, iris liveness detection is a key issue in the security of the iris recognition system itself. Attacks on the iris recognition system mainly focus on iris data. Because iris recognition processes video images, the iris in the video or photo can be used to deceive the iris recognition system and obtain the authority of the legal identity. This poses a huge security risk. Summary of the invention

[0004] In view of the above technical problems, the present invention provides a method, device and smart glasses for liveness recognition in VR, so as to provide a technical solution for liveness recognition based on iris features in VR.

[0005] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0006] According to one aspect of the present invention, a method for identifying a living body in VR is disclosed, the method comprising:

[0007] Acquire a plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency, where the preset frequency corresponds to a brightness change of a VR display screen;

[0008] Processing a plurality of the first human eye images to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination and texture of the ellipse, and calculating the degree of contraction and / or dilation of the pupil, and quantifying them to form a time series feature vector;

[0009] Acquire a plurality of lower face images captured by a plurality of second cameras arranged in preset positions;

[0010] splicing a plurality of lower half face images to obtain a lower half face model;

[0011] Based on the time series feature vector and the lower half face model, it is determined whether the current user is alive.

[0012] Furthermore, the step of processing the plurality of first human eye images to obtain iris features of the human eye includes:

[0013] Registering at least two of the first human eye images of the same human eye to obtain a second human eye image with a complete human eye iris;

[0014] An iris region in the second human eye image is extracted, where the iris region is composed of a boundary from the iris to the sclera and a boundary from the iris to the pupil, and the iris feature is located in the iris region.

[0015] Furthermore, before registering at least two of the first human eye images, the first human eye images are also clarified.

[0016] Furthermore, when registering at least two of the first human eye images, the method further includes:

[0017] Detecting and extracting surface features of at least two of the first human eye images;

[0018] Matching the surface features of at least two of the first human eye images;

[0019] Retrieving the positions of the corresponding points of the matched surface features;

[0020] Calculate the transformation relationship of the points of the surface features matched based on the MSAC algorithm;

[0021] Based on the transformation relationship, a geometric transformation is performed on at least two of the first human eye images so that at least two of the first human eye images overlap.

[0022] Furthermore, the method extracts the iris area in the second human eye image based on one of circular Hough transform, iterative algorithm, Chan-Vese active contour algorithm and Fourier spectral density algorithm, performs image analysis on the iris area to obtain the major axis, minor axis, center coordinates and inclination of the ellipse, and calculates the texture of the iris area based on an edge algorithm.

[0023] Furthermore, the step of calculating the degree of pupil contraction and / or dilation and quantifying the time series feature vector comprises:

[0024] The parameter changes of the ellipse major axis, the minor axis, the center coordinates and the inclination angle of the iris are combined into the time series feature vector in time sequence.

[0025] Furthermore, the step of splicing a plurality of lower face images to obtain a lower face model includes:

[0026] Constructing at least two nonlinear scale spaces of the lower half face images according to an algorithm based on scale space theory and nonlinear scale space extreme point detection;

[0027] Calculating extreme points in the nonlinear scale space to obtain feature points;

[0028] Calculate the main direction within a preset area of ​​the feature point;

[0029] In a preset area of ​​each feature point, a feature vector is calculated for describing information of surrounding pixels of the feature point;

[0030] Perform feature matching based on a distance metric between any two of the feature vectors, randomly select a group of samples from the matching data set of the feature vectors, and calculate and evaluate model parameters based on the selected samples;

[0031] Calculate the projection error between all other samples in the matching data set and the evaluation model. If the error is less than a threshold, record them in the qualified set, and take the qualified set with the largest number of elements as the optimal set;

[0032] Repeatedly select samples for calculation, and if the number of elements in the current qualified set is greater than the previous optimal set, update the current qualified set to the new optimal set, and perform a new round of sample selection calculation until the set number of cycles is reached;

[0033] The feature vector in the final optimal set is used as a result and applied to the spliced ​​image, so that at least two lower half face images are spliced ​​into the lower half face model.

[0034] Furthermore, judging whether the current user is alive based on the time series feature vector and the lower half face model specifically includes:

[0035] Determining whether the time series characteristic vector corresponds to the brightness change of the VR display screen;

[0036] Determine whether the lower half face model corresponds to the expression currently prompted by the system, or determine whether the lower half face model is a human face;

[0037] After determining whether the current user is alive, the method further includes:

[0038] The half-face model is subjected to facial recognition alone, or / and combined with the iris feature to perform recognition to determine the identity of the user.

[0039] According to a second aspect of the present disclosure, a liveness recognition device in VR is provided, comprising: a first acquisition module, used to acquire a plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency, wherein the preset frequency corresponds to the brightness change of a VR display screen; a first calculation module, used to process the plurality of first human eye images to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination and texture of an ellipse, and calculate the degree of contraction or / and expansion of the pupil, and quantify to form a time series feature vector; a second acquisition module, used to acquire a plurality of lower half face images captured by a plurality of second cameras arranged at preset positions; a second calculation module, used to splice the plurality of lower half face images to obtain a lower half face model; and a recognition module, used to determine whether the current user is alive based on the time series feature vector and the lower half face model.

[0040] According to a third aspect of the present disclosure, there is provided a pair of smart glasses, comprising: a plurality of infrared cameras, respectively pointing to left and right human eyes and arranged in preset positions;

[0041] Infrared flood emitter, set towards the human eye;

[0042] Several visible light cameras are respectively set to point at the lower half of the face and arranged in preset positions;

[0043] Display screen;

[0044] one or more processors;

[0045] A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the living body recognition method in VR as described above.

[0046] The technical solution disclosed in this disclosure has the following beneficial effects:

[0047] Based on several first images corresponding to the brightness changes of the display screen, it is possible to analyze whether the iris features in the first images are generated by a living body, thereby preventing the unauthorized use of iris data to unlock the phone, greatly improving the security of iris recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 This is a flow chart of a method for identifying living bodies in VR in an embodiment of this specification;

[0049] Figure 2 This is a structural block diagram of a living body recognition device in VR in an embodiment of this specification;

[0050] Figure 3A terminal device for executing a method for identifying a living body in VR in an embodiment of this specification;

[0051] Figure 4 is a structural block diagram of a smart glasses in an embodiment of this specification;

[0052] Figure 5 It is a computer-readable storage medium storing a method for identifying a living body in VR in an embodiment of this specification. DETAILED DESCRIPTION

[0053] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0054] In addition, the accompanying drawings are only schematic illustrations of the present disclosure. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0055] like Figure 1 As shown, the embodiment of this specification provides a method for identifying living bodies in VR, and the execution subject of the method can be a computer, a server, a wearable smart device, etc. The method can specifically include the following steps S101 to S105:

[0056] In step S101, a plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency are obtained, where the preset frequency corresponds to a brightness change of a VR display screen.

[0057] Among them, the first camera can be an infrared camera, and the number thereof can be any number greater than 1, such as 2, 3, 4, 5, etc. The position of each infrared camera relative to each other is known, and the positions relative to each other can be equally divided or symmetrical. In addition, the use of an infrared camera plus infrared light can avoid the limitations of a visible light camera. For example, a visible light camera requires light source illumination to obtain clear photos, and since the object of the photo is the human eye, the visible light source will cause discomfort to the human eye, thereby affecting the acquisition effect. The preset frequency corresponding to the brightness change of the VR display screen refers to starting the first camera to take pictures when the brightness of the VR display screen changes. For example, the first image is captured once before the brightness changes, and then captured several times when the brightness changes, and then captured several times after the change. The preset frequency of capturing these first images corresponds to the change of the display screen.

[0058] In step S102, several of the first human eye images are processed to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination and texture of the ellipse, and the degree of contraction and / or dilation of the pupil is calculated and quantified to form a time series feature vector.

[0059] Among them, since the positions of each first camera relative to each other can be known, the coordinate system of each first camera can be converted to each other, and the coordinates of each pixel of the first human eye image obtained by each first camera can be converted to each other, so the two images can be spliced ​​into one, which is operable and accurate. For example, the two first human eye images can be preprocessed first, such as cropping, correction, etc., and then the overlapping part (feature part) of the two images is calculated, and then the images are aligned, such as by rotation, translation, scaling, etc., so that the overlapping part is aligned, and the two aligned images can be fused, such as linear mixing, multi-band fusion, etc., to fuse the two images to obtain a spliced ​​image. These operations can be encapsulated as an algorithm, so that they can be automatically executed when the image is input, and after the image of the spliced ​​image is obtained, the complete iris feature extraction can be performed. In addition, it is worth noting that since this embodiment is preferably applied to a wearable smart device, the distance between the first camera and the human eye is very short, and it is difficult to capture the entire human eye. Therefore, this embodiment uses multiple first human eye images at different angles to ensure that complete human eye iris features can be obtained.

[0060] In order to adapt to the brightness changes of VR display screens, the iris features use the major and minor axes of the ellipse that change with brightness changes. The center coordinates and inclination angle can be used to locate the iris, and the texture can be used for biometric identification in the future. Specifically, when the light changes, the pupil of the human eye will expand or shrink, and the size of the iris surrounding the pupil will also change, that is, the major and minor axes of the ellipse will change, and the changes in the pupil can be calculated. These changes can form parameters, and the parameters of multiple different features at the same time are set as a group. The feature parameters of different groups are arranged in chronological order with timestamps, that is, a time series feature vector is formed, and then the classifier calculated according to its statistical characteristics is used to distinguish its authenticity.

[0061] In step S103, a plurality of lower face images captured by a plurality of second cameras arranged at preset positions are obtained.

[0062] Among them, the second camera can be a visible light camera or a depth camera based on the same principle as step S101, and the number of the second cameras can be any number greater than 1, such as 2, 3, 4, 5, etc. They can be arranged under the VR glasses, each shooting a face in a fixed area. The second camera can also be set at a position away from the VR glasses and in front of the human body, but in this case, the position between the VR glasses and the second camera needs to be calibrated before shooting.

[0063] In step S104, a plurality of lower half face images are spliced ​​to obtain a lower half face model.

[0064] Among them, when the second camera is a visible light camera, the stitching process of the lower half face model can refer to S102. When the second camera is a depth camera, the difficulty of generating the lower half face model will be reduced. It is only necessary to extract the coordinates of each feature in different lower half face images, and then convert and synthesize the lower half face model according to the coordinate relationship of each second camera.

[0065] In step S105, based on the time series feature vector and the lower half face model, it is determined whether the current user is alive.

[0066] Specifically, it can be judged whether the timing feature vector corresponds to the brightness change of the VR display screen, that is, when the brightness of the display screen of the VR glasses facing the human eye becomes brighter, whether the pupil of the human eye (iris feature) becomes smaller, and when the brightness becomes smaller, whether the pupil of the human eye becomes larger. The change of the pupil will cause the change of the iris feature. The change of the iris feature forms a timing feature vector in time sequence. Therefore, the timing feature vector can be combined with the brightness change of the VR display screen to judge that only when the currently identified human eye is alive, its pupil will change with the change of light intensity. In addition, the brightness change process of the display screen can be random, which can prevent the iris feature from being forged in advance. Determine whether the lower half of the human face model corresponds to the expression prompted by the current system, or determine whether the lower half of the human face model is a human face, that is, collect features of the lower half of the human face model, such as nose, mouth and other features, and compare to confirm whether it is a human face. Then, in order to further ensure data security, the lower half of the face model is also used for face recognition. For example, it can be determined whether the lower half of the face model corresponds to the expression prompted by the current system. If the specified number of times or links do not correspond, it can be comprehensively determined that the person is not alive.

[0067] In one embodiment, in the above-mentioned step S102, processing a plurality of the first human eye images to obtain the iris features of the human eye may specifically include: aligning at least two of the first human eye images of the same human eye to obtain a second human eye image with a complete human eye iris; extracting an iris area in the second human eye image, wherein the iris area is composed of a boundary from the iris to the sclera and a boundary from the iris to the pupil, and the iris features are located in the iris area.

[0068] Before registering at least two of the first human eye images, the first human eye images are further sharpened, and the following formula is calculated during the sharpening:

[0069]

[0070] Among them, w(s, t) is the weight, f(x+s, y+t) is the input first human eye image, x=0,1,2…,m-1, y=0,1,2…,n-1, m*n represents the mask size, and g(x, y) is the output image. This process specifically uses an m*n filter to perform weighted filtering calculations, and repeatedly repeats the above formula in the m*n mask to make the first human eye image clear. This process allows the first camera to use a low-cost sensor.

[0071] In addition, when registering at least two of the first human eye images, it specifically includes: detecting and extracting surface features of at least two of the first human eye images; matching the surface features of at least two of the first human eye images; retrieving the positions of corresponding points of the matched surface features; calculating the transformation relationship of the matched points of the surface features based on the MSAC algorithm; and performing a geometric transformation on at least two of the first human eye images based on the transformation relationship, so that at least two of the first human eye images overlap and fuse.

[0072] Specifically, when performing surface feature matching, the formula can be calculated:

[0073] ∫ x ∫ y (I S (x,y)-I n (xu,yv)) 2 dxdy;

[0074]

[0075] I S (x, y) represents one of the first eye images, I n (x, y) is another second eye image, I n and I S The ordinal coordinates can be transformed by mapping functions u(x, y) and v(x, y) so that the intensity value of one of the first human eye images is close to the corresponding point in the other first human eye image. s is the scaling factor, is the rotation matrix needed for geometric transformation. When the two first eye images I n and I S When inputting, s and The two first eye images are fused through an iterative minimization process, and the second eye image obtained after fusion is expressed as:

[0076]

[0077] In this embodiment, the extraction of the iris region can be achieved by using one of the circular Hough transform, iterative algorithm, Chan-Vese active contour algorithm and Fourier spectral density algorithm. The extraction process mainly involves the separation of the iris part from the eye. The iris region consists of two circles, one of which is the iris-sclera outer boundary and the other is the iris-pupil inner boundary. The eyelids and eyelashes sometimes hide the upper and lower parts of the iris region. Specifically, the circular Hough transform algorithm can be used:

[0078] (x) 2 +(yb) 2 =r 2 ;

[0079] Where a and b are the centers of the circle, and r is the radius. Based on this principle, the circular area in the second human eye image, that is, the iris area, can be calculated by performing a calculation on each pixel point of the second human eye image. The calculation process is as follows:

[0080] x = a + r * cos θ;

[0081] y = b + r * sin θ;

[0082] After obtaining the circular area in the second human eye image, i.e., the iris area, the major axis, minor axis, center coordinates, inclination, and other features of the iris in the area can be calculated. Then, the high threshold of low edge sensitivity and the low threshold of high edge sensitivity in the edge algorithm are used to detect strong edges and weak edges, thereby obtaining the texture in the iris.

[0083] Specifically, when calculating texture features, the following formula can be calculated:

[0084]

[0085] Where σ is the standard deviation and the kernel size is (2k+1)×(2k+1). Then, the local gradient of each point is calculated. Calculate the edge direction for each point Based on the high threshold and the low threshold, potential edges in the iris region are determined, and edge linking is performed by merging weak pixels connected to strong pixels, so that the texture in the iris region is clearly presented and recorded.

[0086] In one implementation, the step S104 of stitching together the plurality of lower half face images to obtain the lower half face model may specifically include the following steps S201 to S20X:

[0087] In step S201, at least two nonlinear scale spaces of the lower half face images are constructed according to an algorithm based on scale space theory and nonlinear scale space extreme point detection.

[0088] Specifically, the algorithm is the KAZE algorithm, and the parameter θ in the scale space can be described as follows:

[0089]

[0090] Among them, θ0 is the base scale, o is the index of the group, and S represents the index of the layer within the group. The scale parameter of the key point is calculated based on the number of groups and layers within the group where the key point is located and the combination of equations.

[0091] The scale parameters of each layer in the group that constructs the Gaussian pyramid are calculated according to the following formula:

[0092]

[0093] The scale parameters of the same layer in different groups are the same, so the scale calculation formula of a layer image in the group is as follows:

[0094]

[0095] In order to ensure the continuity of scale space, a set of images is obtained by sampling the second to last layer of the previous set. If the initial scale of the first set is θ, then the scale parameters of each layer of the first set are θ, rθ, r 2 θ and so on, then the scale of the penultimate layer can be defined as r s θ=2θ.

[0096] Since the nonlinear diffusion filter model is based on time, it is necessary to convert the scale parameter into the evolution time. Assuming that the standard deviation used in the Gaussian scale space is σ, then the convolution of the Gaussian is equivalent to the duration t = σ 2 / 2, all images in the nonlinear scale space can be obtained through the AOS algorithm, which can be expressed as:

[0097]

[0098] In step S202, extreme value points in the nonlinear scale space are calculated to obtain feature points.

[0099] Among them, the maximum value in the nonlinear scale space can be used as a feature point.

[0100] In step S203, the main direction within the preset area of ​​the feature point is calculated.

[0101] Specifically, assuming that the scale parameter of the feature point is θ1, the search radius is set to 6θ1, six 60-degree fan-shaped areas are divided within the radius, and the sum of the Haar wavelet features in each fan-shaped area is calculated. The direction with the largest sum of wavelet features is determined as the main direction.

[0102] In step S204, a feature vector for describing information of surrounding pixels of each feature point is calculated in a preset area of ​​each feature point.

[0103] Among them, for the scale parameter θ i The feature point can be taken as a 24θ gradient image centered on the feature point. i x 24θ i Then, the window is divided into 4×4 pieces of size 9θ i ×9θ i There is a width of 2θ between adjacent sub-regions. iIn the process of calculating the sub-region description vector, for each sub-region, a vector with weight θ1 = 2.5θ is used. i To describe the vector for each subregion:

[0104] d v =(ΣL x ,ΣL y ,Σ|L x |,Σ|L y |);

[0105] The weight of each sub-region of the vector dv is then weighted by another 4×4 Gaussian window, where θ2 = 1.5θ i Finally, a 64-dimensional description vector, i.e., feature vector, is obtained through normalization.

[0106] In step S205, feature matching is performed based on the distance measurement between any two of the feature vectors, so that at least two lower half face images are spliced.

[0107] As a supplement, after feature matching, there are often individual mismatches and over-concentration. To solve this problem, the RANSAC algorithm is used to eliminate mismatched points.

[0108] Randomly selecting a group of samples from the matching data set of the feature vector, and calculating and evaluating model parameters based on the selected samples;

[0109] Calculate the projection error between all other samples in the matching data set and the evaluation model. If the error is less than a threshold, record them in the qualified set, and take the qualified set with the largest number of elements as the optimal set;

[0110] Repeatedly select samples for calculation, and if the number of elements in the current qualified set is greater than the previous optimal set, update the current qualified set to the new optimal set, and perform a new round of sample selection calculation until the set number of cycles is reached;

[0111] The feature vector in the final optimal set is used as a result and applied to the spliced ​​image, so that at least two lower-half-face images are spliced ​​into the lower-half-face model.

[0112] The feature points are accurately matched through the above iterative process, which effectively eliminates mismatched point pairs, obtains the optimal feature points, eliminates distortion and ghosting problems in the splicing process, and obtains an accurate lower face model.

[0113] In another embodiment, after determining whether the current user is alive, the method may further perform:

[0114] The half-face model is subjected to facial recognition alone, or / and combined with the iris feature to perform recognition to determine the identity of the user.

[0115] Specifically, a half-face feature extraction network can be trained offline through a deep learning method, and then the network can be used to extract half-face image features, and whether it is the same person can be determined based on the similarity between the features. At the same time, iris features, especially the texture in the iris features, can be combined to refine the recognition of iris texture.

[0116] Based on the same idea, Figure 2 As shown, an exemplary embodiment of the present disclosure also provides a living body recognition device in VR, including: a first acquisition module 201, used to acquire a plurality of first human eye images taken by a plurality of first cameras arranged at preset positions at a preset frequency, wherein the preset frequency corresponds to the brightness change of the VR display screen; a first calculation module 202, used to process the plurality of first human eye images to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination and texture of the ellipse, and calculate the degree of contraction and / or expansion of the pupil, and quantify to form a time series feature vector; a second acquisition module 203, used to acquire a plurality of lower half face images taken by a plurality of second cameras arranged at preset positions; a second calculation module 204, used to splice the plurality of lower half face images to obtain a lower half face model; and a recognition module 205, used to determine whether the current user is alive based on the time series feature vector and the lower half face model.

[0117] Based on the living body recognition device in the VR, based on several first images corresponding to the brightness changes of the display screen, it is possible to analyze whether the iris features in the first image are generated by a living body, thereby preventing the occurrence of unauthorized unlocking of iris data, greatly improving the security of iris recognition.

[0118] Based on the same idea, the embodiment of this specification also provides a living body recognition device in VR, such as Figure 3 shown.

[0119] The living body recognition device in VR may be the server provided in the above embodiment.

[0120] The liveness recognition device in VR may have relatively large differences due to different configurations or performances, and may include one or more processors 301 and memory 302, and the memory 302 may store one or more storage applications or data. Among them, the memory 302 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) and / or a cache storage unit, and may further include a read-only storage unit. The application stored in the memory 302 may include one or more program modules (not shown in the figure), such program modules include but are not limited to: an operating system, one or more applications, other program modules and program data, each of these examples or some combination may include the implementation of a network environment. Furthermore, the processor 301 can be configured to communicate with the memory 302 to execute a series of computer executable instructions in the memory 302 on the liveness recognition device in VR. The liveness recognition device in VR may also include one or more power supplies 303, one or more wired or wireless network interfaces 304, one or more I / O interfaces (input and output interfaces) 305, one or more external devices 306 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable users to interact with the device, and / or communicate with any device that enables the device to communicate with one or more other computing devices (such as routers, modems, etc.). Such communication may be performed through the I / O interface 305. In addition, the device may also communicate with one or more networks (such as a local area network (LAN)) through the wired or wireless interface 304.

[0121] Specifically, in this embodiment, the live body recognition device in VR includes a memory 302, and one or more programs, wherein the one or more programs are stored in the memory 302, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the live body recognition device in VR, and the one or more programs are configured to be executed by one or more processors 301, including the following computer executable instructions:

[0122] A plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency are obtained, wherein the preset frequency corresponds to the brightness change of the VR display screen; the plurality of first human eye images are processed to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination angle and texture of the ellipse, and the degree of contraction and / or expansion of the pupil is calculated and quantified to form a time series feature vector; a plurality of lower half face images captured by a plurality of second cameras arranged at preset positions are obtained; the plurality of lower half face images are spliced ​​to obtain a lower half face model; based on the time series feature vector and the lower half face model, whether the current user is alive is determined.

[0123] Based on the same idea, the embodiment of this specification also provides a smart glasses, such as Figure 4 As shown, the smart glasses include: a plurality of infrared cameras 401, which are respectively directed to the left and right human eyes and arranged in preset positions; an infrared floodlight emitter 402, which is arranged facing the human eyes; a plurality of visible light cameras 406, which are respectively directed to the lower half of the face and arranged in preset positions; a display screen 403, which is used for displaying at the front end; one or more processors 404; and a storage device 405, which is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors 404 implement the following method:

[0124] A plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency are obtained, wherein the preset frequency corresponds to the brightness change of the VR display screen; the plurality of first human eye images are processed to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination angle and texture of the ellipse, and the degree of contraction and / or expansion of the pupil is calculated and quantified to form a time series feature vector; a plurality of lower half face images captured by a plurality of second cameras arranged at preset positions are obtained; the plurality of lower half face images are spliced ​​to obtain a lower half face model; based on the time series feature vector and the lower half face model, whether the current user is alive is determined.

[0125] Based on the same idea, the exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0126] refer to Figure 5As shown, a program product 500 for implementing the above method according to an exemplary embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0127] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0128] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0129] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0130] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0131] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary implementation of the present disclosure.

[0132] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiment of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0133] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0134] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0135] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for identifying living bodies in VR, characterized in that: The method comprises: Acquire a plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency, where the preset frequency corresponds to a brightness change of a VR display screen; Processing a plurality of the first human eye images to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination and texture of the ellipse, and calculating the degree of contraction and / or dilation of the pupil, and quantifying them to form a time series feature vector; Acquire a plurality of lower face images captured by a plurality of second cameras arranged in preset positions; The plurality of lower half face images are stitched together to obtain a lower half face model, and the stitching includes: Constructing at least two nonlinear scale spaces of the lower half face images according to an algorithm based on scale space theory and nonlinear scale space extreme point detection; Calculating extreme points in the nonlinear scale space to obtain feature points; Calculate the main direction within a preset area of ​​the feature point; In a preset area of ​​each feature point, a feature vector is calculated for describing information of surrounding pixels of the feature point; Perform feature matching based on a distance metric between any two of the feature vectors, randomly select a group of samples from the matching data set of the feature vectors, and calculate and evaluate model parameters based on the selected samples; Calculate the projection error between all other samples in the matching data set and the evaluation model. If the error is less than a threshold, record them in the qualified set, and take the qualified set with the largest number of elements as the optimal set; Repeatedly select samples for calculation, and if the number of elements in the current qualified set is greater than the previous optimal set, update the current qualified set to the new optimal set, and perform a new round of sample selection calculation until the set number of cycles is reached; Taking the feature vector in the final optimal set as a result, acting on the spliced ​​image, so that at least two lower half face images are spliced ​​into the lower half face model; Based on the time series feature vector and the lower half face model, it is determined whether the current user is alive.

2. The method for identifying living bodies in VR according to claim 1, characterized in that: The step of processing the plurality of first human eye images to obtain iris features of the human eye includes: Registering at least two of the first human eye images of the same human eye to obtain a second human eye image with a complete human eye iris; An iris region in the second human eye image is extracted, where the iris region is composed of a boundary from the iris to the sclera and a boundary from the iris to the pupil, and the iris feature is located in the iris region.

3. The method for identifying living bodies in VR according to claim 2, characterized in that: Before registering at least two of the first human eye images, the first human eye images are further sharpened.

4. The method for identifying living bodies in VR according to claim 2, characterized in that: When registering at least two of the first human eye images, the method further includes: Detecting and extracting surface features of at least two of the first human eye images; Matching the surface features of at least two of the first human eye images; Retrieving the positions of the corresponding points of the matched surface features; Calculate the transformation relationship of the points of the surface features matched based on the MSAC algorithm; Based on the transformation relationship, a geometric transformation is performed on at least two of the first human eye images so that at least two of the first human eye images overlap.

5. The method for identifying living bodies in VR according to claim 2, characterized in that: The method extracts the iris area in the second human eye image based on one of circular Hough transform, iterative algorithm, Chan-Vese active contour algorithm and Fourier spectral density algorithm, performs image analysis on the iris area to obtain the major axis, minor axis, center coordinates and inclination of the ellipse, and calculates the texture of the iris area based on an edge algorithm.

6. The method for identifying living bodies in VR according to claim 1, characterized in that: The step of calculating the degree of pupil contraction and / or dilation and quantifying the time series feature vector comprises: The parameter changes of the ellipse major axis, the minor axis, the center coordinates and the inclination angle of the iris are combined into the time series feature vector in time sequence.

7. The method for identifying living bodies in VR according to claim 1, characterized in that: The determining whether the current user is alive based on the time series feature vector and the lower half face model specifically includes: Determining whether the time series characteristic vector corresponds to the brightness change of the VR display screen; Determine whether the lower half face model corresponds to the expression currently prompted by the system, or determine whether the lower half face model is a human face; After determining whether the current user is alive, the method further includes: The half-face model is subjected to facial recognition alone, or / and combined with the iris feature to perform recognition to determine the identity of the user.

8. A living body recognition device in VR, characterized in that: include: A first acquisition module, used to acquire a plurality of first human eye images captured by a plurality of first cameras arranged at preset positions at a preset frequency, wherein the preset frequency corresponds to a brightness change of a VR display screen; A first calculation module processes the first plurality of human eye images to obtain iris features of the human eye, wherein the iris features include the major axis, minor axis, center coordinates, inclination and texture of the ellipse, and calculates the degree of contraction and / or dilation of the pupil, and quantifies the degree to form a time series feature vector; A second acquisition module, used to acquire a plurality of lower face images captured by a plurality of second cameras arranged in preset positions; The second calculation module is used to splice a plurality of lower half face images to obtain a lower half face model. When performing the splicing, the module includes: constructing a nonlinear scale space of at least two lower half face images according to an algorithm based on scale space theory and nonlinear scale space extreme point detection; calculating the extreme points in the nonlinear scale space to obtain feature points; calculating the main direction within a preset area of ​​the feature points; calculating a feature vector for describing the information of the surrounding pixels of the feature points within the preset area of ​​each feature point; performing feature matching based on the distance metric between any two feature vectors, randomly selecting a group of samples from the matching data set of the feature vectors, and matching the selected samples according to the selected extreme points. The present invention calculates the evaluation model parameters; calculates the projection error between all other samples in the matching data set and the evaluation model, and if the error is less than a threshold, records them in a qualified set, and takes the qualified set with the largest number of elements as the optimal set; repeatedly selects samples for calculation, and if the number of elements in the current qualified set is greater than the previous optimal set, updates the current qualified set to a new optimal set, and performs a new round of sample selection calculation until the set number of cycles is reached; takes the feature vector in the final optimal set as a result, and acts on the spliced ​​image, so that at least two lower half face images are spliced ​​into the lower half face model; The recognition module is used to determine whether the current user is alive based on the time series feature vector and the lower half face model.

9. A smart glasses, characterized in that: include: Several infrared cameras are set up to point at the left and right eyes respectively and arranged in preset positions; Infrared flood emitter, set towards the human eye; Several visible light cameras are respectively set to point at the lower half of the face and arranged in preset positions; Display screen; one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the method for live body recognition in VR as claimed in claim 1.

Citation Information

Patent Citations

  • Anti-fake iris identity authentication method used for intelligent glasses

    CN103544420A

  • Iris-face multi-mode living body detection and recognition method and device, medium and equipment

    CN113723147A