Method and device for face in-vivo feature recognition, storage medium and electronic equipment

By presenting target movement trajectories and constructing 3D models in the face recognition presentation area, combined with user offset information, the problem of insufficient accuracy and security in face live feature recognition is solved, and 2D presentation attacks and live traversal are realized. Effective defense against attacks, applicable to all mobile devices, improving the security and fun of the identification process.

CN118570856APending Publication Date: 2024-08-30ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410650914.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technologies have insufficient accuracy and security in face and live feature recognition. Especially when faced with 2D rendering attacks and live body traversal attacks, they are difficult to effectively defend and lack compatibility to be applicable to all mobile devices.

Method used

By presenting the target movement trajectory passing through at least two marker points in the face recognition presentation area, the user is guided to perform gaze movement operations, and a 3D model is constructed based on the 3D neural network, combined with the user's eye and head offset information, to determine the living body Feature recognition results enhance the accuracy and security of recognition.

Benefits of technology

It improves the accuracy and security of live face feature recognition, effectively defends against 2D rendering attacks and live body traversal attacks, is suitable for all mobile devices, breaks the security limitations of 2D face recognition scenarios, and enhances the fun of the recognition process. performance and user-friendliness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570856A
    Figure CN118570856A
Patent Text Reader

Abstract

The embodiment of the invention discloses a method and device for face in-vivo feature recognition, a storage medium and electronic equipment, and the method comprises the steps: determining at least two mark points in a face recognition presentation region, and then determining and presenting a target movement track passing through the at least two mark points, in response to a sight line movement operation executed by the user for the target movement track, presenting a sight line movement track of the user in a sight line movement process, and determining a living body feature recognition result corresponding to the face image information according to the target movement track and the sight line movement track, the method can effectively resist 2D presentation type attacks, living body traversal attack risks and system injection type attack risks, improves the accuracy of face living body feature recognition, and improves the safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to computer technology, and in particular to a method, device, storage medium and electronic equipment for human face living feature recognition. Background Art

[0002] With the development of mobile terminal technology and the popularization of application programs, the functions that users can operate on mobile devices and mobile applications involve all aspects. Services in many application scenarios, especially some services in the government and financial fields, have high requirements for user authentication and real-name security. Therefore, various biometric authentication capabilities may be used in mobile devices and mobile applications, such as fingerprints, palm prints, irises, faces, etc. Summary of the invention

[0003] The purpose of the embodiments of this specification is to provide a method, device, storage medium and electronic device for facial liveness feature recognition.

[0004] The present specification provides a method for face live feature recognition, which can guide a user to perform a sight movement operation based on the target movement trajectory by presenting a target movement trajectory passing through at least two marking points in a face recognition presentation area, thereby determining a live feature recognition result based on the target movement trajectory and the user's actual sight movement trajectory, and can improve the accuracy and security of face live feature recognition. The method includes:

[0005] Acquire facial image information located in a facial recognition presentation area, and if the facial image information meets a predetermined initialization requirement, determine at least two marking points in the facial recognition presentation area;

[0006] Determine and present a target movement trajectory passing through the at least two marking points, wherein the starting point of the target movement trajectory is a first marking point among the at least two marking points, the end point of the target movement trajectory is a second marking point among the at least two marking points, and the target movement trajectory is used to guide the user to move the line of sight from the first marking point to the second marking point;

[0007] In response to a sight line movement operation performed by a user on the target movement track, presenting a sight line movement track of the user during the sight line movement process;

[0008] A living feature recognition result corresponding to the facial image information is determined according to the target movement trajectory and the sight line movement trajectory.

[0009] Furthermore, in some embodiments, if the facial image information meets a predetermined initialization requirement, at least two marking points are randomly determined in the facial recognition presentation area.

[0010] Further, in some embodiments, determining at least two marking points in the face recognition presentation area includes:

[0011] Determining an initial point in the face recognition presentation area according to the face image information;

[0012] At least two marking points are determined in the face recognition presentation area according to the initial point.

[0013] Further, in some embodiments, the at least two marking points include the initial point, and the first marking point is the initial point.

[0014] Further, in some embodiments, the at least two marking points include at least two randomly moved points, and determining at least two marking points in the face recognition presentation area according to the initial point includes:

[0015] Determine a circular area according to the initial point and a predetermined radius distance, wherein the predetermined radius distance is determined according to a user eye offset distance threshold and a user head offset angle threshold;

[0016] The at least two randomly moved points are determined in the circular area.

[0017] Further, in some embodiments, determining the at least two randomly moved points in the circular area includes:

[0018] Dividing the circular area into a plurality of sub-areas of the same size;

[0019] At least two sub-regions are randomly determined among the multiple sub-regions, and at least two randomly moved points are determined in the at least two sub-regions, wherein for each sub-region of the at least two sub-regions, one randomly moved point is randomly determined in the sub-region.

[0020] Furthermore, in some embodiments, the method further includes: determining a threshold of an eye offset distance of the user and an offset angle of the user's head according to the face shape information of the user.

[0021] Furthermore, in some embodiments, the determining and presenting the target movement trajectory passing through the at least two marking points includes:

[0022] According to the presentation position information of the at least two marking points, randomly determining a target movement trajectory passing through the at least two marking points;

[0023] The target movement trajectory is presented.

[0024] Furthermore, in some embodiments, in response to the user's sight line movement operation performed on the target movement track, presenting the sight line movement track of the user during the sight line movement process includes:

[0025] According to the facial image information, construct a 3D model based on a 3D neural network;

[0026] In response to a sight line movement operation performed by the user with respect to the target movement trajectory, based on the 3D model, a first vector corresponding to the sight line of the user's left eye, a second vector corresponding to the sight line of the user's right eye, and a third vector corresponding to the facial part designated by the user are obtained, an intersection range corresponding to the first vector, the second vector, and the third vector in space is determined, and a projection point corresponding to a center point of the intersection range on the screen is obtained;

[0027] The moving trajectory of the projection point is used as the sight line moving trajectory of the user during the sight line moving process.

[0028] Further, in some embodiments, the method further comprises: calculating head offset information corresponding to the user based on the 3D model;

[0029] Determine the spatial position information of the facial part specified by the user according to the head offset information;

[0030] A third vector corresponding to the facial part specified by the user is determined according to the spatial position information.

[0031] Further, in some embodiments, the user-specified facial part includes a tip of the user's nose.

[0032] Furthermore, in some embodiments, determining the living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory includes:

[0033] Determine the target range corresponding to the sight line movement trajectory according to the projection point;

[0034] The living feature recognition result corresponding to the facial image information is determined according to the falling condition of the target movement trajectory in the target range.

[0035] Furthermore, in some embodiments, determining the living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory includes:

[0036] A similarity comparison is performed on the target movement trajectory and the sight line movement trajectory, and a living feature recognition result corresponding to the facial image information is determined according to the comparison result.

[0037] Furthermore, in some embodiments, the method further comprises:

[0038] Calculating a movement confidence corresponding to the line of sight movement process according to the eye deviation information and the head deviation information of the user during the line of sight movement process;

[0039] The determining, according to the target movement trajectory and the sight line movement trajectory, a living feature recognition result corresponding to the face image information includes:

[0040] A living feature recognition result corresponding to the facial image information is determined according to the target movement trajectory, the sight line movement trajectory and the movement confidence.

[0041] Furthermore, in some embodiments, determining the living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory includes:

[0042] The living feature recognition result corresponding to the facial image information is determined according to the target movement trajectory, the sight line movement trajectory and the relative displacement information between the user face and the user device during the sight line movement.

[0043] Furthermore, in some embodiments, the method further includes: determining a presentation style corresponding to the at least two marking points, so as to present the at least two marking points according to the presentation style when presenting the target movement trajectory.

[0044] Furthermore, in some embodiments, the method further includes: determining interactive content corresponding to the at least two marking points, so as to prompt the user to perform a sight movement operation for the target movement trajectory according to the interactive content.

[0045] The embodiment of this specification also provides a device for face live feature recognition, including:

[0046] A marker point determination module, used to obtain face image information located in a face recognition presentation area, and if the face image information meets a predetermined initialization requirement, determine at least two marker points in the face recognition presentation area;

[0047] A first presentation module is used to determine and present a target movement trajectory passing through the at least two marking points, wherein the starting point of the target movement trajectory is a first marking point among the at least two marking points, the end point of the target movement trajectory is a second marking point among the at least two marking points, and the target movement trajectory is used to guide the user to move the line of sight from the first marking point to the second marking point;

[0048] A second presentation module, configured to present a sight line movement trajectory of the user during the sight line movement process in response to a sight line movement operation performed by the user on the target movement trajectory;

[0049] A result determination module is used to determine the living feature recognition result corresponding to the face image information according to the target movement trajectory and the sight line movement trajectory.

[0050] The embodiments of the present specification also provide a computer program product, wherein the computer program product stores at least one instruction, and the at least one instruction is suitable for being loaded by a processor and executing the above method steps.

[0051] The embodiments of the present specification also provide a storage medium, wherein the storage medium stores a computer program, and the computer program is suitable for being loaded by a processor and executing the steps of the above method.

[0052] An embodiment of the present specification also provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the above method.

[0053] In the embodiment of the present specification, by presenting a target movement trajectory passing through at least two marking points in the face recognition presentation area, the user can be guided to perform a sight movement operation based on the target movement trajectory, and the live feature recognition result corresponding to the user can be determined according to the target movement trajectory and the user's sight movement trajectory, thereby improving the accuracy of face live feature recognition and enhancing security; further, the positions of at least two marking points are random, thereby effectively avoiding traversal attacks by attackers, improving the accuracy of face live feature recognition and enhancing security; and, by constructing a 3D model based on 2D face image information, and further determining the live feature recognition result based on the 3D model, it is possible to effectively combat 2D presentation attacks, live traversal attack risks, and system injection attack risks, and can be applicable to all mobile terminal devices that can only collect 2D images. Applications and face recognition scenarios have greater compatibility, breaking the barrier that the safety level of 2D face recognition scenarios is lower than that of 3D face recognition scenarios; in addition, through the diversity of presentation styles and interactive content, the fun of the face recognition process can be enhanced, and the user's action requirements are small and natural, and the process design is more user-friendly. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A flowchart of a method for facial liveness feature recognition provided in an embodiment of this specification;

[0055] Figure 2 A schematic diagram of an example of positioning the initial point provided in the embodiments of this specification;

[0056] Figure 3 A schematic diagram of a method for determining at least two marking points provided as an example in an embodiment of this specification;

[0057] Figure 4 A schematic diagram of presenting a target moving trajectory on a screen in accordance with an example provided in an embodiment of this specification;

[0058] Figure 5 A flowchart of a method for facial liveness feature recognition provided in an embodiment of this specification;

[0059] Figure 6 A schematic diagram of determining a projection point when there is no head angle deviation, which is an example provided in an embodiment of this specification;

[0060] Figure 7 A schematic diagram of determining a projection point when there is no head angle deviation, which is another example provided in an embodiment of this specification;

[0061] Figure 8 A schematic diagram of determining a projection point when there is a head angle deviation is provided as an example of an embodiment of this specification;

[0062] Fig. 9 for Figure 8 Schematic diagram of the corresponding algorithm prediction key points;

[0063] Fig.10 A schematic diagram of determining a projection point when there is a head angle deviation is another example provided in an embodiment of this specification;

[0064] Fig.11 for Fig.10 Schematic diagram of the corresponding algorithm prediction key points;

[0065] Fig.12 A schematic diagram of the structure of a device for face live feature recognition provided in an embodiment of this specification;

[0066] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0068] See also Figure 1 , is a flowchart of a method for facial liveness feature recognition provided in an embodiment of this specification. In an embodiment of this specification, the method for facial liveness feature recognition is applied to a facial liveness feature recognition device or an electronic device equipped with a facial liveness feature recognition device. In some cases, each module in the facial liveness feature recognition device or a unit in each module may be deployed on one electronic device or on multiple electronic devices. Figure 1 The process shown is described in detail, and the method for face living feature recognition may specifically include the following steps:

[0069] S102, acquiring face image information located in a face recognition presentation area, and if the face image information meets a predetermined initialization requirement, determining at least two marking points in the face recognition presentation area.

[0070] In some embodiments, after the face recognition process begins, the user will input face image information in real time in the face recognition presentation area. It is necessary to first determine whether the face image information input in the face recognition presentation area meets the predetermined initialization requirements, that is, it is necessary to first capture the 2D face image (that is, face image information) of the user's front face and of appropriate size input in the face recognition presentation area, so as to select key points based on the 2D face image that meets the predetermined initialization requirements. The above judgment process includes the judgment of the position of the face on the canvas, the judgment of the distance from the camera, the judgment of the eye gaze, the initialization of the nose tip position and the head posture, etc.; the process is a cyclic judgment execution, that is, the above judgment process needs to be executed for each frame of the input 2D face image until the input user face meets the initialization requirements. In some embodiments, the predetermined initialization requirements include multiple parameters and the value range corresponding to each parameter. The face image that meets the predetermined initialization requirements is an image of the user's front face and of appropriate size. By setting or adjusting the predetermined initialization requirements, it can be ensured that the face is relatively close to the center of the face recognition presentation area and the image quality is high and the clarity is good, so as to facilitate the execution of the subsequent face live feature recognition process.

[0071] In some embodiments, when it is detected that the facial image information of the current frame meets the predetermined initialization requirements, the initialization parameters corresponding to the facial image information of the frame are recorded, such as the position information of the face on the canvas, the distance information between the face and the camera, the nose tip position information, the head posture information, the eye parameter information, etc. used in the above judgment process. The initialization parameters can be used to determine the initial point, construct a 3D model, etc. in subsequent steps.

[0072] In some embodiments, "if the facial image information meets the predetermined initialization requirements" means that a frame of image is detected based on the facial image information and meets the predetermined initialization requirements, rather than that every frame of image meets the predetermined initialization requirements, and after the initialization is passed, it is still necessary to continue to obtain the facial image information located in the facial recognition presentation area.

[0073] In some embodiments, the server determines at least two marking points in the face recognition presentation area, and sends them to the client in a subsequent step for presentation on the client screen.

[0074] In some embodiments, at least two marking points are randomly determined in the face recognition presentation area. For example, after the user starts the face live feature recognition, the face image information input by the user in the face recognition presentation area is obtained, and an initialization detection is performed. When it is detected that the face image information input in real time meets the predetermined initialization requirements, three marking points are randomly determined in the face recognition presentation area. In some embodiments, a sub-area is first determined based on the size information of the face recognition presentation area, and the sub-area is included in the face recognition presentation area, and its center is the same as the center of the face recognition presentation area. Then, at least two marking points are randomly determined in the sub-area, thereby avoiding the randomly determined marking points from being too close to the edge of the face recognition presentation area. In some embodiments, the face recognition presentation area is first divided into multiple non-overlapping sub-areas, and then a marking point is randomly determined from each sub-area, thereby avoiding the randomly determined marking points from being too close to each other to a certain extent. In some embodiments, all or part of the marking points of at least two marking points are randomly determined.

[0075] In some embodiments, determining at least two marking points in the face recognition presentation area includes: determining an initial point in the face recognition presentation area based on the face image information; and determining at least two marking points in the face recognition presentation area based on the initial point.

[0076] In some embodiments, the initial point is determined in the face recognition presentation area based on the face image information that meets the initialization requirements. In some embodiments, since the face image that meets the initialization requirements usually has no head offset or has a very small offset, the initial point may be the center point of the face image, the nose tip position, or the position slightly above the nose tip by a predetermined distance (i.e., the position close to the center point). In some embodiments, the initial point is calculated based on the face image information that meets the initialization requirements. Figure 2 A schematic diagram of an example of positioning the initial point provided in the embodiments of this specification, Figure 2 The face image shown in meets the predetermined initialization requirements. The face image has no head offset. The nose tip position can be determined according to the corresponding face image information, and the nose tip position is recorded as the initial point G_origin.

[0077] In some embodiments, the initial point is presented / rendered on the client screen so that the user can clearly know the location of the initial point. In some embodiments, if it is determined based on the face image information input by the user in real time that the user has deviated from the initial point beyond a predetermined range, the user may be prompted to move to re-initialize the detection and re-determine the initial point. It should be noted that the initial point may not be presented on the screen, and this is not limited in the embodiments of this specification.

[0078] In some embodiments, the at least two marking points include the initial point, and the first marking point is the initial point. In some embodiments, the initial point is used as the first marking point, and at least one other marking point is determined based on the initial point. In some embodiments, a first area is first determined based on the position of the initial point, the first area is centered on the initial point and is located in the face recognition presentation area, and then at least one other marking point is randomly determined in other areas of the face recognition presentation area except the first area.

[0079] In some embodiments, the at least two marking points include at least two randomly moving points, and the determining of at least two marking points in the face recognition presentation area based on the initial point includes: determining a circular area based on the initial point and a predetermined radius distance, wherein the predetermined radius distance is determined based on a user eye offset distance threshold and a user head offset angle threshold; and determining the at least two randomly moving points in the circular area.

[0080] In some embodiments, the distance range between the position where the random moving point appears and the initial point is [0, R_max], where R_max represents the maximum position of the eye offset [0, gaze_max] and the head offset angle [0, 45°]. In this way, the position where all random moving points appear is in a circular area with R_max as the radius, where R_max and gaze_max can be pre-set, or a threshold can be set first and then dynamically adjusted, or a threshold can be set based on different face shapes and then dynamically adjusted.

[0081] In some embodiments, the method further comprises: determining the user eye offset distance threshold and the user head offset angle according to the user's face shape information. In some embodiments, for different face shapes, the user eye offset distance threshold and the user head offset angle corresponding to the face shape are calculated according to the feature information corresponding to the face shape.

[0082] In some embodiments, at least two random moving points are directly randomly determined in the circular area. In some embodiments, a circular sub-area is determined with the initial point as the center and a predetermined value as the radius, and the predetermined value is less than the predetermined radius distance, and a sector area other than the circular sub-area in the circular area is used as a target area, and at least two random moving points are randomly determined in the target area, so that when the initial point is one of the marked points, it can be avoided that other marked points / random moving points are too close to the initial point.

[0083] In some embodiments, determining the at least two random moving points in the circular area includes: dividing the circular area into multiple sub-areas of the same size; randomly determining at least two sub-areas among the multiple sub-areas, and determining at least two random moving points in the at least two sub-areas, wherein, for each sub-area of ​​the at least two sub-areas, a random moving point is randomly determined in the sub-area.

[0084] Figure 3 A schematic diagram of a method for determining at least two marking points is provided as an example in an embodiment of this specification, such as Figure 3 The circular area shown has R_max as the radius. Considering that the head offset direction is divided into 8 directions: up, down, left, right, upper left, upper right, lower left, and lower right, the circular area is divided into 8 blocks accordingly. If it is required that at least n (n>=2) random moving points appear in the interactive action, the positions must be in different blocks, so the direction types of random living bodies are E=8*7 n-1 The specific random moving point position is random within the plate, which can effectively resist the action living body traversal attack. Figure 3 The method of dividing the circular area shown is only an example and not a limitation. Those skilled in the art should understand that any implementation method of dividing the circular area into multiple sub-areas of the same size should be included in the protection scope of this specification.

[0085] In some embodiments, the at least two marking points include an initial point and at least two randomly moved points other than the initial point.

[0086] It should be noted that the above-mentioned implementation method of determining at least two marker points in the face recognition presentation area is only an example and can be combined with each other. Those skilled in the art should understand that any line of sight method of determining at least two marker points in the face recognition presentation area should be included in the protection scope of this specification.

[0087] It should be noted that in the embodiments of this specification, since the determination of the at least two marking points is random, the interactive process for facial liveness feature recognition based on this is also random, thereby effectively counteracting the risks of 2D presentation attacks and liveness traversal attacks.

[0088] S104, determine and present a target movement trajectory passing through the at least two marking points, wherein the starting point of the target movement trajectory is a first marking point among the at least two marking points, and the end point of the target movement trajectory is a second marking point among the at least two marking points, and the target movement trajectory is used to guide the user to move his or her sight from the first marking point to the second marking point.

[0089] In some embodiments, the server determines the target movement trajectory passing through the at least two marking points, and sends the target movement trajectory to the client, which receives the target movement trajectory and presents the target movement trajectory in the face recognition presentation area. The target movement trajectory includes at least two marking points and the movement path corresponding to the at least two marking points; it should be noted that the movement path between the two marking points may be a straight line, or may be an arc or a broken line or other forms, which is not limited in this specification.

[0090] Figure 4 The schematic diagram of presenting a target moving track on a screen is provided as an example in the embodiments of this specification, such as Figure 4 As shown, the target moving track presented on the screen includes 3 marking points and the moving path between the 3 marking points. The 3 marking points are the target initial point, random moving point 1, and random moving point 2. The moving path is from the target initial point to the random moving point 1, and then from the random moving point 1 to the random moving point 2. It should be noted that Figure 4 The system also includes a prompt message to guide the user, "Please look at the random moving points in order," so that the user can complete the interaction with the marked points. Figure 4 The prompt information is only an example. In actual applications, it can be set based on needs, and there can be multiple forms of display of prompt information. For example, the prompt form for guiding user interaction can be text rendering on the user interface, or other forms such as voice.

[0091] In some embodiments, determining and presenting the target movement trajectory passing through the at least two marking points includes: randomly determining the target movement trajectory passing through the at least two marking points according to the presentation position information of the at least two marking points; and presenting the target movement trajectory.

[0092] In some embodiments, the target movement trajectory passing through the at least two marking points is randomly determined, including randomly determining the order of passing through the at least two marking points and / or randomly determining the path between the two marking points. For example, after randomly determining three marking points (P1, P2, P3), the order of passing through the three marking points can be randomly determined as: P2, P3, P1, and then the path between P2 and P3 is randomly selected as a straight line and the path between P3 and P1 is an arc from "straight line, arc, and broken line".

[0093] It should be noted that since the determination of the marker point position is random, the determination of the target movement trajectory is also random, which makes it possible to effectively combat traversal attacks, improve the accuracy of facial liveness feature recognition, and provide users with better security protection.

[0094] S106: In response to the sight line movement operation performed by the user on the target movement trajectory, presenting the sight line movement trajectory of the user during the sight line movement process.

[0095] In some embodiments, when the user performs an eye movement operation according to a target movement trajectory, each frame of image information input in the face recognition presentation area is processed to obtain and present the eye movement trajectory of the user during the eye movement process.

[0096] It should be noted that, since the target movement trajectory and the user's line of sight movement trajectory are simultaneously presented on the screen, the user can be guided to adjust his line of sight in real time to complete the interaction according to a trajectory that is the same as or similar to the target movement trajectory.

[0097] S108, determining a live feature recognition result corresponding to the face image information according to the target movement trajectory and the sight line movement trajectory. The live feature recognition result is used to indicate whether the face recognition is passed.

[0098] It should be noted that there is no strict order relationship between step S108 and step S106. The live feature recognition result can be determined after step S106 is executed, or each frame of real-time image information can be detected during the execution of step S106 to determine the final live feature recognition result.

[0099] In some embodiments, determining the live feature recognition result corresponding to the facial image information based on the target movement trajectory and the sight line movement trajectory includes: performing a similarity comparison on the target movement trajectory and the sight line movement trajectory, and determining the live feature recognition result corresponding to the facial image information based on the comparison result.

[0100] A similarity comparison is performed on the target movement trajectory and the sight movement trajectory, that is, the similarity between the target movement trajectory and the user's sight movement trajectory is determined. Similarity comparison can be implemented in a variety of ways, such as a point-based method, a shape-based method, a segmentation-based method, etc., which is not limited in this specification. The technical field should be able to understand that any existing or future implementation method for similarity comparison between two trajectories should be included in the protection scope of this specification. As an example, if the similarity between the target movement trajectory and the sight movement trajectory is higher than a predetermined threshold, the live feature recognition result is determined to be passed, otherwise the live feature recognition result is determined to be failed.

[0101] In some embodiments, the method also includes: calculating the movement confidence corresponding to the line of sight movement process based on the eye deviation information and head deviation information of the user during the line of sight movement process; determining the live feature recognition result corresponding to the facial image information based on the target movement trajectory and the line of sight movement trajectory, including: determining the live feature recognition result corresponding to the facial image information based on the target movement trajectory, the line of sight movement trajectory and the movement confidence.

[0102] In some embodiments, the target movement trajectory and the sight movement trajectory are first compared for similarity, and if the similarity is higher than a predetermined threshold, the movement confidence is calculated, and then the final living feature recognition result is determined based on the movement confidence. In some embodiments, the nose tip position offset is used to characterize the head offset information.

[0103] As an example, the movement confidence W is calculated using the following formula:

[0104] W=O_gaze+O_nose

[0105] Among them, O_gaze is the eye offset, and O_nose is the head angle offset. It should be noted that the eye offset O_gaze and the head angle offset O_nose cannot be 0 at the same time. If both are 0 at the same time, it means that the head is translated and the eyes are not moving. This situation is easy to be bypassed by 2D rendering attacks. Therefore, by calculating the movement confidence, the situation where O_gaze and the head angle offset O_nose are both 0 can be excluded.

[0106] In some embodiments, determining the live feature recognition result corresponding to the facial image information based on the target movement trajectory and the line of sight movement trajectory includes: determining the live feature recognition result corresponding to the facial image information based on the target movement trajectory, the line of sight movement trajectory and the relative displacement information between the user's face and the user device during the line of sight movement.

[0107] It should be noted that in reality, when users hold mobile devices, there is often slight shaking. Therefore, while tracking the movement trajectory of the user's eye deviation or head deviation on the screen, we can further consider the relative displacement between the user's face and the user device (ie, the client). By recording information such as the mobile phone's gyroscope, we can determine whether the verification process is machine operation.

[0108] In some embodiments, the method further includes: determining a presentation style corresponding to the at least two marking points, so as to present the at least two marking points according to the presentation style when presenting the target movement trajectory.

[0109] In some embodiments, the presentation style of the marker point can be randomly generated or randomly determined in a preset style, and there is no limitation on this. For example, the presentation style of the marker point can be a geometric figure, a pattern material, a number, a letter, a text, etc., which can increase its randomness like a verification code and can also meet the requirements of computer Turing test human-machine verification. In some embodiments, the presentation styles of different marker points may be the same or different.

[0110] In some embodiments, the method further includes: determining interactive content corresponding to the at least two marking points to prompt the user to perform a line of sight movement operation for the target movement trajectory according to the interactive content.

[0111] In some embodiments, the interactive content includes any content information used to interact with the marker point, including but not limited to: interactive objects, interactive modes, number of interactions, etc.

[0112] In some embodiments, the interactive content corresponding to the marked point can be determined in combination with the presentation style of the marked point. For example, the marked point is presented as a watermelon, and the interactive content of the marked point can be the action of cutting a watermelon. In some embodiments, the interactive content of different marked points may be the same or different. In some embodiments, the interactive content can be a game type, and thus a small game can be made in combination with the presentation style of the marked point. For example, the marked point includes an initial point, a random moving point 1, and a random moving point 2. The random moving point 1 is presented in a watermelon style, and the random moving point 2 is presented in a banana style. According to the interactive content, the user is prompted to "please finish cutting the watermelon first and then the banana", etc., which can bring a better experience to the user, enhance randomness and be interesting at the same time.

[0113] According to one or more embodiments of the present specification, by presenting a target movement trajectory passing through at least two marking points in the face recognition presentation area, the user can be guided to perform a line of sight movement operation based on the target movement trajectory, and the live feature recognition result corresponding to the user can be determined based on the target movement trajectory and the line of sight movement trajectory of the user, thereby improving the accuracy of face live feature recognition and enhancing security; further, since the positions of at least two marking points are random, traversal attacks by attackers can be effectively avoided; in addition, through the diversity of presentation styles and interactive content, the fun of the face recognition process can be enhanced, and the user's action requirements are not large and are very natural, and the process design is more user-friendly.

[0114] Figure 5 A schematic diagram of a method for facial liveness feature recognition provided in an embodiment of this specification specifically includes the following steps:

[0115] S502, obtaining face image information in a face recognition presentation area, and if the face image information meets a predetermined initialization requirement, determining at least two marking points in the face recognition presentation area.

[0116] The implementation of step S502 is the same as or similar to the implementation of the aforementioned step S102, and will not be repeated here.

[0117] S504: Determine and present a target movement trajectory passing through the at least two marking points.

[0118] The implementation of step S504 is the same as or similar to the implementation of the aforementioned step S104, and will not be described in detail here.

[0119] S506: construct a 3D model based on a 3D neural network according to the facial image information.

[0120] In some embodiments, a 3D model is constructed by performing 3D feature modeling on a 2D image input in a face recognition presentation area in real time based on a 3D neural network algorithm using the initialization parameters recorded during initialization detection, so as to detect the accuracy of the user's random interaction with the at least two marker points based on the 3D model.

[0121] S508, in response to the user's line of sight movement operation performed on the target movement trajectory, obtain a first vector corresponding to the user's left eye line of sight, a second vector corresponding to the user's right eye line of sight, and a third vector corresponding to the user's specified facial part based on the 3D model, determine the intersection range corresponding to the first vector, the second vector and the third vector in space, and obtain the projection point corresponding to the center point of the intersection range on the screen.

[0122] In some embodiments, the user-specified facial part includes the tip of the user's nose. In some embodiments, the user-specified facial part includes the center of the user's lips. It should be noted that the user-specified facial part is a part of the user's face that is easy to locate, and it may also be personalized due to some unique facial features of the user, so this specification does not limit which specific part is used.

[0123] In some embodiments, the direction of the third vector corresponding to the user-specified facial part in the 3D space may be the normal direction of the specified facial part, or may be a direction according to a preset angle.

[0124] In some embodiments, the method further includes: calculating head offset information corresponding to the user based on the 3D model; determining spatial position information of the user-specified facial part according to the head offset information; and determining a third vector corresponding to the user-specified facial part according to the spatial position information.

[0125] Figure 6 A schematic diagram of determining a projection point when there is no head angle deviation, which is an example provided in an embodiment of this specification; Figure 7 A schematic diagram of determining projection points when there is no head angle deviation, which is another example provided in an embodiment of this specification. Figure 6 and Figure 7 The movement directions of the user's two eyes are different. Figure 6 and Figure 7 It can be seen that when there is no head angle deviation, the projection point G on the screen of the first vector corresponding to the user's left eye line of sight, the second vector corresponding to the user's right eye line of sight, and the third vector corresponding to the user's nose tip position falls inside the face area.

[0126] Figure 8 This is a schematic diagram of determining a projection point when there is a head angle deviation, which is an example provided in an embodiment of this specification. Fig. 9 for Figure 8 Schematic diagram of the corresponding algorithm prediction key points; Fig.10 This is another example of a schematic diagram of determining a projection point when there is a head angle deviation provided in an embodiment of this specification. Fig.11 for Fig.10 The corresponding algorithm predicts the key point map. Figure 8 and Fig.10 The movement directions of the user's two eyes are different. Figure 8-Figure 11 It can be seen that when the head angle is offset, the projection point G on the screen of the first vector corresponding to the user's left eye sight, the second vector corresponding to the user's right eye sight, and the third vector corresponding to the user's nose tip position falls outside the face area. Fig. 9 and Fig.11As shown, based on the key point graph extracted by the deep learning algorithm, the first vector gaze_L, the second vector gaze_R, and the third vector nose with the nose tip as the starting point can be calculated. The three are combined with the position of the user's face from the camera determined during initialization to map the projection point and the corresponding projection range on the screen as the judgment interval of the marking point.

[0127] S510: Using the moving trajectory of the projection point as the sight line moving trajectory of the user during the sight line moving process.

[0128] In some embodiments, for each frame of 2D image input by the user in real time, 3D feature modeling is performed in real time to determine the projection point corresponding to the frame of 2D image based on the 3D model, and each projection point is presented on the screen in real time, thereby forming a line of sight movement trajectory of the user during the line of sight movement.

[0129] S512: Determine a living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory.

[0130] In some embodiments, the implementation of step S512 is the same as or similar to the implementation of the aforementioned step 108 .

[0131] In some embodiments, determining the live feature recognition result corresponding to the facial image information based on the target movement trajectory and the line of sight movement trajectory includes: determining the target range corresponding to the line of sight movement trajectory based on the projection point; and determining the live feature recognition result corresponding to the facial image information based on whether the target movement trajectory falls within the target range.

[0132] In some embodiments, for each projection point, the projection range corresponding to the projection point is determined; according to the projection range corresponding to each projection point, the target range corresponding to the line of sight movement trajectory is determined (for example, the union of the projection ranges corresponding to each projection point is used as the target range corresponding to the movement trajectory). In some embodiments, the projection range corresponding to a projection point is a circular area with the projection point as the center and a predetermined intersection threshold as the radius. In some embodiments, the target range is presented.

[0133] As an example, if the proportion of the target movement trajectory falling into the target range is higher than a predetermined proportion, the live feature recognition result is determined to be passed, otherwise the live feature recognition result is determined to be failed.

[0134] According to one or more embodiments of the present specification, by constructing a 3D model based on 2D facial image information and further determining the liveness feature recognition result based on the 3D model, it is possible to effectively combat 2D presentation attacks, liveness traversal attack risks, and system injection attack risks; the new interactive liveness feature recognition method provided can be applicable to all mobile devices that can only collect 2D images and face recognition scenarios, has greater compatibility, and breaks the barrier that the safety level of 2D face recognition scenarios is lower than that of 3D face recognition scenarios.

[0135] See also Fig.12 , is a schematic diagram of a structure of a device for face live feature recognition provided in an embodiment of this specification. Fig.12 As shown, the device for facial liveness feature recognition (hereinafter referred to as "facial liveness feature recognition device 1") can be implemented as all or part of an electronic device through software, hardware or a combination of both. According to some embodiments, the facial liveness feature recognition device 1 includes a marker point determination module 11, a first presentation module 12, a second presentation module 13, and a result determination module 14, specifically including:

[0136] The marking point determination module is used to obtain face image information located in the face recognition presentation area, and if the face image information meets the predetermined initialization requirements, determine at least two marking points in the face recognition presentation area.

[0137] A first presentation module is used to determine and present a target movement trajectory passing through the at least two marking points, wherein the starting point of the target movement trajectory is the first marking point among the at least two marking points, and the end point of the target movement trajectory is the second marking point among the at least two marking points, and the target movement trajectory is used to guide the user to move his or her sight from the first marking point to the second marking point.

[0138] The second presentation module is used to present the sight line movement trajectory of the user during the sight line movement process in response to the sight line movement operation performed by the user on the target movement trajectory.

[0139] A result determination module is used to determine the living feature recognition result corresponding to the face image information according to the target movement trajectory and the sight line movement trajectory.

[0140] In some embodiments, determining at least two marking points in the face recognition presentation area includes: determining an initial point in the face recognition presentation area based on the face image information; and determining at least two marking points in the face recognition presentation area based on the initial point.

[0141] In some embodiments, the at least two marking points include at least two randomly moving points, and the determining of at least two marking points in the face recognition presentation area based on the initial point includes: determining a circular area based on the initial point and a predetermined radius distance, wherein the predetermined radius distance is determined based on a user eye offset distance threshold and a user head offset angle threshold; and determining the at least two randomly moving points in the circular area.

[0142] In some embodiments, determining the at least two random moving points in the circular area includes: dividing the circular area into multiple sub-areas of the same size; randomly determining at least two sub-areas among the multiple sub-areas, and determining at least two random moving points in the at least two sub-areas, wherein, for each sub-area of ​​the at least two sub-areas, a random moving point is randomly determined in the sub-area.

[0143] In some embodiments, the facial live feature recognition device 1 is further used to determine the user's eye offset distance threshold and the user's head offset angle according to the user's face shape information.

[0144] In some embodiments, the first presentation device 12 is used to: randomly determine a target movement trajectory passing through the at least two marking points according to presentation position information of the at least two marking points; and present the target movement trajectory.

[0145] In some embodiments, the second presentation device 13 is used to: construct a 3D model based on a 3D neural network according to the facial image information; in response to the user's line of sight movement operation performed on the target movement trajectory, obtain a first vector corresponding to the user's left eye line of sight, a second vector corresponding to the user's right eye line of sight, and a third vector corresponding to the user's specified facial part based on the 3D model, determine the intersection range corresponding to the first vector, the second vector and the third vector in space, and obtain the projection point corresponding to the center point of the intersection range on the screen; use the movement trajectory of the projection point as the line of sight movement trajectory of the user during the line of sight movement process.

[0146] In some embodiments, the facial live feature recognition device 1 is also used to: calculate the head offset information corresponding to the user based on the 3D model; determine the spatial position information of the facial part specified by the user according to the head offset information; and determine the third vector corresponding to the facial part specified by the user according to the spatial position information.

[0147] In some embodiments, the result determination device 14 is used to: determine the target range corresponding to the line of sight movement trajectory according to the projection point; determine the live feature recognition result corresponding to the facial image information according to the falling of the target movement trajectory in the target range.

[0148] In some embodiments, the result determination device 14 is used to: perform similarity comparison on the target movement trajectory and the sight line movement trajectory, and determine the living feature recognition result corresponding to the facial image information according to the comparison result.

[0149] In some embodiments, the facial live feature recognition device 1 is also used to: calculate the movement confidence corresponding to the line of sight movement process based on the eye deviation information and head deviation information of the user during the line of sight movement process; the result determination device 14 is used to: determine the live feature recognition result corresponding to the facial image information based on the target movement trajectory, the line of sight movement trajectory and the movement confidence.

[0150] In some embodiments, the result determination device 14 is used to determine the live feature recognition result corresponding to the facial image information based on the target movement trajectory, the line of sight movement trajectory and the relative displacement information between the user face and the user device during the line of sight movement.

[0151] In some embodiments, the facial live feature recognition device 1 is further used to: determine a presentation style corresponding to the at least two marking points, so as to present the at least two marking points according to the presentation style when presenting the target movement trajectory.

[0152] In some embodiments, the facial live feature recognition device 1 is further used to: determine the interactive content corresponding to the at least two marking points, so as to prompt the user to perform a sight movement operation according to the interactive content for the target movement trajectory.

[0153] The above device embodiments correspond to the method embodiments. For specific descriptions, please refer to the description of the method embodiments, which will not be repeated here. The device embodiments are obtained based on the corresponding method embodiments and have the same technical effects as the corresponding method embodiments. For specific descriptions, please refer to the corresponding method embodiments.

[0154] The embodiment of the present specification also provides a computer storage medium, which can store multiple instructions, and the instructions are suitable for being loaded by a processor to execute the method of the embodiment of the present specification.

[0155] The present specification also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded by the processor to execute the method of the embodiment of the present specification.

[0156] The embodiments of this specification also provide Fig.13 The structural diagram of the electronic device shown in FIG. Fig.13At the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include hardware required for other services. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to implement the above-mentioned voice activity detection method.

[0157] Of course, in addition to software implementation, this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc., that is to say, the executor of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0158] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0159] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

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

[0161] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0162] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

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

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

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

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

[0167] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0168] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

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

[0170] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

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

[0172] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0173] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. A method for identifying living features of a face, comprising: Acquire facial image information located in a facial recognition presentation area, and if the facial image information meets a predetermined initialization requirement, determine at least two marking points in the facial recognition presentation area; Determine and present a target movement trajectory passing through the at least two marking points, wherein the starting point of the target movement trajectory is a first marking point among the at least two marking points, the end point of the target movement trajectory is a second marking point among the at least two marking points, and the target movement trajectory is used to guide the user to move the line of sight from the first marking point to the second marking point; In response to a sight line movement operation performed by a user on the target movement track, presenting a sight line movement track of the user during the sight line movement process; A living feature recognition result corresponding to the facial image information is determined according to the target movement trajectory and the sight line movement trajectory.

2. The method according to claim 1, wherein determining at least two marking points in the face recognition presentation area comprises: Determining an initial point in the face recognition presentation area according to the face image information; At least two marking points are determined in the face recognition presentation area according to the initial point. 3 . The method according to claim 2 , wherein the at least two marking points include the initial point, and the first marking point is the initial point.

4. The method according to claim 2 or 3, wherein the at least two marking points include at least two randomly moved points, and the determining of at least two marking points in the face recognition presentation area according to the initial point comprises: Determine a circular area according to the initial point and a predetermined radius distance, wherein the predetermined radius distance is determined according to a user eye offset distance threshold and a user head offset angle threshold; The at least two randomly moved points are determined in the circular area.

5. The method according to claim 4, wherein determining the at least two randomly moved points in the circular area comprises: Dividing the circular area into a plurality of sub-areas of the same size; At least two sub-regions are randomly determined among the multiple sub-regions, and at least two randomly moved points are determined in the at least two sub-regions, wherein for each sub-region of the at least two sub-regions, one randomly moved point is randomly determined in the sub-region.

6. The method according to claim 4, further comprising: According to the face shape information of the user, a threshold of the eye offset distance of the user and an offset angle of the head of the user are determined.

7. The method according to claim 1, wherein determining and presenting the target movement trajectory passing through the at least two marking points comprises: According to the presentation position information of the at least two marking points, randomly determining a target movement trajectory passing through the at least two marking points; The target movement trajectory is presented.

8. The method according to claim 1, wherein in response to the user performing a sight line movement operation on the target movement track, presenting the sight line movement track of the user during the sight line movement process comprises: According to the facial image information, construct a 3D model based on a 3D neural network; In response to a sight line movement operation performed by the user with respect to the target movement trajectory, based on the 3D model, a first vector corresponding to the sight line of the user's left eye, a second vector corresponding to the sight line of the user's right eye, and a third vector corresponding to the facial part designated by the user are obtained, an intersection range corresponding to the first vector, the second vector, and the third vector in space is determined, and a projection point corresponding to a center point of the intersection range on the screen is obtained; The moving trajectory of the projection point is used as the sight line moving trajectory of the user during the sight line moving process.

9. The method according to claim 8, further comprising: Calculating head offset information corresponding to the user based on the 3D model; Determine the spatial position information of the facial part specified by the user according to the head offset information; A third vector corresponding to the facial part specified by the user is determined according to the spatial position information.

10. According to the method of 8 or 9, the user-specified facial part includes the tip of the user's nose.

11. The method according to claim 8, wherein determining the living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory comprises: Determine the target range corresponding to the sight line movement trajectory according to the projection point; The living feature recognition result corresponding to the facial image information is determined according to the falling condition of the target movement trajectory in the target range.

12. The method according to claim 1, wherein determining the living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory comprises: A similarity comparison is performed on the target movement trajectory and the sight line movement trajectory, and a living feature recognition result corresponding to the facial image information is determined according to the comparison result.

13. The method according to claim 1, further comprising: Calculating a movement confidence corresponding to the line of sight movement process according to the eye deviation information and the head deviation information of the user during the line of sight movement process; The determining, according to the target movement trajectory and the sight line movement trajectory, a living feature recognition result corresponding to the face image information includes: A living feature recognition result corresponding to the facial image information is determined according to the target movement trajectory, the sight line movement trajectory and the movement confidence.

14. The method according to claim 1, wherein determining the living feature recognition result corresponding to the facial image information according to the target movement trajectory and the sight line movement trajectory comprises: The living feature recognition result corresponding to the facial image information is determined according to the target movement trajectory, the sight line movement trajectory and the relative displacement information between the user face and the user device during the sight line movement.

15. The method according to claim 1, further comprising: Determine the presentation styles corresponding to the at least two marking points, so as to present the at least two marking points according to the presentation style when presenting the target movement trajectory.

16. The method according to claim 15, further comprising: Determine the interactive content corresponding to the at least two marking points to prompt the user to perform a sight movement operation for the target movement trajectory according to the interactive content.

17. A device for human face living feature recognition, comprising: A marker point determination module, used to obtain face image information located in a face recognition presentation area, and if the face image information meets a predetermined initialization requirement, determine at least two marker points in the face recognition presentation area; A first presentation module is used to determine and present a target movement trajectory passing through the at least two marking points, wherein the starting point of the target movement trajectory is a first marking point among the at least two marking points, the end point of the target movement trajectory is a second marking point among the at least two marking points, and the target movement trajectory is used to guide the user to move the line of sight from the first marking point to the second marking point; A second presentation module, configured to present a sight line movement trajectory of the user during the sight line movement process in response to a sight line movement operation performed by the user on the target movement trajectory; A result determination module is used to determine the living feature recognition result corresponding to the face image information according to the target movement trajectory and the sight line movement trajectory.

18. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.

19. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the steps of the method as claimed in any one of claims 1 to 16.

20. A computer program product having at least one instruction stored thereon, characterized in that: When the at least one instruction is executed by the processor, the steps of the method described in any one of claims 1 to 16 are implemented.