Video acquisition method and device, video verification method and device, and electronic equipment

By using a multi-color light irradiation scheme on the video acquisition page, the problem of easy imitation of video recognition technology is solved, the credibility and attack resistance of the video are improved, and the legitimate rights and interests of users are protected.

CN119851357AInactive Publication Date: 2025-04-18BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202411147760.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-07-25
Filing Date
2024-08-20
Publication Date
2025-04-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Video recognition technology is easily imitated, resulting in low credibility in videos and the risk of illegal use or misappropriation of core assets.

Method used

By presenting a target light illumination scheme on the video acquisition page, the scheme utilizes light illumination of multiple colors, at least two colors appear on the same screen at the same time, forming a combined light effect to increase the verification dimension and increase the cost and difficulty of forgery attacks.

Benefits of technology

It effectively improves its ability to resist attacks, enhances the identification and defense of illegal behaviors, protects the legitimate rights and interests of users, and ensures the authenticity and credibility of video collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119851357A_ABST
    Figure CN119851357A_ABST
Patent Text Reader

Abstract

The invention provides a video acquisition method and device, a video verification method and device and electronic equipment, and relates to the field of data security. The video acquisition method comprises the steps that a video acquisition page is presented in response to a video acquisition instruction, the video acquisition page presents a target light irradiation scheme obtained from a verification end, and the target light irradiation scheme comprises a scheme that light irradiation is performed based on multiple colors, and at least two of the multiple colors appear in the same picture at the same time; under the condition that the to-be-verified object enters the acquisition range of the video acquisition page, recording a target video comprising the to-be-verified object and the target light irradiation scheme; and sending the target video, and receiving a verification result of whether the to-be-verified object is the target living body or not. According to the invention, the anti-attack capability is improved, the identification and defense of illegal behaviors are enhanced, and the legitimate rights and interests of the user are protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data security, and specifically to a video acquisition method and device, a video verification method and device, and an electronic device. Background Art

[0002] Video recognition technology is an advanced biometric technology that is widely used in the real-name authentication function of Internet applications.

[0003] However, the evolution of technology has also brought new security challenges, especially presentation attacks, which deceive the recognition system by using a fake mask or pointing the camera at a screen playing a specific image, which can easily lead to the illegal use or theft of core assets and damage the rights of users. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure provide a video acquisition method and device, a video verification method and device, and an electronic device to solve the problem that videos are easily forged and have low credibility.

[0005] In the first aspect, an embodiment of the present disclosure provides a video acquisition method, which is applied to a user terminal. The method includes: presenting a video acquisition page in response to a video acquisition instruction, wherein the video acquisition page presents a target light illumination scheme obtained from a verification terminal, and the target light illumination scheme includes a scheme in which light illumination is performed based on multiple colors, and at least two of the multiple colors appear on the same screen at the same time; when an object to be verified enters the acquisition range of the video acquisition page, recording a target video including the object to be verified and the target light illumination scheme; sending the target video, and receiving a verification result of whether the object to be verified is a target living body.

[0006] In combination with the first aspect, in certain implementations of the first aspect, the target light illumination scheme includes one of the following schemes or a combination of multiple schemes: a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least one color move; a scheme in which at least two colors appear in the same screen at the same time, and the areas of the color blocks corresponding to at least one color change; a scheme for performing gradient light illumination based on at least two colors and a target gradient duration.

[0007] In combination with the first aspect, in certain implementations of the first aspect, the combination of multiple schemes includes: combining multiple schemes according to target requirements, wherein the target requirements include at least one of the execution order of each of the multiple schemes, the number of executions of each of the multiple schemes, and the execution interval duration between adjacent schemes.

[0008] In combination with the first aspect, in certain implementations of the first aspect, a scheme for performing gradient light irradiation based on at least two colors and a target gradient duration includes: performing gradient light irradiation based on brightness changes on at least two colors in sequence; and / or performing gradient light irradiation based on color changes on at least two colors in a target order, wherein the color before the gradient between any two adjacent colors is the color that is ranked first among any two adjacent colors, and the color after the gradient is the color that is ranked last among any two adjacent colors.

[0009] In the second aspect, an embodiment of the present disclosure provides a video verification method, which is applied to a verification terminal. The method includes: obtaining a target video recorded by a user terminal, the target video being obtained based on the video acquisition method mentioned in the first aspect; and verifying whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal.

[0010] In combination with the second aspect, in certain implementations of the second aspect, the target light illumination scheme includes one of the following schemes or a combination of multiple schemes: a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least one color move; a scheme in which at least two colors appear in the same screen at the same time, and the areas of the color blocks corresponding to at least one color change; a scheme for performing gradient light illumination based on at least two colors and a target gradient duration.

[0011] In combination with the second aspect, in certain implementations of the second aspect, based on the target video and the target light illumination scheme presented by the user terminal, verifying whether the object to be verified is a target living body includes: if the target light illumination scheme includes a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to the at least two colors remain unchanged, then verifying whether the light effect presented by the object to be verified in the target video has at least two colors and a combined color formed based on the at least two colors; if the light effect has at least two colors and a combined color formed based on the at least two colors, and the image features of the object to be verified are consistent with the image features of the target living body, then determining that the object to be verified is a target living body.

[0012] In combination with the second aspect, in certain implementations of the second aspect, based on the target video and the target light illumination scheme presented by the user terminal, verifying whether the object to be verified is a target living body includes: if the target light illumination scheme includes a scheme in which at least two colors appear in the same picture at the same time, and the position of a color block corresponding to at least one color moves and / or a scheme in which at least two colors appear in the same picture at the same time, and the area of ​​a color block corresponding to at least one color changes, then verifying whether the color change of the light effect presented by the object to be verified in the target video is consistent with the color change of the target light illumination scheme; if the color change of the light effect is consistent with the color change of the target light illumination scheme, and the image features of the object to be verified are consistent with the image features of the target living body, then determining that the object to be verified is a target living body.

[0013] In combination with the second aspect, in certain implementations of the second aspect, based on the target video and the target light illumination scheme presented by the user terminal, verifying whether the object to be verified is a target living body includes: if the target light illumination scheme includes a scheme for gradient light illumination based on at least two colors and a target gradient duration, then verifying whether the color change and change time nodes of the light effect presented by the object to be verified in the target video are consistent with the color change and change time nodes of the target light illumination scheme; if the color change and change time nodes of the light effect are consistent with the color change and change time nodes of the target light illumination scheme, and the image features of the object to be verified are consistent with the image features of the target living body, then determining that the object to be verified is the target living body.

[0014] In a third aspect, the present application provides a video acquisition device, comprising: a presentation module, configured to present a video acquisition page in response to a video acquisition instruction, wherein the video acquisition page presents a target light illumination scheme obtained from a verification end, the target light illumination scheme comprising a scheme for light illumination based on multiple colors, and at least two of the multiple colors appearing simultaneously in the same screen; a recording module, configured to record a target video including an object to be verified and the target light illumination scheme when the object to be verified enters the acquisition range of the video acquisition page; a transceiver module, configured to send the target video and receive a verification result of whether the object to be verified is a target living body.

[0015] In combination with the third aspect, in certain implementations of the third aspect, the target light illumination scheme includes one of the following schemes or a combination of multiple schemes: a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least one color move; a scheme in which at least two colors appear in the same screen at the same time, and the area of ​​the color blocks corresponding to at least one color changes; a scheme for gradient light illumination based on at least two colors and a target gradient duration.

[0016] In combination with the third aspect, in certain implementations of the third aspect, the combination of multiple schemes includes: combining multiple schemes according to target requirements, wherein the target requirements include at least one of the execution order of each of the multiple schemes, the number of executions of each of the multiple schemes, and the execution interval duration between adjacent schemes.

[0017] In a fourth aspect, the present application provides a video verification device, comprising: an acquisition module, configured to acquire a target video recorded by a user terminal, wherein the target video is obtained based on the video acquisition method mentioned in the first aspect; a verification module, configured to verify whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal.

[0018] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; and the processor is used to execute the methods mentioned in the first and second aspects.

[0019] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program for executing the methods mentioned in the first and second aspects.

[0020] In a seventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which implements the methods mentioned in the first and second aspects when executed by a processor.

[0021] The video acquisition method provided by the present disclosure can present the target light illumination scheme obtained from the verification end by responding to the video acquisition instruction. The scheme uses multiple colors of light illumination, especially at least two colors appearing simultaneously in the same picture, to produce a combined light effect in a specific area of ​​the object to be verified. This combined light effect provides an additional verification dimension, increasing the attack cost and difficulty of the counterfeiter. Afterwards, the recorded target video is sent and the verification result of whether the object to be verified is the target living body is received. It can be seen that this method not only improves the anti-attack capability, but also enhances the identification and defense of illegal behavior, protecting the legitimate rights and interests of users from infringement. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps.

[0023] Figure 1Shown is a schematic diagram of the implementation environment of the video acquisition method provided by the present disclosure.

[0024] Figure 2 The figure is a flow chart of a video acquisition method provided by an embodiment of the present disclosure.

[0025] Figure 3 The figure shows a target light irradiation scheme provided by an embodiment of the present disclosure.

[0026] Figure 4 Shown is a process schematic diagram of a target light irradiation scheme provided by an embodiment of the present disclosure.

[0027] Figure 5 Shown is a process schematic diagram of a target light irradiation scheme provided by another embodiment of the present disclosure.

[0028] Figure 6 Shown is a process schematic diagram of a target light irradiation scheme provided by yet another embodiment of the present disclosure.

[0029] Figure 7 Shown is a process schematic diagram of a target light irradiation scheme provided by yet another embodiment of the present disclosure.

[0030] Figure 8 Shown is a process schematic diagram of a target light irradiation scheme provided by yet another embodiment of the present disclosure.

[0031] Fig. 9 The figure is a flow chart of a video verification method provided in one embodiment of the present application.

[0032] Fig.10 The figure is a schematic diagram of a process for verifying whether an object to be verified is a target living body provided by an embodiment of the present disclosure.

[0033] Fig.11 The figure is a schematic diagram of a process for verifying whether an object to be verified is a target living body provided by another embodiment of the present disclosure.

[0034] Fig.12 The figure is a schematic diagram of a process for verifying whether an object to be verified is a target living body provided by another embodiment of the present disclosure.

[0035] Fig.13 Shown is a schematic structural diagram of a video acquisition device provided in one embodiment of the present disclosure.

[0036] Fig.14 Shown is a schematic diagram of the structure of a video verification device provided by an embodiment of the present disclosure.

[0037] Fig.15 Shown is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0039] Figure 1 FIG. 1 is a schematic diagram of the implementation environment of the video acquisition method provided by the present disclosure. Figure 1 As shown, the implementation environment includes a user terminal cluster and a verification terminal 110. The user terminal cluster includes at least one user terminal, Figure 1 As shown, it includes but is not limited to user terminal 120, user terminal 130 and user terminal 140.

[0040] Each user terminal in the user terminal cluster can be an electronic device with communication function, and the electronic device includes but is not limited to: handheld device, personal computer, tablet computer, smart phone, computing device or other processing device connected to wireless modem, etc. The verification terminal 110 can be a separate server device, such as: rack-type, blade, tower, or cabinet-type server device, or a hardware device with strong computing power such as a workstation or a large computer; it can also be a server cluster composed of multiple servers, and each server in the service cluster can be composed in a symmetrical manner, and each server can provide services to the outside independently, wherein, providing services independently can be understood as not requiring the assistance of other servers; in addition, the verification terminal 110 can also be a client.

[0041] In one or more embodiments of the present disclosure, the verification terminal 110 establishes a communication connection with at least one user terminal in the user terminal cluster, and completes the sending of the target light illumination scheme and the acquisition of the target video based on the communication connection. It should be noted that the verification terminal 110 and at least one user terminal in the user terminal cluster establish a communication connection through a network for interactive communication, wherein the network can be a wireless network or a wired network, the wireless network includes but is not limited to a cellular network, a wireless local area network, an infrared network or a Bluetooth network, and the wired network includes but is not limited to Ethernet, a universal serial bus or a controller area network.

[0042] Figure 1The implementation environment diagram shown can be widely used in scenarios where the authenticity of the user's identity needs to be ensured. For example, it includes real-name authentication in the fields of financial services, social media registration, online education, and e-commerce. Specifically, for financial services, when conducting online banking transactions or opening accounts remotely, financial institutions need to verify the real identity of the user to prevent fraud. Through the video acquisition method and video verification method disclosed in this disclosure, combined with the target light irradiation scheme, it can be ensured that the user is a real living body, rather than forging or stealing the identity of others. For social media registration, in order to prevent the creation of false accounts, the social platform needs to add a liveness detection step during the user registration process. Through the scheme disclosed in this disclosure, the authenticity of the user can be verified by a specific light irradiation scheme when the user records the target video. For online education, in remote examinations or online course certification, educational institutions can use the scheme in this disclosure to ensure that the participants are themselves and prevent the occurrence of proxy examinations or identity impersonation. For e-commerce, in online transactions where the identity of buyers or sellers needs to be verified, video acquisition and detection can improve the security of transactions and protect the legitimate rights and interests of users and enterprises.

[0043] Further, taking online bank account opening as an example, the implementation process of the present disclosure is described in detail. First, the user terminal sends an account opening request through the bank's mobile application or website. In response to the request, the bank system sends a video acquisition page to the user terminal, which integrates the target light illumination scheme obtained from the verification end of the bank system. The page activates the camera of the user terminal and displays the target light illumination scheme. For example, the page displays a dynamic pattern composed of red and blue, or a light illumination effect that gradually changes from red to blue. The user terminal follows the page prompts and places his face within the camera acquisition range to ensure that the facial features are clearly visible. Once the user is in place, the user terminal application automatically starts recording the video. During the recording process, not only the image of the user's face is captured, but also the reaction of the face under different colors of light is recorded. After the recording is completed, the video data is encrypted and securely sent to the verification end of the bank system. After receiving the video data, the verification end analyzes the color changes in the video and the user's facial features. At the same time, the verification system of the verification end detects whether the color changes in the video are consistent with the target light illumination scheme and whether the facial features match the known live features. If the color changes and facial features in the video match the predefined scheme and live feature library, the verification end will confirm that the user is truly live and the account opening process can continue. If the verification fails, the bank system will require the user to re-verify or take other verification measures.

[0044] Through the solution disclosed in the present invention, the banking system can improve the security of the account opening process without sacrificing the user experience, effectively prevent identity fraud and impersonation, and at the same time, this method also improves the user's trust in the security of banking services.

[0045] Figure 2 FIG. 1 is a flow chart of a video acquisition method provided by an embodiment of the present disclosure. For example, the method is applied to a user terminal. Figure 2 As shown, the video acquisition method includes the following steps.

[0046] Step S210: presenting a video capture page in response to a video capture instruction.

[0047] Exemplarily, the video capture instruction includes an instruction to start video capture issued by the user by clicking a button or icon on the application interface. The video capture page will present the target light illumination scheme obtained from the verification end, and the target light illumination scheme includes a scheme in which light is illuminated based on multiple colors, and at least two of the multiple colors appear on the same screen at the same time. This means that during the video capture process, at least two colors of light will act on the face of the object to be verified at the same time, and at least two colors of light can also produce a combined light effect in the same screen. This combined light effect is due to the overlap of different colors of light in space, and according to the principle of additive color of light, a new color effect is produced on the face.

[0048] Figure 3 The target light illumination scheme provided by an embodiment of the present disclosure is shown. The video acquisition page includes a recording frame, and the video acquisition page is divided into area 1 and area 2. Area 1 corresponds to color 1, and area 2 corresponds to color 2. When the object to be verified appears in the recording frame, the area to be verified will be illuminated by color 1 and color 2.

[0049] Step S220 , when the object to be verified enters the acquisition range of the video acquisition page, a target video including the object to be verified and the target light illumination scheme is recorded.

[0050] Exemplarily, when recording, the user terminal first ensures that the object to be verified is within the acquisition range of the video acquisition page, and that their acquisition area (e.g., face) can be clearly captured by the camera. During the recording process, the video acquisition page will display a specific lighting effect based on the target lighting scheme provided by the verification terminal. The user terminal will capture the facial reactions of the object to be verified under different color lights, including the changes in the three-dimensional structure of the face and the color reflection.

[0051] Step S230, sending the target video, and receiving a verification result of whether the object to be verified is a target living body.

[0052] Exemplarily, after recording is completed, the target video contains a facial image of the object to be verified under a specific light illumination scheme. The user end transmits these data to the verification end. The verification end verifies whether the object to be verified is a target living body based on the target video and the target light illumination scheme. Exemplarily, the verification end includes a server end, or a client end.

[0053] The video acquisition method provided by the embodiment of the present disclosure can present the target light illumination scheme obtained from the verification end by responding to the video acquisition instruction. The scheme uses light illumination of multiple colors, especially at least two colors appearing simultaneously in the same picture, to produce a combined light effect in a specific area of ​​the object to be verified. This combined light effect provides an additional verification dimension, increasing the attack cost and difficulty of the counterfeiter. Afterwards, the recorded target video is sent and the verification result of whether the object to be verified is the target living body is received. This method not only improves the anti-attack capability, but also enhances the identification and defense of illegal behavior, protecting the legitimate rights and interests of users from infringement.

[0054] Combination Figure 1 In the illustrated embodiment, in other embodiments of the present disclosure, the target light illumination scheme includes a scheme in which at least two colors appear simultaneously in the same screen, and the positions of the color blocks corresponding to the at least two colors remain unchanged.

[0055] Specifically, color blocks can be presented on the screen in different forms as needed. Figure 4 The figure is a schematic diagram of the process of the target light irradiation scheme provided by an embodiment of the present disclosure. Figure 4 In the scheme, two colors are arranged in a left-right form in the picture, and correspondingly, a combination color of the two colors is also formed in a specific area of ​​the video acquisition page. Specifically, when color blocks of at least two colors are displayed on the screen, they are arranged according to a predetermined layout. When two or more color blocks overlap visually, according to the additive principle of light, the colors in the overlapping area will be mixed to produce a new color effect. For example, the overlap of red and green light can produce yellow. It is difficult for a counterfeiter to simulate multiple independent color blocks and the mixed color effects produced by their overlap at the same time, especially in the case of dynamic changes and random layouts. Therefore, the technical solution of the embodiment of the present disclosure can effectively prevent counterfeit attacks through screen recording or masks. In other words, this color block design based on the additive principle of light improves the security of liveness detection and ensures that only real faces can pass the detection, thereby effectively protecting the rights and interests of users and asset security.

[0056] Figure 5 The figure is a schematic diagram of the process of the target light irradiation scheme provided by another embodiment of the present disclosure. Figure 5 In the picture, two colors are arranged in an up-and-down manner, and in a specific area, a combination of the two colors is also formed. Figure 6 FIG. 1 is a schematic diagram of a target light irradiation process provided by another embodiment of the present disclosure. Figure 6 In the example, the target light illumination scheme includes 3 colors, which rotate and cut the entire screen at an angle of 3×120°. Figure 6, assuming that area 1 is red, area 2 is green, and area 3 is yellow, accordingly, in a specific area of ​​the video capture page, a combination of red + yellow, a combination of red + green, and a combination of yellow + green are presented. Figure 6 In the arrangement shown in , the three colors can also be arranged in the form of left-center-right or top-center-bottom. In addition, if the target light illumination scheme includes four colors, it can be displayed in the layout of top left, bottom left, top right, bottom right, or cut at an angle of 4×90°. It can be understood that Figure 4 and Figure 5 This division method is simple, intuitive and easy to implement. Figure 6 This angle division method can more flexibly adapt to different display needs, especially when circular or arc-shaped information needs to be displayed, and can provide a more natural and coordinated visual effect.

[0057] In this embodiment, the fixed position of the color block provides a stable reference standard for the detection process. When the position of the color block in the picture remains unchanged, the reflection and shadow changes of the face under different colors can be captured and analyzed more accurately, thereby more effectively distinguishing between real faces and fake faces. Secondly, in liveness detection, the verification end needs to quickly and accurately analyze the collected target video. The consistency of the color block position enables the verification end to perform pattern recognition and feature matching at known reference points, reducing the risk of misjudgment due to changes in the color block position, and at the same time, reducing the computing power requirements.

[0058] In some other embodiments of the present disclosure, the target light illumination scheme also includes a scheme in which at least two colors appear in the same picture at the same time, and the position of a color block corresponding to at least one color moves.

[0059] Specifically, the moved color blocks can take many forms. Figure 7 FIG. 2 is a schematic diagram of a target light irradiation process provided by another embodiment of the present disclosure. Figure 7 As shown, the color block is rotated in a specific direction and angle on the screen to achieve the position movement of the color block. Figure 8 FIG. 1 is a schematic diagram of a target light irradiation process provided by another embodiment of the present disclosure. Figure 8 In the process, the color block moves horizontally on the screen to change the position of the color block. It should be noted that the color block corresponding to each color can also move in a spiral or wave-like manner, or can move vertically on the screen. This movement can be continuous or intermittent to increase the complexity and unpredictability of the detection process.

[0060] In addition, the movement of the color block can be achieved through a variety of technologies. For example, using screen control software, the position of the color block can be adjusted according to preset parameters or algorithms, including the speed, direction, path, and duration of movement. In addition, the movement of the color block can also be synchronized with the user's head or facial movements to simulate the changes in light in a real environment.

[0061] In this embodiment, the difficulty of liveness detection is increased by moving the position of the color block, which effectively prevents counterfeiters from attacking through fixed patterns, making it difficult for counterfeiters to predict and simulate the response of real faces under different color and position changes, thereby greatly improving the security of liveness detection.

[0062] In some other embodiments of the present disclosure, the target light illumination scheme also includes: at least two colors appear in the same picture at the same time, and the area of ​​the color block corresponding to at least one color changes.

[0063] For example, at least two color blocks corresponding to the colors may be rotated in a preset direction and angle combination (eg Figure 7 Alternatively, a first boundary of a color block corresponding to at least one color moves along a preset direction, and a second boundary of the color block opposite to the first boundary remains unchanged (as shown in FIG. Figure 8 In addition, the display parameters of the color block on the screen, such as pixel width and height, can be dynamically adjusted through software control to change the area of ​​the color block. In addition, the change of the color block area can be continuous or step-by-step. For example, a color block gradually expands or shrinks, or changes its area while moving on the screen, thereby producing different lighting effects on the face.

[0064] This area change scheme not only improves the security of live face detection, but also effectively avoids the risk of attackers mastering the rules and facilitating forgery by increasing the complexity of the detection process, thereby protecting the rights and interests of users and the security of core assets.

[0065] In the above embodiments, when at least two colors appear on the video capture page at the same time, in addition to the aforementioned at least two colors presenting a mixed color based on the additive principle of light, in other embodiments, the color blocks corresponding to the at least two colors may also be independent of each other.

[0066] In some further embodiments of the present disclosure, the target light illumination scheme further includes: a scheme for performing gradual light illumination based on at least two colors and a target gradual change duration.

[0067] In one example, the solution includes: at least two colors are sequentially illuminated with gradient light based on brightness changes.

[0068] Specifically, the brightness of at least two colors of light gradually increases or decreases on the screen in a certain order and time interval. For example, a color block starts from low brightness, gradually increases until it reaches a peak, then gradually decreases, and finally returns to the initial state or disappears; or, a color block starts from high brightness and gradually decreases the brightness value until it reaches the target value, and the duration in between is the target gradient duration. Then, the color block of another color starts its brightness gradient process in the same way, and the target gradient duration is also continued in the middle.

[0069] In this scheme, the brightness change of the color can be linear or nonlinear, depending on the required lighting effect and the requirements of the detection algorithm. In addition, the brightness gradient duration of each color (i.e., the target gradient duration) can be adjusted according to the target gradient duration parameter to achieve different detection effects.

[0070] In another example, the scheme includes at least two colors being illuminated with gradient light based on color changes in a target order, wherein the color before the gradient between any two adjacent colors is the color that is ranked first among any two adjacent colors, and the color after the gradient is the color that is ranked last among any two adjacent colors.

[0071] Specifically, between any two adjacent colors, the color at the beginning of the gradient is the color that comes first in the order, and the color at the end of the gradient is the color that comes last in the order. For example, if the gradient is performed in the order of red, green, and blue, then red will fade to green first, then green will fade to blue, and so on. During the gradient process, the color smoothly transitions from one value to another, forming a continuous sequence of color changes.

[0072] The color gradient in the present disclosure can be unidirectional or cyclic, that is, after the last color gradient is completed, it returns to the first color again to form a closed-loop gradient cycle. The gradient rate and duration can be adjusted according to the target gradient duration parameter to adapt to different detection requirements.

[0073] The above scheme uses at least two colors to perform color-changing gradient light illumination in a target order, which improves the difficulty and reliability of liveness detection. This dynamic color gradient strategy, combined with other detection methods, forms a comprehensive and highly secure liveness detection system, which effectively avoids the risk of attackers mastering the rules and facilitating forgery, and protects the rights and interests of users and the security of assets.

[0074] In combination with the above embodiments, in other embodiments of the present application, the target light irradiation scheme also includes a combination of multiple schemes in the above embodiments. The multiple schemes are combined according to the target requirements, wherein the target requirements include at least one of the execution order of the multiple schemes, the execution times of the multiple schemes, and the execution interval duration between adjacent schemes.

[0075] Specifically, the target light irradiation scheme includes not only the individual schemes in the aforementioned embodiments, but also the combination of these schemes. Exemplarily, different schemes can be executed in a specific order. For example, the user terminal first performs a gradient light irradiation based on the change of color brightness, followed by the gradient of the color itself, followed by the change of the color block area, and finally the movement or rotation of the color block position. Alternatively, in order to increase the complexity of the detection, a specific scheme is executed a specific number of times, while other schemes may only be executed once or several times. In addition, the execution of adjacent schemes can have a specific interval duration, which can be fixed or random to increase the unpredictability of the detection process.

[0076] Through this flexible combination, the technical solution of the present disclosure can adapt to different detection environments and security requirements. For example, in situations where higher security is required, the number of executions of the solution and the complexity of the combination can be increased; and in situations where there are requirements for detection speed, the interval time can be reduced and the execution order of the solution can be optimized. In addition, by increasing the complexity and unpredictability of the detection, the security and anti-counterfeiting capabilities of the detection are effectively improved, and the rights and interests of users and the security of assets are protected.

[0077] Fig. 9 The figure is a flow chart of a video verification method provided by an embodiment of the present application. Exemplarily, the method is applied to a verification end. Specifically, the video verification method includes the following steps.

[0078] Step S910, obtaining the target video recorded by the user end.

[0079] In this embodiment, the verification end first receives and stores the video data acquired by the user end according to the video acquisition method mentioned in the above embodiment. These video data are the basis for liveness detection, and they capture the facial features and reactions of the user under specific lighting conditions. Specifically, the acquisition of the target video involves a variety of lighting schemes, such as multi-color block display, color gradient, brightness change, color block area change, color block position movement, etc. These schemes work together to increase the complexity of the video content, thereby providing rich data for liveness detection.

[0080] Step S920: Verify whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal.

[0081] In this embodiment, the verification end executes a specific algorithm and analysis process to conduct an in-depth analysis of the facial features, lighting reactions, color changes, etc. in the target video. Exemplarily, the verification process includes the detection of color gradients in the target video, the analysis of brightness changes, the verification of the area and position of color blocks, etc. Further, the verification end will check whether the lighting effect in the target video meets expectations by comparing it with the target light illumination scheme, such as whether the color gradually changes in a predetermined order, whether the brightness change meets the set gradient duration, etc. If the facial reaction in the target video is consistent with the effect of the target light illumination scheme, then it can be considered that the object to be verified is a real living body; if it is inconsistent, it may be judged as a forgery or non-living body.

[0082] In this embodiment, the verification end receives and processes the target video recorded by the user end, which includes the user's facial features and reactions under specific lighting conditions, providing a rich source of information for liveness detection. Furthermore, through the target light illumination scheme stored by the verification end, it is possible to accurately identify and verify whether the facial features and lighting reactions in the video are consistent with the actual live body, thereby improving the accuracy of detection, reducing the possibility of misjudgment, and effectively preventing the passage of forged or non-living bodies. In addition, the target light illumination scheme includes a scheme in which light illumination is performed based on multiple colors, and at least two of the multiple colors appear in the same screen at the same time, which further enhances the anti-attack capability, making it difficult for attackers to pass the detection through simulation or deception, which helps to protect the user's personal privacy and asset security, enhance user trust, and maintain network security.

[0083] Combination Fig. 9 In the illustrated embodiment, in other embodiments of the present application, the target light illumination scheme includes one of the following schemes or a combination of multiple schemes; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least one color move; a scheme in which at least two colors appear in the same screen at the same time, and the areas of the color blocks corresponding to at least one color change; a scheme for performing gradient light illumination based on at least two colors and a target gradient duration.

[0084] Specifically, a solution is provided for at least two colors to appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged. Exemplarily, if the solution includes two colors, the two colors are arranged in a left-right form in the screen, and accordingly, a combination color of the two colors is formed in a specific area of ​​the video acquisition page. In addition, the two colors can also be arranged in an up-and-down form, or the target light illumination scheme includes three colors, and these three colors are rotated at an angle of 3×120° to cut the entire screen, and the three colors can also be arranged in a left-middle-right or top-middle-bottom form. In addition, if the target light illumination scheme includes four colors, it can be displayed in a layout of upper left, lower left, upper right, and lower right, or it can be cut at an angle of 4×90°.

[0085] A solution for moving the position of a color block corresponding to at least two colors that appear on the same screen at the same time, and at least one color. For example, the color block is rotated in a specific direction and angle on the screen to achieve the position movement of the color block; or, the color block is moved horizontally on the screen to achieve the position change of the color block; or, each color block moves in a spiral or wavy manner, and can also move vertically on the screen. This movement can be continuous or intermittent to increase the complexity and unpredictability of the detection process.

[0086] A solution for at least two colors appearing in the same screen at the same time, and the area of ​​the color block corresponding to at least one color changes. Exemplarily, the color blocks corresponding to at least two colors can be rotated according to a preset direction and angle combination, or the first boundary of the color block corresponding to at least one color moves along a preset direction, and the position of the second boundary of the color block relative to the first boundary remains unchanged, so as to achieve the change of the area of ​​the color block. In addition, the display parameters of the color block on the screen, such as pixel width and height, can be dynamically adjusted through software control to change the area of ​​the color block. In addition, the change of the area of ​​the color block can be continuous or step-by-step. For example, a color block gradually expands or shrinks, or changes its area while moving on the screen, thereby producing different lighting effects on the face.

[0087] A scheme for performing gradient light irradiation based on at least two colors and a target gradient duration, the scheme includes performing gradient light irradiation based on brightness changes on at least two colors in sequence, and also includes performing gradient light irradiation based on color changes on at least two colors in a target order, wherein the color before the gradient between any two adjacent colors is the color that is ranked first among the any two adjacent colors, and the color after the gradient is the color that is ranked last among the any two adjacent colors.

[0088] It should be noted that the solution in this implementation corresponds to the solution and beneficial effects of the embodiment of the video acquisition method, so the parts not elaborated in this section can be referred to the aforementioned embodiment.

[0089] Fig.10 The figure is a schematic diagram of a process for verifying whether an object to be verified is a target living body provided by an embodiment of the present disclosure. Fig. 9 Based on the embodiment shown, Fig.10 The embodiment shown is described below in detail. Fig.10 The embodiment shown and Fig. 9 The differences and similarities of the illustrated embodiments are not described in detail.

[0090] like Fig.10 As shown, in this embodiment, if the target light illumination scheme includes a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged, then based on the target video and the target light illumination scheme presented by the user end, verifying whether the object to be verified is a target living body includes the following steps.

[0091] Step S1010 , verifying whether the light effect presented by the object to be verified in the target video includes at least two colors and a combined color formed based on the at least two colors.

[0092] For example, firstly, the color blocks in the target video are identified to determine whether their color types are consistent with the target light illumination scheme sent to the user terminal. Further, it is checked whether these color blocks can be combined into new colors, for example, red light and yellow light can be combined into orange light.

[0093] In some embodiments, the verification end may use image processing techniques, such as color space conversion, color block segmentation, and color recognition algorithms, to distinguish and identify different colors. Next, the verification end uses image segmentation techniques to identify and separate color blocks in the video, ensuring that the presence of at least two colors can be accurately detected. The verification end then analyzes the relative positions and combinations of these color blocks to determine whether there is a combined color.

[0094] In addition, the verification end will also detect the stability of the color blocks to ensure that their positions in the target video have not moved, which indicates that the faces in the target video are real and not forged through technical means.

[0095] If the light effect in the target video passes the above test, step S1010 is considered passed, and the subsequent step S1020 can be executed; if the test fails, the target video is considered to be forged and the verification process is terminated. Alternatively, the subsequent step S1040 is executed: determining that the object to be verified is not the target living body.

[0096] Step S1020 , verifying whether the image features of the object to be authenticated are consistent with the image features of the target living body.

[0097] Similarly, if the execution result of step S1020 is consistent, then step S1030 is further executed: determining that the object to be verified is the target living body. If the execution result of step S1020 is inconsistent, then subsequent step S1040 is further executed: determining that the object to be verified is not the target living body.

[0098] The verification process of step S1020 is to compare the image features of the object to be verified in the target video with the image features of the known target living body to confirm whether the two are consistent. First, the image feature data of the target living body comes from a real living body sample that has been verified before, or reliable data obtained by other means. Exemplarily, these data include key feature points of the face, facial contours, geometric shapes and relative position information of eyes, nose, mouth, etc.

[0099] Next, the verification end uses the similarity calculation of feature vectors, such as Euclidean distance, cosine similarity or other similarity measurement methods, to compare the extracted features with the benchmark data. If the feature data of the object to be verified exceeds the preset threshold with the benchmark data, then it can be considered that the two are consistent and the liveness detection passes. If the feature difference is large and exceeds the allowable error range, it is considered that the object to be verified is not the target live body and the liveness detection fails.

[0100] In this embodiment, by detecting whether the object to be verified in the target video presents at least two colors and their combination colors, it is possible to effectively identify and distinguish between real faces and faces forged by technical means, significantly improving the security of liveness detection. Especially when the position of the color block is fixed, the technical difficulties that the forger needs to overcome are further increased, greatly increasing the cost and difficulty of forgery. Secondly, the image features of the object to be verified are carefully compared with the real living body, which can resist advanced forgery technology and ensure the accuracy of the detection. The combined use of these two detection methods forms a multi-level and multi-dimensional liveness detection mechanism. This double verification mechanism reduces the possibility of misjudgment. Finally, by ensuring that only real users can pass the liveness detection, it can effectively prevent others from impersonating or stealing the user's identity information through forgery, protecting the user's legitimate rights and interests from infringement.

[0101] Fig.11 The figure is a schematic diagram of a process for verifying whether an object to be verified is a target living body provided by another embodiment of the present disclosure. Fig. 9 Based on the embodiment shown, Fig.11 The embodiment shown is described below in detail. Fig.11 The embodiment shown and Fig. 9 The differences and similarities of the illustrated embodiments are not described in detail.

[0102] like Fig.11As shown, in this embodiment, if the target light illumination scheme includes a scheme in which at least two colors appear in the same screen at the same time, and the position of the color block corresponding to at least one color moves and / or a scheme in which at least two colors appear in the same screen at the same time, and the area of ​​the color block corresponding to at least one color changes, then based on the target video and the target light illumination scheme presented by the user terminal, verifying whether the object to be verified is a target living body includes the following steps.

[0103] Step S1110 , verifying whether the color change of the light effect presented by the object to be verified in the target video is consistent with the color change of the target light illumination scheme.

[0104] In some embodiments, when the target light illumination scheme includes at least two colors appearing in the same screen at the same time, and the position of the color block corresponding to at least one color moves, first, the verification end determines the important parameters in the target light illumination scheme, including the initial position of the color block, the expected moving path, etc., which will be used as the benchmark in the verification process. During the verification process, the verification end analyzes the target video in real time. Exemplarily, image segmentation technology is used to identify color blocks in the video and track their position changes. Then, through color space conversion, different colors are accurately identified and distinguished, and it is detected whether these colors match the colors defined in the target light illumination scheme. Further, the verification end uses algorithms such as motion detection to track the movement trajectory of the color block over time and determine the moving direction, speed and path of the color block in the target video. Finally, the verification end comprehensively analyzes the position change of the color block, the color recognition result and the light effect to determine whether the light effect color change in the target video is consistent with the color change of the target light illumination scheme.

[0105] Specifically, if the execution result of step S1110 is that the color change of the light effect is consistent with the color change of the target light illumination scheme, that is, the color change in the target video matches the target light illumination scheme in all key parameters, then the verification is passed and step S1120 is further executed. If there is inconsistency, the verification end can mark the target video as suspicious. Alternatively, the subsequent step S1140 is executed: determine that the object to be verified is not the target living body.

[0106] In other embodiments, when the target light illumination scheme includes at least two colors appearing in the same screen at the same time, and the area of ​​the color block corresponding to at least one color changes, first, the verification end determines the key parameters in the target light illumination scheme, including the initial size of the color block, the expected area change range, etc. During the verification process, the verification end analyzes the target video to identify and track the area changes of the color blocks in the video. For example, the verification end monitors the boundaries of each color block and calculates the number of pixels of the color block or uses a shape descriptor to quantify the change in area. As the target video is played, the verification end records the changes in the area of ​​the color block over time and compares it with the area change pattern in the target light illumination scheme.

[0107] In addition, the verification end can also use machine learning and other algorithms to automatically extract key color features in the target video and intelligently compare them with the features of the target light illumination scheme. Finally, the verification end comprehensively considers the amplitude and rate of the color block area change and the color recognition result to determine whether the light effect color change in the target video is consistent with the color change of the target light illumination scheme. If the color change in the target video is consistent with the target light illumination scheme and the verification is passed, step S1120 is executed; if there is a significant difference, the verification end will mark the target video as suspicious.

[0108] Step S1120 , verifying whether the image features of the object to be authenticated are consistent with the image features of the target living body.

[0109] If the execution result of step S1120 is consistent, then step S1130 is further executed: determining that the object to be verified is the target living body. If the execution result of step S1120 is inconsistent, then subsequent step S1140 is further executed: determining that the object to be verified is not the target living body.

[0110] Specifically, the implementation of step S1120 can refer to Fig.10 The description in the illustrated embodiment will not be repeated here.

[0111] In this embodiment, at least two colors appear at the same time and are accompanied by the movement of the color block position or the change of the area. This dynamic shape change requires the counterfeiter to not only accurately copy the color, but also accurately control the movement trajectory and area change of the color block, which is very complicated in technology. Therefore, the scheme disclosed in this disclosure increases the difficulty of counterfeiting videos. Similarly, by combining the verification of color changes and the consistency check of image features, it is possible to more comprehensively evaluate whether the face in the video is real and alive, which not only improves the security and accuracy of liveness detection, but also provides users with a higher level of security.

[0112] Fig.12 The figure shows a flow chart of verifying whether the object to be verified is a target living body provided by another embodiment of the present disclosure. Fig. 9Based on the embodiment shown, Fig.12 The embodiment shown is described below in detail. Fig.12 The embodiment shown and Fig. 9 The differences and similarities of the illustrated embodiments are not described in detail.

[0113] like Fig.12 As shown, in this embodiment, if the target light illumination scheme includes a scheme for gradient light illumination based on at least two colors and a target gradient duration, then based on the target video and the target light illumination scheme presented by the user end, verifying whether the object to be verified is a target living body includes the following steps.

[0114] Step S1210 , verifying whether the color change and the change time node of the light effect presented by the object to be verified in the target video are consistent with the color change and the change time node of the target light illumination scheme.

[0115] In this embodiment, the verification end first clarifies the parameters such as the gradient order, duration and time nodes of at least two colors. Further, the verification end uses time tags to record the start and end time of the color change to ensure that it can be accurately matched with the time nodes defined in the target light irradiation scheme. During the verification process, the verification end analyzes the target video in real time, identifies and tracks the gradient process of the color in the target video, and compares it with the color gradient defined in the target light irradiation scheme. In addition, the verification end uses a time series analysis method to record the dynamic process of color change, monitor the start and end time points of the color change, and compare it with the time series in the target light irradiation scheme. Finally, the verification end comprehensively analyzes the order, duration and time nodes of the color change to determine whether the light effect in the target video is consistent with the target light irradiation scheme. If the color change in the target video is consistent with the scheme in all key parameters, including the gradient order, duration and time nodes of the color, then the verification is passed and step S1220 can be continued. If there is an inconsistency, the system will mark the video as suspicious and may need to take further audit measures. Alternatively, the subsequent step S1240 is executed: determining that the object to be verified is not the target living body.

[0116] Step S1220, verify whether the image features of the object to be verified are consistent with the image features of the target living body. If the execution result of step S1220 is consistent, then execute step S1230: Step S1230, determine that the object to be verified is the target living body. If the execution result of step S1220 is inconsistent, then further execute the subsequent step S1240: determine that the object to be verified is not the target living body.

[0117] Specifically, the implementation of step S1220 can refer to Fig.10 The description in the illustrated embodiment will not be repeated here.

[0118] In this embodiment, the gradient light illumination scheme involves continuous color changes and precise time control. If an attacker wants to forge, he needs to accurately copy the order, duration, and time nodes of the color changes, which undoubtedly increases the difficulty of forging videos. Secondly, the precise matching check of color changes and change time nodes during the verification process not only focuses on the color itself, but also on the rhythm and timing of color changes, so that the verification end can capture subtle inconsistencies, thereby more accurately distinguishing between real living bodies and forged videos, and improving the accuracy of detection. In addition, combined with the consistency check of image features, the reliability of detection is further improved, effectively preventing identity fraud and impersonation, and protecting the privacy and asset security of users.

[0119] Combination of the above Figures 2 to 12 , describes in detail the method embodiment of the present disclosure, and the following is combined with Fig.13 and Fig.14 , describes the device embodiment of the present disclosure in detail. It should be understood that the description of the method embodiment corresponds to the description of the device embodiment, so the parts not described in detail can refer to the previous method embodiment.

[0120] Fig.13 FIG. 1 is a schematic diagram of the structure of a video acquisition device provided by an embodiment of the present disclosure. For example, the device is applied to a user terminal. Fig.13 As shown, the video acquisition device 130 provided in the embodiment of the present disclosure includes:

[0121] The presentation module 1310 is configured to present a video capture page in response to the video capture instruction, wherein the video capture page presents a target light irradiation scheme obtained from the verification end, and the target light irradiation scheme includes a scheme in which light irradiation is performed based on multiple colors, and at least two of the multiple colors appear in the same screen at the same time;

[0122] The recording module 1320 is configured to record a target video including the object to be verified and the target light illumination scheme when the object to be verified enters the acquisition range of the video acquisition page;

[0123] The transceiver module 1330 is configured to send a target video and receive a verification result of whether the object to be verified is a target living body.

[0124] In one embodiment of the present disclosure, the target light illumination scheme includes one of the following schemes or a combination of multiple schemes: a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least one color move; a scheme in which at least two colors appear in the same screen at the same time, and the areas of the color blocks corresponding to at least one color change; a scheme in which gradient light illumination is performed based on at least two colors and a target gradient duration.

[0125] In one embodiment of the present disclosure, the combination of multiple schemes includes: combining multiple schemes according to target requirements, wherein the target requirements include at least one of the execution order of each of the multiple schemes, the execution number of each of the multiple schemes, and the execution interval duration between adjacent schemes.

[0126] In one embodiment of the present disclosure, a scheme for performing gradient light irradiation based on at least two colors and a target gradient duration includes: performing gradient light irradiation based on brightness changes on at least two colors in sequence; and / or performing gradient light irradiation based on color changes on at least two colors in a target order, wherein the color before the gradient between any two adjacent colors is the color that is ranked first among the any two adjacent colors, and the color after the gradient is the color that is ranked last among the any two adjacent colors.

[0127] Fig.14 FIG. 1 is a schematic diagram of the structure of a video verification device provided by an embodiment of the present disclosure. For example, the device is applied to a verification terminal. Fig.14 As shown, the video verification device 140 provided in the embodiment of the present disclosure includes:

[0128] An acquisition module 1410 is configured to acquire a target video recorded by a user terminal, where the target video is acquired based on the video acquisition method mentioned in the first aspect;

[0129] The verification module 1420 is configured to verify whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal.

[0130] In one embodiment of the present disclosure, the target light illumination scheme includes one of the following schemes or a combination of multiple schemes: a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least two colors remain unchanged; a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to at least one color move; a scheme in which at least two colors appear in the same screen at the same time, and the areas of the color blocks corresponding to at least one color change; a scheme in which gradient light illumination is performed based on at least two colors and a target gradient duration.

[0131] In one embodiment of the present disclosure, the verification module 1420 is further configured to verify whether the light effect presented by the object to be verified in the target video has at least two colors and a combination color formed based on the at least two colors if the target light illumination scheme includes a scheme in which at least two colors appear in the same screen at the same time and the positions of the color blocks corresponding to the at least two colors remain unchanged; if the light effect has at least two colors and a combination color formed based on the at least two colors, and the image features of the object to be verified are consistent with the image features of the target living body, then the object to be verified is determined to be the target living body.

[0132] In one embodiment of the present disclosure, the verification module 1420 is further configured to verify whether the color change of the light effect presented by the object to be verified in the target video is consistent with the color change of the target light illumination scheme if the target light illumination scheme includes a scheme in which at least two colors appear in the same picture at the same time and the position of the color block corresponding to at least one color moves and / or a scheme in which at least two colors appear in the same picture at the same time and the area of ​​the color block corresponding to at least one color changes; if the color change of the light effect is consistent with the color change of the target light illumination scheme, and the image features of the object to be verified are consistent with the image features of the target living body, then the object to be verified is determined to be the target living body.

[0133] In one embodiment of the present disclosure, the verification module 1420 is further configured to verify whether the color change and change time node of the light effect presented by the object to be verified in the target video are consistent with the color change and change time node of the target light illumination scheme if the target light illumination scheme includes a scheme for gradient light illumination based on at least two colors and a target gradient duration; if the color change and change time node of the light effect are consistent with the color change and change time node of the target light illumination scheme, and the image features of the object to be verified are consistent with the image features of the target living body, then the object to be verified is determined to be the target living body.

[0134] Below, reference Fig.15 An electronic device according to an embodiment of the present disclosure is described. Fig.15 Shown is a schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure.

[0135] like Fig.15 As shown, the electronic device 150 includes one or more processors 1501 and a memory 1502 .

[0136] The processor 1501 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 150 to perform desired functions.

[0137] The memory 1502 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 1501 may run the program instructions to implement the methods of the various embodiments of the present disclosure described above and / or other desired functions. Various contents such as target light illumination schemes, target videos, etc. may also be stored in the computer-readable storage medium.

[0138] In one example, the electronic device 150 may further include: an input device 1503 and an output device 1504 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0139] The input device 1503 may include, for example, a keyboard, a mouse, etc.

[0140] The output device 1504 can output various information to the outside, including target light illumination scheme, target video, etc. The output device 1504 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.

[0141] Of course, to simplify, Fig.15 Only some of the components related to the present disclosure in the electronic device 150 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 150 may also include any other appropriate components.

[0142] In addition to the above methods and devices, embodiments of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present disclosure described above in this specification.

[0143] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, 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.

[0144] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the method according to various embodiments of the present disclosure described above in this specification.

[0145] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media 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.

[0146] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. must be possessed by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limiting. The above details do not limit the present disclosure to be implemented by adopting the above specific details.

[0147] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.

[0148] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.

[0149] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0150] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims

1. A video acquisition method, characterized in that: Applied to a user terminal, the method includes: In response to the video capture instruction, a video capture page is presented, wherein the video capture page presents a target light illumination scheme obtained from the verification end, wherein the target light illumination scheme includes a scheme in which light illumination is performed based on multiple colors, and at least two of the multiple colors appear in the same screen at the same time; When the object to be verified enters the acquisition range of the video acquisition page, recording a target video including the object to be verified and the target light illumination scheme; The target video is sent, and a verification result of whether the object to be verified is a target living body is received.

2. The video acquisition method according to claim 1, characterized in that: The target light irradiation scheme includes one of the following schemes or a combination of multiple schemes: A solution in which at least two colors appear on the same screen at the same time, and the positions of the color blocks corresponding to the at least two colors remain unchanged; A scheme in which at least two colors appear on the same screen at the same time, and the position of the color block corresponding to at least one color moves; A scheme in which at least two colors appear in the same picture at the same time, and the area of ​​the color block corresponding to at least one color changes; A scheme for performing gradient lighting based on at least two colors and a target gradient duration.

3. The video acquisition method according to claim 2, characterized in that: The combination of the above-mentioned multiple solutions includes: The multiple schemes are combined according to target requirements, wherein the target requirements include at least one of the execution order of the multiple schemes, the execution times of the multiple schemes, and the execution interval duration between adjacent schemes.

4. The video acquisition method according to claim 2, characterized in that: The scheme for performing gradual light irradiation based on at least two colors and a target gradual change duration includes: The at least two colors are sequentially illuminated with gradient light based on brightness changes; and / or, The at least two colors are illuminated with gradient light based on color changes in a target order, wherein the color before the gradient between any two adjacent colors is the color that is ranked first among the any two adjacent colors, and the color after the gradient is the color that is ranked last among the any two adjacent colors.

5. A video verification method, characterized in that: Applied to the verification end, the method includes: Acquire a target video recorded by a user terminal, wherein the target video is obtained based on the video acquisition method mentioned in any one of claims 1 to 4 above; Based on the target video and the target light illumination scheme presented by the user terminal, it is verified whether the object to be verified is a target living body.

6. The video verification method according to claim 5, characterized in that: The target light irradiation scheme includes one of the following schemes or a combination of multiple schemes: A solution in which at least two colors appear on the same screen at the same time, and the positions of the color blocks corresponding to the at least two colors remain unchanged; A scheme in which at least two colors appear on the same screen at the same time, and the position of the color block corresponding to at least one color moves; A scheme in which at least two colors appear in the same picture at the same time, and the area of ​​the color block corresponding to at least one color changes; A scheme for performing gradient lighting based on at least two colors and a target gradient duration.

7. The video verification method according to claim 5, characterized in that: The verifying whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal includes: If the target light illumination scheme includes a scheme in which at least two colors appear in the same screen at the same time, and the positions of the color blocks corresponding to the at least two colors remain unchanged, then verify whether the light effect presented by the object to be verified in the target video includes the at least two colors and a combined color formed based on the at least two colors; If the light effect includes the at least two colors and a combined color formed based on the at least two colors, and the image feature of the object to be authenticated is consistent with the image feature of the target living body, the object to be authenticated is determined to be the target living body.

8. The video verification method according to claim 5, characterized in that: The verifying whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal includes: If the target light illumination scheme includes a scheme in which at least two colors appear in the same picture at the same time and the position of a color block corresponding to at least one color moves and / or a scheme in which at least two colors appear in the same picture at the same time and the area of ​​a color block corresponding to at least one color changes, then verify whether the color change of the light effect presented by the object to be verified in the target video is consistent with the color change of the target light illumination scheme; If the color change of the light effect is consistent with the color change of the target light illumination scheme, and the image feature of the object to be authenticated is consistent with the image feature of the target living body, then the object to be authenticated is determined to be the target living body.

9. The video verification method according to claim 5, characterized in that: The verifying whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal includes: If the target light illumination scheme includes a scheme for performing gradual light illumination based on at least two colors and a target gradual change duration, verifying whether the color change and the change time node of the light effect presented by the object to be verified in the target video are consistent with the color change and the change time node of the target light illumination scheme; If the color change and change time node of the light effect are consistent with the color change and change time node of the target light illumination scheme, and the image feature of the object to be authenticated is consistent with the image feature of the target living body, then the object to be authenticated is determined to be the target living body.

10. A video acquisition device, characterized in that: include: a presentation module configured to present a video acquisition page in response to a video acquisition instruction, wherein the video acquisition page presents a target light illumination scheme obtained from the verification end, the target light illumination scheme comprising a scheme of performing light illumination based on multiple colors, and at least two colors of the multiple colors appearing on the same screen at the same time; A recording module, configured to record a target video including the object to be verified and the target light illumination scheme when the object to be verified enters the acquisition range of the video acquisition page; The transceiver module is configured to send the target video and receive a verification result of whether the object to be verified is a target living body.

11. The video acquisition device according to claim 10, characterized in that: The target light irradiation scheme includes one of the following schemes or a combination of multiple schemes: A solution in which at least two colors appear on the same screen at the same time, and the positions of the color blocks corresponding to the at least two colors remain unchanged; A scheme in which at least two colors appear on the same screen at the same time, and the position of the color block corresponding to at least one color moves; A scheme in which at least two colors appear in the same picture at the same time, and the area of ​​the color block corresponding to at least one color changes; A scheme for performing gradient lighting based on at least two colors and a target gradient duration.

12. The video acquisition device according to claim 11, characterized in that: The combination of the above-mentioned multiple solutions includes: The multiple schemes are combined according to target requirements, wherein the target requirements include at least one of the execution order of the multiple schemes, the execution times of the multiple schemes, and the execution interval duration between adjacent schemes.

13. A video verification device, characterized in that: include: An acquisition module, configured to acquire a target video recorded by a user terminal, wherein the target video is acquired based on the video acquisition method mentioned in any one of claims 1 to 4 above; The verification module is configured to verify whether the object to be verified is a target living body based on the target video and the target light illumination scheme presented by the user terminal.

14. An electronic device, characterized in that: include: processor; as well as A memory, in which computer program instructions are stored, and when the computer program instructions are executed by the processor, the processor is caused to perform the method according to any one of claims 1 to 9.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, which, when executed by a processor, enable the processor to perform the method according to any one of claims 1 to 9.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Living body detection method and device and storage medium

    CN107992794A

  • Living body verification method and device, and storage medium

    CN108629260A

  • In vivo detection method and apparatus, and computer-readable storage medium

    CN109376592A

  • Face recognition method, system and device

    CN110826535A

  • Living body detection method based on color change

    CN110969077A