IMAGE ACQUISITION METHOD, APPARATUS, COMPUTER DEVICE, AND COMPUTER PROGRAM

The image collection method employs a virtual character to enhance user guidance in non-contact palm scan collection, addressing the inefficiencies of current methods and improving collection accuracy and efficiency.

JP7674055B2Active Publication Date: 2025-05-09TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024532535
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-07-27
Filing Date
2023-05-31
Publication Date
2025-05-09
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

Current image collection methods, such as palm print recognition, require users to repeatedly adjust the position of the hand section within a designated collection area, leading to low collection efficiency and the need for contact-type collection methods with specialized hardware.

Method used

An image collection method and device that utilize a virtual character to guide the user in adjusting the position of the target site relative to the image collection element, using a non-contact palm scan collection method that eliminates the need for specialized hardware and improves collection efficiency.

Benefits of technology

The method significantly enhances image acquisition efficiency by providing real-time feedback through the virtual character's posture, allowing users to intuitively adjust the target site's position, thereby improving the accuracy and completeness of image collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007674055000001
    Figure 0007674055000001
  • Figure 0007674055000002
    Figure 0007674055000002
  • Figure 0007674055000003
    Figure 0007674055000003
Patent Text Reader

Abstract

The present application relates to an image acquisition method, an apparatus, a computer device, a storage medium, and a computer program product, which includes the steps of: controlling a display element to display a virtual character in response to a virtual character display operation triggered by a target portion of a target object (step S302); controlling a character posture of the virtual character according to a relative position of the target portion with respect to an image acquisition element (step S304); and triggering the image acquisition element to acquire a portion image of the target portion under a condition that a time during which the character posture of the virtual character holds a preset posture satisfies a preset acquisition condition (step S306).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to the technical field of image processing, and in particular to an image acquisition method, apparatus, computer device, storage medium, and computer program product.

[0002] This application claims priority to a Chinese patent application filed with the China Patent Office on July 27, 2022, bearing application number 2022108939008 and entitled "Image collection method, apparatus, computer equipment, and storage medium," the entire contents of which are incorporated herein by reference. [Background technology]

[0003] With the development of image recognition technology, biometric authentication using images has been widely applied in various fields, including face recognition, palm print recognition, iris recognition, etc.

[0004] In the process of biometric authentication, the user needs to constantly adjust the position of the part to be collected, so that the part to be collected is in a proper position. Take palmprint recognition as an example, the premise of palmprint recognition is to collect palmprints, and the currently commonly used palmprint collection method is contact collection. In the contact collection method of palmprint, the user needs to place a part of the hand on a collection device and adjust the position of the part of the hand, so that the part of the hand is located within the specified collection area of ​​the collection device, and the collection device takes an image of the palm.

[0005] However, the user must constantly move the palm to place it within the designated collection area of ​​the collection device, and the user must repeat multiple trial and error placements before successful collection, resulting in low collection efficiency. Summary of the Invention [Problem to be solved by the invention]

[0006] Based on this, to address the above technical problem, there is a need to provide an image acquisition method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve image acquisition efficiency. [Means for solving the problem]

[0007] According to various embodiments of the present application, there is provided a method of acquiring images, the method comprising: displaying a virtual character in response to a virtual character display operation triggered by a target portion of a target object, a character pose of the virtual character being associated with a relative position of the target portion with respect to an image acquisition element; changing a character posture of the currently displayed virtual character in accordance with a change in a relative position of the target portion with respect to the image acquisition element; and triggering the image acquisition element to acquire a site image of the target site under a condition that the time during which the character posture of the virtual character maintains a preset posture satisfies a preset acquisition condition.

[0008] According to various embodiments of the present application, the present application further provides an image capture device, the device including: a display module; and a capture module; the display module is adapted to display a virtual character in response to a virtual character display operation triggered by a target portion of a target object, a character pose of the virtual character being associated with a relative position of the target portion with respect to an image acquisition element; The display module is further adapted to change a character posture of the currently displayed virtual character in accordance with a change in a relative position of the target portion with respect to the image acquisition element, The acquisition module is used for triggering the image acquisition element to acquire a region image of the target region under a condition that a time during which the character posture of the virtual character maintains a preset posture satisfies a preset acquisition condition.

[0009] According to various embodiments of the present application, the present application further provides a computer device, the computer device including a memory and a processor, the memory storing a computer program, the processor performing steps of the image acquisition method when executing the computer program.

[0010] According to various embodiments of the present application, the present application further provides a computer-readable storage medium having a computer program stored therein, the computer program being operable, when executed by a processor, to implement steps of the image acquisition method.

[0011] According to various embodiments of the present application, the present application further provides a computer program product, comprising a computer program that, when executed by a processor, performs the steps of the image acquisition method.

[0012] In order to better describe and explain the embodiments and / or examples of the inventions disclosed herein, reference may be made to one or more drawings. Additional details or examples used in describing the drawings should not be considered as limiting the scope of the disclosed inventions, the presently described embodiments and / or examples, or any one of the best modes of these inventions as currently understood. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a schematic diagram of a conventional palm scan collection method according to some embodiments. [Diagram 2] FIG. 1 is an application environment diagram of an image acquisition method according to some embodiments. [Diagram 3] 1 is a flow diagram of a method for image acquisition according to some embodiments. [Figure 4A] 1 is a schematic diagram of a pose of a virtual character according to some embodiments. [Figure 4B] FIG. 11 is a schematic diagram of a pose of a virtual character according to some alternative implementations. [Figure 5A] 1 is a schematic diagram of a virtual character in an abnormal pose according to some embodiments. [Figure 5B] 13 is a schematic diagram of a virtual character in an abnormal pose according to some further embodiments; FIG. [Figure 6A] FIG. 1 is a schematic diagram of an installation of a distance sensor according to some embodiments. [Figure 6B] 11 is a schematic diagram showing an installation of a distance sensor according to some further embodiments. FIG. [Figure 7A] 13 is a schematic diagram of a virtual character in an abnormal pose according to yet some embodiments; [Figure 7B] 13 is a schematic diagram of a virtual character in an abnormal pose according to some further embodiments; FIG. [Figure 8] FIG. 2 is a schematic diagram of an interface when touchless operation has not yet been initiated, according to some embodiments. [Figure 9] 1 illustrates an introductory interface after initiating touchless operation according to some embodiments. [Figure 10A] FIG. 2 is a schematic diagram of a scene with a palm in place according to some embodiments. [Figure 10B] FIG. 2 is a schematic diagram of a scene when the palm is relatively low in accordance with some embodiments. [Figure 10C] FIG. 2 is a schematic diagram of a scene when the palm is relatively high in accordance with some embodiments. [Figure 11A] FIG. 13 is a schematic diagram of an interface where collection fails according to some embodiments. [Figure 11B] FIG. 13 is a schematic diagram of an interface for successful collection according to some embodiments. [Figure 12] FIG. 2 is a scene flow diagram according to some embodiments. [Figure 13] FIG. 1 is a schematic diagram of an algorithmic recognition flow according to some embodiments. [Figure 14] FIG. 1 is a structural block diagram of an image capture device according to some embodiments. [Figure 15] FIG. 2 is an internal structural diagram of a computing device according to some embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with drawings and examples. It is understood that the specific examples described herein are merely used to interpret the present application, and are not used to limit the present application.

[0015] The current palm scan collection method, shown in Figure 1, requires users to constantly try and adjust the placement of hand parts, and the collection efficiency is relatively low. And the contact palm scan collection method requires a dedicated collection device, for example, a palm vein sensor needs to be installed in the collection device to sense the veins under the skin of the palm, and such a method has certain requirements for hardware performance.

[0016] In view of this, the embodiment of the present application provides an image collection method, abandoning the contact palm scan collection method and collecting palm prints by a non-contact palm scan collection method, thus breaking through the hardware requirements for hardware infrastructure. In the non-contact palm scan collection method, the image of the palm print of the hand part is collected, and the character posture of the virtual character in the display interface is used to embody the expression of the palm, so that the user's palm posture can be clearly fed back and the user can be helped to adjust, thereby greatly improving the completion rate of collection and payment, improving the convenience of the user, and facilitating the user to collect quickly.

[0017] The image collection method provided by the embodiment of the present application can be applied in the application environment shown in Fig. 2. Here, the collection device 202 communicates with the server 204 through a network. The data storage system can store data that the server 204 needs to process. The data storage system can be integrated in the server 204, or set in the cloud or other servers.

[0018] In some embodiments, the target object displays the virtual character by the display element by bringing the target portion within the visible range of the image collection element, thereby triggering a virtual character display operation. When the target object changes the relative position of its target portion with respect to the image collection element, the character posture of the virtual character also changes accordingly. The target object can set the character posture of the virtual character to a preset posture by adjusting the relative position of its target portion with respect to the image collection element according to the character posture of the displayed virtual character. After the character posture of the virtual character holds the preset posture for a certain period of time, the image collection element is triggered to collect a portion image of the target portion.

[0019] Here, the collecting device 202 is used to collect images of key areas of the target portion of the target object. The collecting device 202 includes at least an image collecting element, which is used to capture objects within a visible range. Here, the visible range of the image collecting element is determined based on a viewing angle. In some embodiments, the image collecting element is, for example, a camera, a video camera, an imaging module in which an optical system and a CCD chip are integrated, or an imaging module in which an optical system and a CMOS chip are integrated, etc. Here, the image collecting element may be integrated in the collecting device 202 or installed separately from the collecting device 202. For example, the image collecting element may be installed externally to the collecting device 202 and connected to the collecting device 202 by wired or wireless communication.

[0020] In some embodiments, the collection device 202 may further include a display device. The display device is used to provide an interface for the target object to view the virtual character. In some embodiments, the display device is, for example, a liquid crystal display screen or a projector. Here, the display device may be integrated into the collection device 202 or may be installed separately from the collection device 202. For example, the display device may be installed externally to the collection device 202 and may be communicatively connected to the collection device 202 in a wired or wireless manner.

[0021] Illustratively, the collection device 202 may further be, but is not limited to, various desktop computers, laptops, smartphones, tablet computers, Internet of Things devices, or portable wearable devices, where the Internet of Things devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bands, head-mounted devices, etc. In some embodiments, the collection device 202 may further be an electronic device with a payment function.

[0022] Here, the server 204 may be an independent physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), or big data and artificial intelligence platforms.

[0023] In some embodiments, an APP (Application) application program or an application program having a function of presenting a virtual character may be installed in the collection device 202, including a conventional application program that needs to be installed separately and an applet that can be used without the need to download and install. The application program may be an application program that has one or more of a social function, an instant communication function, a payment function, etc.

[0024] In some embodiments, as shown in Fig. 3, a method for biometric authentication is provided, which may be performed by a collection device alone, or by a collection device and a server together. In the following, the method is described as being applied to the collection device in Fig. 2, and the collection device includes an image collection element and a display element. The method includes the following steps:

[0025] Step S302: In response to the virtual character display operation triggered by the target portion of the target object, the display element is controlled to display the virtual character.

[0026] Here, the target object is an object of a specified type, for example, a human being, an animal, etc. can be specified as the target object. The target part is a part of the target object that is specified in advance, including, but not limited to, one or more of the face, palm, fingers, etc. of the target object.

[0027] Here, the virtual character display operation refers to an operation used to trigger a display element of the acquisition device to display a virtual character. For example, the target portion of the target object can be considered to have triggered the virtual character display operation when the target portion is located within the visible range of the image acquisition element, or the target portion of the target object can be considered to have triggered the virtual character display operation when the time the target portion remains within the visible range of the image acquisition element exceeds a certain threshold.

[0028] In some embodiments, when the image collecting element detects a target site within its visual range, i.e., when the target site is located within the visual range of the image collecting element, the virtual character display operation can be triggered. For example, the image collecting element may be in an operating or sleep state, and after the image collecting element is woken up and starts image collection, the image collecting element can detect images of various objects, and when the image collecting element detects the target site of the target object, it determines that the target site triggers the virtual character display operation, and displays the virtual character through the display element. In other words, the image collecting element will not trigger the virtual character display operation even if it detects other objects, thereby ensuring that only the target object is triggered by the target site, and improving the safety of the subsequent collection process. For example, when the target object reaches out and passes above the image collecting element, the image collecting element may detect an image of an object, such as a watch on the wrist, and in this case, the image collecting element will not trigger the virtual character display operation, and only when the target object positions its palm within the visual range of the image collecting element, will it trigger the display element to display the virtual character. In this process, the wrist of the target object is a non-target part, and the palm of the target object is a target part.

[0029] In some embodiments, in order to avoid false triggering caused by the movement of the target object, the image collecting element determines that the target part triggers the virtual character display operation under the circumstance that the target part remains within the visible range of the image collecting element for a preset time or more after detecting the target part. That is, the image collecting element determines that the target part triggers the virtual character display operation when it continuously detects the image of the target part for a preset time. This avoids the false triggering phenomenon caused by the target part temporarily remaining within the visible range and ensures that the target object has the intention of image collection.

[0030] When the target object triggers the image collection element by the target portion to perform the virtual character display operation, the collection device displays the preset virtual character by the display element. Here, the virtual character is a materialized representation of the target portion of the target object in the interface displayed on the display element. The virtual character may be an animal, a virtual avatar, an anthropomorphic image, etc. The virtual character may be a virtual character of an image of two dimensions, three dimensions, etc. Illustratively, when the target object is, for example, a human, the target portion is, for example, a human palm, and correspondingly, the collection device displays the virtual avatar as a materialized representation of the palm. The character posture of the virtual character may reflect the state of the target portion.

[0031] In order to meet the quality requirements of the image acquired by the image acquisition element, the target site is usually required to be kept in a standard state for a certain period of time, during which the image acquisition element performs image acquisition on the target site, and the acquired image is the site image of the target site. When the target site is offset from the standard state, the acquired image may not be accurate. In some embodiments, whether the target site is in the standard state is usually determined by the relative position of the target site to the image acquisition element.

[0032] Here, the character pose of the virtual character is related to the relative position of the target region with respect to the image acquisition element.

[0033] In some embodiments, the character posture of a virtual character may be represented by the motion status of the virtual character itself. For example, the character posture of a virtual character may be represented by one or more of the following: limb movement (e.g., head, limbs, or torso, etc.), motion state (e.g., stationary or moving, etc.), motion type (e.g., crouching, walking, turning, or running, etc.), or motion speed (e.g., stationary, slow, or fast, etc.), etc.

[0034] In some other embodiments, the character posture of the virtual character may be further represented by a state of a virtual tool controlled by the virtual character. The state of the virtual tool may include, but is not limited to, one or more of the following: degree of blur, color, or motion state. For example, the virtual character controls the virtual tool to move relative to itself, and reflects the state of the target region by the motion state of the virtual tool. Or, the virtual character controls and changes the appearance of the virtual tool, and reflects the state of the target region by the change state or change speed of the appearance of the virtual tool. For example, the degree of blur (i.e., transparency) of the virtual tool is used to reflect the state of the target region, and when the target region is relatively far from the image acquisition element, the degree of blur of the virtual tool is relatively high.

[0035] In some other embodiments, the character posture of the virtual character may be expressed comprehensively by the motion status of the virtual character itself and the state of the virtual tool controlled by the virtual character. For example, when the motion status of the virtual character changes, the state of the virtual tool also changes simultaneously to comprehensively reflect the change in the state of the target part.

[0036] Here, the character posture of the virtual character being related to the relative position of the target portion with respect to the image acquisition elements means that the character posture of the virtual character is influenced by the relative position of the target portion with respect to the image acquisition elements.

[0037] In some embodiments, associating the character posture of the virtual character with the relative position of the target region with the image acquisition elements includes the character posture of the virtual character having a mapping relationship with the relative position of the target region with the image acquisition elements, for example, the movement state of the virtual character itself having a mapping relationship with the relative position of the target region with the image acquisition elements, for example, the state of a virtual tool controlled by the virtual character having a mapping relationship with the relative position of the target region with the image acquisition elements, etc.

[0038] Step S304: The character posture of the virtual character is controlled according to the relative position of the target portion with respect to the image acquisition element.

[0039] In some embodiments, the relative position of the target portion with respect to the image acquisition element may include, but is not limited to, one or more of the following: spatial height of the target portion with respect to the image acquisition element, horizontal position of the target portion with respect to the image acquisition element, or tilt attitude of the target portion with respect to the image acquisition element, etc. Thus, a change in the character attitude of the virtual character may reflect a change in the target portion with respect to a standard state, and the user may be informed in a very intuitive and easy-to-understand manner whether the current state of the target portion is standard or not.

[0040] Specifically, the acquisition device acquires the relative position of the target site with respect to the image acquisition element, and controls the character posture of the virtual character according to the relative position of the target site with respect to the image acquisition element. Here, the character posture of the virtual character changes as the relative position of the target site with respect to the image acquisition element changes. In other words, under the situation where the relative position of the target site with respect to the image acquisition element changes, the character posture of the currently displayed virtual character changes with the change of the relative position. In order to provide intuitive and real-time feedback of the current state of the target site, in some embodiments, under the situation where the relative position of the target site with respect to the image acquisition element changes, the character posture of the currently displayed virtual character changes in real-time as the relative position changes. This can provide the target object with an intuitive and clear sense, i.e., it has a clear awareness of the relative position of its target site with respect to the image acquisition element, which can quickly and directly guide the target object to adjust the state of the target site, thereby facilitating the image acquisition element to acquire an appropriate site image faster.

[0041] Illustratively, after controlling the display element to display the virtual character, the collection device monitors the relative position of the target site to the image collection element in real time, and adjusts the character posture of the virtual character in real time according to the relative position of the target site to the image collection element. For example, after controlling the display element to display the virtual character, the collection device monitors the relative distance of the target site to the image collection element in real time with a distance sensor, and adjusts the character posture of the virtual character in real time according to the magnitude of the relative distance, changing the character posture of the virtual character in real time as the relative position changes.

[0042] Here, the spatial height of the target site relative to the image collecting element is usually the distance between the center of the target site and the plane on which the image collecting element is located. The plane on which the image collecting element is located is, for example, the plane on which the optical lens in the camera is located. The horizontal position of the target site relative to the image collecting element refers to the in-plane distance between the projection center at which the target site is mapped onto the plane on which the image collecting element is located and the center of the image collecting element on the plane on which it is located. The center of the image collecting element on the plane on which it is located is, for example, the center of the camera. The tilt attitude of the target site relative to the image collecting element includes the tilt angle of the target site relative to the image collecting element and the tilt direction of the target site relative to the image collecting element. The tilt angle of the target site relative to the image collecting element refers to the planar included angle between the plane on which the target site is located and the plane on which the image collecting element is located. The tilt direction of the target site relative to the image collecting element can be determined by the positive or negative sign of the planar included angle or the numerical value of the angle.

[0043] As should be explained, the horizontal position is the position of the target site in a plane parallel to the imaging element. The horizontal position reflects the orientation of the target site relative to the imaging element. When the target site faces the imaging element, the horizontal position of the target site is its planar position in the facing plane. When the target site is at an oblique angle relative to the imaging element, the horizontal position of the target site is the position of its projection in a plane parallel to the imaging element.

[0044] In some embodiments, when the relative position of the target portion to the image acquisition element changes, for example when the height of the target portion from the image acquisition element is too high or too low, the acquisition device controls the display element to display the virtual character raising or lowering its upper limbs, standing up or crouching, etc., to embody the height of the target portion by changing the movement of the limbs. Further, for example, the virtual character can represent the spatial height of the target portion relative to the image acquisition element by changing the speed of movement, for example when it is too high or too low, both are represented by movement, and when the height is appropriate, it remains still, etc.

[0045] In some embodiments, when the relative position of the target site with respect to the image collection element changes, for example, when the height of the target site from the image collection element is too high or too low, the collection device controls the display element to display that the virtual character controls the virtual tool to move up and down, thereby intuitively reflecting the change in height.Further, for example, when the target site is tilted with respect to the image collection element, the collection device controls the display element to display that the virtual tool controlled by the virtual character is also tilted accordingly, and there is a certain mapping relationship between the tilt angle and the tilt angle of the target site with respect to the image collection element, thereby intuitively reflecting the tilt state of the target site.

[0046] In order to avoid the problem of being difficult to operate and control due to too high sensitivity, in some embodiments, there is a tolerance range for the amount of change in the relative position of the target part to the image acquisition element, and when the amount of change in the relative position is within the tolerance range, it can be considered that the relative position of the target part to the image acquisition element does not change, and correspondingly, the character posture of the virtual character displayed on the display element does not change.

[0047] Furthermore, for example, in some other embodiments, even if the relative position of the target area to the image collection element changes when the amount of change in relative position is within the allowable range, the character posture of the virtual character displayed by the collection device controlling the display element does not change.

[0048] In some embodiments, in situations where the relative position of the target region to the image acquisition elements remains unchanged, the character pose of the virtual character displayed by the acquisition device is also maintained unchanged.

[0049] Step S306: Under a condition that the time during which the virtual character maintains the preset posture satisfies the preset collection condition, the image collection element is triggered to touchlessly collect the part image of the target part.

[0050] Here, touchless collection refers to non-contact image collection. Here, non-contact image collection refers to no contact between the target portion of the target object and the image collection element. The touchless collection is performed by the image collection element of the collection device. The purpose of the touchless collection is to collect an image of the portion of the target portion of the target object. In other words, touchless collection refers to image collection of the target portion by the image collection element under a condition where the image collection element does not contact the target portion of the target object.

[0051] In general, after the target object triggers and activates the image collecting element by its target part, the collecting device controls the character posture of the virtual character displayed on the display element to guide the target object to adjust the position of the target part relative to the image collecting element, and further collects the part image of the target part by the image collecting element. Then, the part image can be further subjected to biometric authentication, etc. Biometric authentication refers to performing identity authentication on the target object. For example, the collected image is used to be uploaded and stored in a server to become a biometric template of the target object, and then, when performing biometric authentication on the target object, the server can determine the authenticity of the identity of the target object by comparing the image collected in real time with the biometric template collected and stored in advance.

[0052] In the touchless collection scene, the relative position of the target site to the image collection element is uncontrollable and may change at any time, so the collection process requires the target site to be in the correct position or to be held in the correct position for a certain time. For example, the spatial height of the target site from the image collection element needs to be appropriate, if it is too high or too low, the collected site image will be blurred and unclear or incomplete; for example, the target site needs to be within the collection range of the image collection element, if the offset is too large, the collected site image will be incomplete or there will be distortion, and finally cause the image collection result to be inaccurate. Here, the collection range is within the visible range of the image collection element.

[0053] Thus, to guide the target object to adjust the relative position of its target portion to the image acquisition element and to allow direct and clear feedback to the target object, a standard character pose can be preset, i.e., a preset pose, and when the target object controls the target portion to be in an appropriate state, the acquisition device displays the virtual character as being in the preset pose. In some embodiments, when the character pose of the virtual character includes a state of a virtual tool, the preset pose includes the virtual character being in a preset pose and the virtual tool being in a preset standard tool pose.

[0054] For example, the preset posture of the virtual character is for the virtual character to run at a constant speed on a fixed trajectory; when the height of the target portion from the image collection element is too high or too low, the virtual character's speed slows or speeds up; when the target portion is to the left or right (upper or lower) from the horizontal position of the image collection element, the position of the virtual character relative to the trajectory is offset (for example, running left or right); when the target portion tilts, the virtual character itself tilts accordingly; etc.

[0055] Further, for example, the preset posture of the virtual character is such that the virtual character controls the virtual tool to be in a stable constant speed forward state, and when the height of the target part from the image collection element is too high or too low, the virtual character controls the virtual tool to move upward or downward, and when the target part is to the left or right (upper or lower) from the horizontal position of the image collection element, the virtual character controls the virtual tool to tilt to the left or right, etc.

[0056] Here, the preset collection condition includes one or more of, but is not limited to, the time during which the character posture of the virtual character holds the preset posture exceeds a threshold, the time during which the character posture of the virtual character holds the preset posture changes regularly, or the time during which the character posture of the virtual character holds the preset posture reaches the threshold multiple times. For example, if the time during which the character posture of the virtual character holds the preset posture exceeds 5 seconds, the collection device controls the image collection element to collect the site image of the target site. Furthermore, for example, when the time during which the character posture of the virtual character holds the preset posture exceeds 3 seconds the first time and exceeds 5 seconds the second time, the collection device controls the image collection element to collect the site image of the target site.

[0057] In other words, when the target portion is in a state suitable for image collection, the character posture of the virtual character is displayed as being in a preset posture, thereby suggesting to the target object that the target portion be held still, and when the time that the target portion is in that state exceeds a threshold, the preset collection condition is met, in which case the collection device triggers the image collection element to collect a portion image of the target portion.

[0058] In some embodiments, when the time during which the character posture of the virtual character maintains the preset posture satisfies the preset acquisition condition, the acquisition device controls the image acquisition element to acquire multiple frames of site images of the target site, where multiple frames include two or more frames, thereby improving the accuracy and completeness of the image acquisition.

[0059] In some embodiments, in a situation where the time during which the character posture of the virtual character holds the preset posture does not satisfy the preset collection condition, the collection device controls the display element to present to the target object that the target portion is being held still, thereby causing the time during which the character posture of the virtual character holds the preset posture to satisfy the preset collection condition, thereby triggering the image collection element to collect a portion image of the target portion.

[0060] In the above image collection method, image collection is performed in a touchless collection manner, which overcomes the hardware requirements for hardware infrastructure. In response to the virtual character display operation triggered by the target part of the target object, the virtual character's character posture is presented in a visualization manner with respect to the relative position of the target part to the image collection element, and the change in the virtual character's character posture reflects the change of the target part to the standard posture, which is more vivid and vivid. Under the situation where the relative position of the target part to the image collection element changes, the character posture of the currently displayed virtual character changes with the change in the relative position, which can let the user know very intuitively and easily whether the current state of the target part is standard or not. Under the situation where the time during which the character posture of the virtual character holds the preset posture meets the preset collection condition, triggering the image collection element to collect can greatly improve the collection efficiency and also ensure the accuracy of image collection.

[0061] In the embodiment of the present application, affecting the character posture of the virtual character with the relative position of the target part of the target object to the image collecting element can be a mini-game, and such a mini-game method can provide the user with an immersive collection experience, and the user can efficiently complete the image collection of the target part under the situation where the user is immersed in the mini-game and does not sense the actual collection process, and the sense of experience is higher. In the entire process, the virtual characters are all in dynamic postures (stillness can be regarded as a special dynamic posture, or the virtual character can move by local movements such as limbs under the situation where the virtual character keeps still as a whole), which can highly interact with the user and improve the interest of the image collection process, and prevent the user from sensing the collection process of the image collecting element.

[0062] In some embodiments, the method further includes a step of transmitting the collected part image of the target area to a server, where the part image is used to instruct the server to associate and store the part image with the target object, thereby performing biometric authentication on the target object based on the associated and stored part image when the target area of ​​the target object triggers an authentication operation.

[0063] Specifically, the acquisition device controls the image acquisition element to acquire one frame or multiple frames of the site image of the target site, and then transmits the one frame or multiple frames of the site image to the server, and the server associates the one frame or multiple frames of the site image with the target object and stores them. For example, the server creates a new storage space corresponding to each target object, and indexes the identifier information of the target object (e.g., a newly created account, a nickname, etc.) to facilitate search. The target object's own site image is stored in its own storage space.

[0064] Thereafter, for example, in the process of performing biometric authentication, the server can obtain a biometric authentication result by matching the real-time collected part image with the pre-stored part image and judging the authenticity of the target object based on the real-time collected part image. For example, the server judges the target object to be authentic when it determines that the real-time collected part image matches the pre-stored part image. Here, matching the real-time collected part image with the pre-stored part image may be when the image similarity between the two exceeds a preset threshold, etc.

[0065] In the above embodiment, by storing the collected partial images in association with the target object, the stored partial images can be used as the basis for identity checks or biometric authentication of the target object in various subsequent scenes; in a situation where the partial images collected in real time thereafter do not match the previously stored partial images of the target object, or where the partial images associated with the target object cannot be found, the check on the target object will fail, thereby ensuring the privacy security of the target object.

[0066] In order to further ensure the privacy security of the target object and prevent others from tampering with the biometric information of the target object by impersonating the target object, in some embodiments, before the step of displaying the virtual character in response to the virtual character display operation triggered by the target portion of the target object, the method further includes the steps of performing target detection and liveness detection for a target appearing within the collection range of the image collection element, and determining that the target portion of the target object has triggered an authentication operation under a situation where the target is detected to be the target portion of the target object and liveness is detected.

[0067] Specifically, the collection device performs target detection on the target appearing within the collection range of the image collection element to ensure that the object that triggers the virtual character display operation is the target portion of the target object and not other objects or other portions of the target object. At the same time, the collection device performs liveness detection on the target appearing within the collection range of the image collection element to determine that the currently detected target portion has a vital sign and is not a photograph, a statue, etc.

[0068] Exemplarily, an infrared sensor is further installed in the collection device, which detects a target appearing within the collection range of the image collection element and detects whether a vein feature exists. Here, the vein feature refers to an image feature belonging to a vein pattern in an image. Under the circumstances where the vein feature is detected, the collection device determines that the currently monitored target has passed liveness detection. Conversely, under the circumstances where the vein feature cannot be detected, the collection device determines that the currently monitored target cannot pass liveness detection, and therefore can refuse to perform the virtual character display operation. This can prevent other objects other than the target object from using the photo of the target portion of the target object to impersonate the target object under circumstances unknown to the target object, and further ensure the privacy safety and resource safety of the target object.

[0069] In the above embodiment, target detection and liveness detection are performed before determining the trigger for the virtual character display operation, so that the privacy security of the target object can be protected under the premise of secure biometric authentication.

[0070] As described above, when the target portion is in a state suitable for image acquisition, it is necessary to present to the target object that the target portion should be held stationary, thereby facilitating the image acquisition element to acquire images of the target portion. For this reason, the method further includes a step of displaying a motion animation in which the virtual character performs a first motion in a preset posture under a situation in which the relative position of the target portion with respect to the image acquisition element is within a preset position range, and a step of outputting first presentation information, the first presentation information being used to instruct the target object to maintain a relative stationary state between the target portion and the image acquisition element, thereby maintaining the character posture of the virtual character in the preset posture.

[0071] Here, the preset position range is used to indicate that the target site is in a suitable state for image acquisition when the target site is within the range. The preset position range is a preset position range, such as a preset spatial height range or a preset horizontal distance range. For example, the preset position range is 10 cm to 15 cm away from the image acquisition element, and when the distance between the target site and the image acquisition element is within 10 cm to 15 cm, the target site is located within the preset position range.

[0072] Here, a relative stationary state refers to a state in which the relative position of the target site with respect to the image collection element does not change, or a relative stationary state between the target site and the image collection element may be considered to be maintained when the degree of change in the relative position of the target site with respect to the image collection element is within an acceptable range.

[0073] Here, the first presentation information is used to present to the target object that the target portion is to be kept in a current state and not changed. In an actual scene, when the target object keeps the target portion in a current state, it can be considered that the target object keeps the target portion in a current state and not changed. The first motion is a standard motion of the virtual character under the condition that the target portion satisfies a relatively stationary state, and the motion type of the first motion includes one or more of walking, running, rotating, flying, stationary, etc., but is not limited thereto.

[0074] Specifically, when the relative position of the target site to the image acquisition element is within a preset position range, the acquisition device is triggered to output the first presentation information to present to the target object that the current state of the target site is to be maintained, thereby controlling the target site and the image acquisition element to maintain a relative stationary state. Correspondingly, during the period when the target object controls the target site and the image acquisition element to maintain a relative stationary state, the character posture of the virtual character also maintains the preset posture, thereby providing a vivid and vivid state feedback.

[0075] Here, the collecting device can present the first presentation information in a manner such as characters, patterns, animations, etc. on a display interface through a display element. For example, the collecting device can reproduce the first presentation information in a manner such as voice, music, etc. through a sound reproduction element such as a speaker. Here, the sound reproduction element can be integrated into the collecting device or installed independently from the collecting device, for example, the sound reproduction element and the collecting device can be connected in an external manner.

[0076] For example, when the relative position of the target portion to the image collecting element is within a preset position range, the collecting device controls the display element to display a motion animation of a virtual character running at a constant speed, thereby presenting that the target portion is within the preset position range, and at the same time, the collecting device controls a phrase on the display interface as the first presentation information, thereby presenting to the target object that the relative stationary state between the target portion and the image collecting element is maintained.

[0077] Further, for example, when the relative position of the target site to the image collection element is within a preset position range, the collection device controls the display element to display a motion animation of a virtual character lifting a stick and moving forward at a uniform speed on a wire, thereby indicating that the target site is within the preset position range.

[0078] Illustratively, when the spatial height of the target site relative to the image acquisition element changes, the acquisition device controls the display element to display the interface shown in Fig. 4A, in which the virtual character (avatar) controls the virtual tool (stick) to maintain a normal height and is in a state of walking forward normally, and correspondingly, the display element displays a motion animation in which the virtual character controls the virtual tool to maintain a horizontal state and walks forward normally. After the target site is kept in the preset height range for a certain period of time, the display element can further display the interface shown in Fig. 4B, from which it can be seen that the virtual character controls the virtual tool to maintain a horizontal state and walks forward normally a certain distance.

[0079] At the same time, taking the palm of the hand as an example, the display element further displays the first presentation information "Please keep your palm balanced" in Figures 4A and 4B, thereby instructing the target object to maintain a relative still state between the palm of the hand and the image collection element.

[0080] In the above embodiment, by outputting the first presentation information and combining it with a movement animation of the virtual character performing the first movement, it is possible to provide timely and clear feedback to the target object that the state of the target area meets the preset collection condition, and prevent the target area from moving further, thereby improving the completion rate and improving the collection efficiency.

[0081] Under the circumstances where the relative position of the target part to the image acquisition element changes, the character posture of the currently displayed virtual character changes with the change of the relative position. On the one hand, the virtual character can embody the height of the target part to the image acquisition element being too high or too low with respect to the standard height by a certain motion animation.

[0082] At the same time, in order to distinguish from the first movement that satisfies the preset collection conditions, in some embodiments, the step of changing the character posture of the currently displayed virtual character in accordance with a change in the relative position of the target portion relative to the image collection element in a situation where the relative position of the target portion changes includes a step of displaying a movement animation in which the virtual character performs a second movement in a situation where the spatial height of the target portion relative to the image collection element changes, and the character posture during the process of the virtual character performing the second movement changes in accordance with the change in the spatial height.

[0083] Here, the second movement is a movement of the virtual character when the target part does not satisfy a relative stationary state, and the movement type of the second movement includes one or more of walking, running, crouching, turning, flying, or stationary, etc., but is not limited to these.

[0084] Specifically, under the situation that the spatial height of the target part relative to the image collecting element changes, the collecting device controls the display element to display the motion animation in which the virtual character performs the second motion, and in the process of the virtual character performing the second motion, when the spatial height changes, the character posture of the virtual character also changes accordingly. In other words, the virtual character performs the second motion to embody the spatial height in the actual physical space of the target part, and when the spatial height changes, the virtual character still performs the second motion, but in the process of performing the second motion, the specific character posture is different, for example, the posture of the virtual character itself may change, the posture of the virtual tool controlled by the virtual character may change, or the postures of the virtual character and the virtual tool controlled by it may both change.

[0085] Illustratively, when the spatial height of the target region relative to the image acquisition element is too low, the virtual character may be displayed in an unstable walking posture, e.g., with a changed walking speed, as shown in Fig. 5A, while at the same time, the virtual character controls the virtual tool to be at a relatively low height relative to the virtual character itself.

[0086] When the spatial height of the target area relative to the image collection element is too high, as shown in FIG. 5B, the virtual character may be displayed in an unstable walking posture, while at the same time the virtual character controls the virtual tool to be at a relatively high height relative to itself.

[0087] When the spatial height of the target area relative to the image collection element is within the preset height range, as shown in Figures 4A and 4B, the virtual character appears to walk forward normally, while at the same time controlling the virtual tool so that it is at a normal height relative to the virtual character itself.

[0088] In the above embodiment, the change in spatial height of the target location is embodied through the motion animation of the virtual character, so that the current spatial height situation of the target location can be presented to the target object vividly and vividly, which facilitates the target object to adjust the spatial height of the target position, and improves collection efficiency.

[0089] In order to provide a clearer indication to the target object to adjust the spatial height of the target region, in some embodiments, when the spatial height of the target region relative to the image collecting element is not within a preset height range, second presentation information is output when displaying a motion animation in which the virtual character performs a second motion, where the second presentation information is used to instruct the target object to adjust the spatial height of the target region relative to the image collecting element.

[0090] Specifically, under a circumstance where the spatial height of the target site relative to the image collecting element is not within a preset height range, the collecting device can present the second presentation information in the form of characters, patterns, animations, etc. on the display interface through the display element. For example, the collecting device can present the second presentation information in the form of voice, music, etc. through a sound reproducing element such as a speaker.

[0091] Illustratively, as shown in Fig. 5A again, taking the target part as an example, the palm of the hand, when the spatial height of the target part relative to the image collecting element is too low, the second prompting information "your palm is a little low, your walking is unstable" is further displayed in the display interface. As shown in Fig. 5B again, when the spatial height of the target part relative to the image collecting element is too high, the second prompting information "your palm is too high, you can't lift it any more" is further displayed in the display interface.

[0092] In the above embodiment, by outputting the second presentation information and combining it with a movement animation in which the virtual character performs a second movement, it is possible to provide timely and clear feedback to the target object that the spatial height of the target location is not within the preset height range, thereby assisting the target object to adjust the spatial height of its target location.

[0093] Here, in some embodiments, the second movement includes a vertical movement, and the step of displaying the movement animation of the virtual character performing the second movement under a condition where a spatial height of the target location relative to the image collection element changes includes a step of displaying the virtual character controlling the virtual tool to move vertically under a condition where a spatial height of the target location relative to the image collection element changes, wherein a direction of the vertical movement of the virtual tool and a distance between the virtual tool and the virtual character have a corresponding relationship with the spatial height of the target location relative to the image collection element.

[0094] Specifically, under conditions where the spatial height of the target portion relative to the image acquisition element changes, the acquisition device controls the display element to display that the virtual character controls the virtual tool to move vertically, for example, the virtual character controls the virtual tool to move up and down relative to itself, or the virtual character controls the virtual tool to perform a vertical offset relative to the virtual tool's normal position, etc. The normal position of the virtual tool is the position that it is in when the target portion is within a preset height range.

[0095] Here, the direction of the vertical movement of the virtual tool corresponds to a spatial height of the target region relative to the image acquisition elements. In some embodiments, the direction of the vertical movement of the virtual tool corresponds to a spatial height of the target region relative to the image acquisition elements includes the direction of the vertical movement of the virtual tool corresponding to a difference between the spatial height and the preset height range. For example, the direction of the vertical movement of the virtual tool can be proportional to the difference, inversely proportional to the difference, etc.

[0096] In some embodiments, the step of displaying the virtual character controlling the virtual tool to move vertically under conditions where the spatial height of the target site relative to the image collection elements changes includes the steps of displaying the virtual character controlling the virtual tool to move vertically upward under conditions where the spatial height of the target site relative to the image collection elements becomes increasingly higher, and displaying the virtual character controlling the virtual tool to move vertically downward under conditions where the spatial height of the target site relative to the image collection elements becomes increasingly lower. Specifically, when the spatial height of the target site relative to the image collection elements becomes increasingly higher, the collection device controls the display element to display a motion animation of the virtual character controlling the virtual tool to move vertically upward, and conversely, when the spatial height of the target site relative to the image collection elements becomes increasingly lower, the collection device controls the display element to display a motion animation of the virtual character controlling the virtual tool to move vertically downward.

[0097] For example, when the target location is lower than the preset height range, the collection device controls the display element to display a downward vertical movement of the virtual tool, or when the target location is higher than the preset height range, the collection device controls the display element to display an upward vertical movement of the virtual tool.

[0098] Here, the distance between the virtual tool and the virtual character also has a correspondence relationship with the spatial height relative to the image acquisition elements of the target region. In some embodiments, the correspondence relationship between the distance between the virtual tool and the virtual character and the spatial height relative to the image acquisition elements of the target region includes that the distance between the virtual tool and the virtual character in the vertical direction is proportional to the difference between the spatial height and the preset height range. For example, when the spatial height is lower than the preset height range, the virtual tool moves vertically downward, and the lower the spatial height, the further the virtual tool moves downward from the previous vertical distance of the virtual character.

[0099] Illustratively, as shown in the comparison of Figures 4A and 5A, the virtual character vividly embodies that the spatial height of the target region is too low relative to the image acquisition elements by controlling the virtual tool to move downwards, and as shown in the comparison of Figures 4A and 5B, the virtual character vividly embodies that the spatial height of the target region is too high relative to the image acquisition elements by controlling the virtual tool to move upwards.

[0100] In the above embodiment, the change of the virtual tool and the change of the target location are kept in the same direction, and the range of movement is proportional to the change in spatial height, which conforms to universal laws and common cognition, and can fully and intuitively embody the comparative relationship between the spatial height of the target location and the preset height range, and can quickly help the target object adjust the spatial height of the target location, thereby ensuring that the target location is at a reasonable height relative to the image collection element, and further improving the collection efficiency.

[0101] In some embodiments, the step of displaying the virtual character controlling the virtual tool to move vertically under a situation where the spatial height of the target portion relative to the image collection element changes includes the steps of determining a current spatial height of the target portion relative to the image collection element of the target portion under a situation where the spatial height of the target portion relative to the image collection element changes, determining a height difference between the spatial height and a preset height, mapping the height difference to a relative distance between the virtual tool and the virtual character based on a pre-defined distance mapping relationship, where the greater the height difference, the greater the relative distance, and controlling the virtual character to manipulate the virtual tool to move vertically according to the relative position.

[0102] Specifically, the collection device controls the image collection element to detect the current spatial height of the target portion relative to the image collection element, compares the spatial height collected in real time with a preset height, calculates the height difference between the two, and maps the height difference to a relative distance between the virtual tool and the virtual character according to a preset distance mapping relationship, and embodies the process of controlling the virtual character to move the virtual tool, that is, the collection device controls the display element to display that the virtual character operates the virtual tool to move vertically, thereby moving the virtual tool to a certain position, and the relative position between the position and the standard position has a numerical mapping relationship with the height difference, for example, the greater the relative distance between the original position of the virtual tool and the position after vertical movement, it represents the greater the height difference between the target portion and the image collection element.

[0103] In the above embodiment, the virtual tool moves in the same direction, and the range of movement is proportional to the change in spatial height, which conforms to universal laws and common cognition, and can fully and intuitively embody the comparative relationship between the spatial height of the target location and the preset height range, and can quickly help the target object adjust the spatial height of the target location, and further improve the collection efficiency.

[0104] In some embodiments, the acquisition device can obtain the spatial height of the target region relative to the image acquisition element through the acquired image. For example, the spatial height of the target region relative to the image acquisition element can be calculated based on the mapping relationship between the size of the key region in the acquired target region and the spatial height. Here, the key region is a region in the target region that carries key information, and the key information can be used for image recognition, data analysis, etc. Taking the palm of the hand as an example, the palm region is the key region, and other regions, such as the fingers and wrist, are non-key regions.

[0105] In some other embodiments, a plurality of distance sensors are arranged around the image acquisition element, and when the target site is located within the viewing range of the image acquisition element, the acquisition device can sense and obtain the spatial height of the target site relative to the image acquisition element by the distance sensors. Correspondingly, in some embodiments, the step of determining the current spatial height of the target site relative to the image acquisition element includes the steps of: obtaining a plurality of effective distances corresponding to key regions of the target site by the plurality of distance sensors when the target site is within the acquisition range of the image acquisition element; and determining the current spatial height of the target site relative to the image acquisition element based on the plurality of effective distances.

[0106] Here, the quantity of distance sensors can be set according to actual requirements, and the distance sensors are distributed symmetrically. The distance sensors are, for example, sensors that adopt ToF (Time of Flight) technology. Under the situation that the distance sensor does not detect an object or the distance between it and the object exceeds the detectable range, the distance sensor may output one specific value. When the distance sensor detects an object within its detectable range, the distance sensor outputs the distance value.

[0107] Typically, the target region may occlude at least one distance sensor, in which case the acquisition device calculates and obtains a final distance based on the distances detected and output by each of the at least one distance sensor, the final distance being the current spatial height of the target region relative to the image acquisition element.

[0108] Specifically, under a situation where the target site is within the collection range of the image collecting element, the target site is located within the detection range of one or more distance sensors, i.e., the projection area of ​​the key area of ​​the target site projected onto a plane of the distance sensor covers one or more distance sensors. In this case, the collecting device obtains multiple effective distances corresponding to the key area of ​​the target site by the one or more distance sensors. The remaining distance sensors that do not detect the target site may output invalid distance values. Thus, the collecting device can determine the current spatial height of the target site relative to the image collecting element according to the multiple effective distances. Illustratively, the collecting device takes the average value of the multiple effective distances as the current spatial height of the target site relative to the image collecting element.

[0109] Illustratively, as shown in Fig. 6A, a number of distance sensors P are installed around the camera of the image acquisition element. The acquisition device determines the distance sensors installed correspondingly in the range covered by the key region R of the target site, i.e., the distance sensors blocked by the target site, according to the distance values ​​output by these distance sensors, and obtains the current spatial height of the target site relative to the image acquisition element.

[0110] In real scenes, there may be an occlusion phenomenon such as an arm, which causes multiple distance sensors to return one distance value, but only some of the distance values ​​may correspond to the target part, and the remaining distance values ​​may be distance values ​​of the arm detected due to occlusion such as the arm, which further causes the distance detection result to be inaccurate.

[0111] Therefore, in some embodiments, each installed distance sensor is divided into quadrants, and there are multiple distance sensors in each quadrant, so that the acquisition device determines a center G of the key region according to the key region of the target region detected by the image acquisition element, obtains multiple distance values ​​output by the multiple distance sensors in the quadrant according to the quadrant in which the center G of the key region is located, and determines a current spatial height of the target region relative to the image acquisition element based on the multiple distance values.

[0112] As shown in FIG. 6B, based on the key region R of the target area detected by the image collection element, the collection device determines that the quadrant in which the center G of the key region is located is the first quadrant, and therefore determines the distance sensors (shown as black circles in the drawing to distinguish them from the other sensors) in the first quadrant, and obtains the distance values ​​output by these sensors.

[0113] This allows multiple distance sensors to be installed around the camera for detection, so that the spatial height of the target area relative to the image collection element can be obtained more accurately, and the size of the displayed mapping pattern can be made more accurate, and it is faster and more accurate when the target object adjusts the spatial height of the target area.

[0114] On the other hand, in some embodiments, a motion animation is displayed in which the virtual character performs a third motion when the horizontal position of the target area relative to the image collection element changes, and the character posture during the process of the virtual character performing the third motion changes with the change in horizontal position.

[0115] Here, the third movement is also the movement of the virtual character when the target part does not satisfy the relative stationary state, and the movement type of the third movement includes one or more of walking, running, crouching, turning, flying, or stationary, etc., but is not limited to these.

[0116] As needs to be explained, the second and third motions are both different from the first motion, and the third motion is different from the second motion. In other words, the second and third motions belong to different kinds of motions, or different dimensional motion methods under the same motion, in order to distinguish the changes in the two dimensions of the spatial height and horizontal position of the target part by making the character posture of the virtual character clearly reflect what state the target part is in. For example, the second motion may be an up-down jump, and the third motion may be a left-right tilt, etc. Furthermore, for example, the virtual characters are all in a flying motion state (for example, the virtual character is an airplane, a bird, or a virtual avatar carried by an aircraft), and when the spatial height changes, the flight position of the virtual character shifts up or down, when the horizontal position changes, the flight position of the virtual character shifts left or right, and when the target part tilts, the flight posture of the virtual character itself also tilts, etc.

[0117] Specifically, under the situation that the horizontal position of the target part relative to the image collecting element changes, the collecting device controls the display element to display the motion animation of the virtual character performing the third motion, and when the horizontal position changes in the process of the virtual character performing the third motion, the character posture of the virtual character also changes accordingly. In other words, the virtual character performs the third motion to embody the horizontal position in the actual physical space of the target part, and when the horizontal position changes, the virtual character still performs the third motion, but the specific character posture in the process of performing the third motion is different, for example, the posture of the virtual character itself may change, the posture of the virtual tool controlled by the virtual character may change, or the postures of the virtual character and the virtual tool controlled by it may both change.

[0118] For example, when the horizontal position of the target area relative to the image acquisition element is to the left, the virtual character (avatar) is displayed with its body tilted to the left as shown in Fig. 7A. Conversely, when the horizontal position of the target area relative to the image acquisition element is to the right, the virtual character is displayed with its body tilted to the right as shown in Fig. 7B.

[0119] When the horizontal position of the target region relative to the image acquisition elements is within a preset horizontal range, the virtual character displays a normal, non-offset body posture, ie, the posture shown in Figures 4A and 4B.

[0120] In the above embodiment, the change in the horizontal position of the target location is embodied by the motion animation of the virtual character, so that the current horizontal position situation of the target location can be presented to the target object vividly and vividly, which makes it easy for the target object to adjust the horizontal position of the target location, and improves the collection efficiency.

[0121] In order to provide a clearer indication to the target object to adjust the horizontal position of the target portion, in some embodiments, when displaying a movement animation in which the virtual character performs a third movement in a situation in which the horizontal position of the target portion relative to the image collection element is not within a preset horizontal range, third presentation information is output, and the third presentation information is used to instruct the target object to adjust the horizontal position of the target portion relative to the image collection element.

[0122] Specifically, under a situation where the horizontal position of the target site relative to the image collecting element is not within a preset horizontal range, the collecting device can present the third presentation information in the form of characters, patterns, animations, etc. on the display interface through the display element. Furthermore, for example, the collecting device can present the third presentation information in the form of voice, music, etc. through a sound reproducing element such as a speaker.

[0123] 7A again, taking the target part as an example of a palm, when the horizontal position of the target part relative to the image collecting element shifts to the left, second presentation information is further displayed in the display interface, saying "your palm is too far to the left and is likely to fall." When the horizontal position of the target part relative to the image collecting element shifts to the right, second presentation information is further displayed in the display interface, saying "your palm is too far to the right and is likely to fall." As shown in FIG. 7B again, when the horizontal position of the target part relative to the image collecting element shifts to the right, second presentation information is further displayed in the display interface, saying "your palm is too far to the right and is likely to fall."

[0124] In the above embodiment, by outputting the third presentation information and combining it with a movement animation of the virtual character performing the third movement, it is possible to provide timely and clear feedback to the target object that the horizontal position of the target portion is not within the preset horizontal range, thereby assisting the target object to adjust the horizontal position of its target portion.

[0125] In addition to the change in posture of the virtual character itself, the change in the horizontal position of the target portion can be embodied by a change in posture of a virtual tool controlled by the virtual character. In some embodiments, the third motion includes a tilting motion performed by the virtual character controlling the virtual tool. Correspondingly, the step of displaying the motion animation of the virtual character performing the third motion under a situation in which the horizontal position of the target portion changes relative to the image collection element includes a step of displaying the virtual character controlling the virtual tool to tilt under a situation in which the horizontal position of the target portion changes relative to the image collection element, where the tilting direction of the virtual tool is the same direction as the offset direction of the target portion, and the offset direction is a direction corresponding to the horizontal position of the target portion relative to the image collection element.

[0126] Specifically, under a situation where the spatial height of the target portion relative to the image acquisition element changes, the acquisition device controls the display element to display that the virtual character controls the virtual tool to tilt, for example, the virtual character controls the virtual tool to tilt leftward or rightward relative to the virtual tool's standard position, etc. The standard position of the virtual tool is the position where the target portion is located when it is within a preset horizontal range.

[0127] Here, the tilt direction of the virtual tool is the same as the offset direction of the target part, thereby intuitively reflecting the orientation of the target part relative to the imaging element, where the offset direction corresponds to the horizontal position of the target part relative to the imaging element, for example, when the horizontal position of the target part relative to the imaging element shifts to the left, the offset direction is offset to the left, and when the horizontal position of the target part relative to the imaging element shifts to the right, the offset direction is offset to the right.

[0128] In the above embodiment, the change of the virtual tool and the change of the target site are kept in the same direction, which is in line with universal laws and common cognition, and can fully and intuitively embody the comparative relationship between the orientation of the target site and the preset horizontal range, and can help the target object quickly adjust the horizontal position of the target site, thereby ensuring that the target site is in the correct orientation relative to the image collection element, and further improving the collection efficiency.

[0129] In addition to the spatial height and horizontal position, the tilt condition of the target portion may also affect the accuracy and efficiency of image acquisition. Therefore, in some embodiments, the step of changing the character posture of the currently displayed virtual character according to the change in the relative position of the target portion relative to the image acquisition element includes the step of displaying a motion animation in which the virtual character performs a fourth motion according to the change in the tilt posture of the target portion relative to the image acquisition element, wherein the character posture during the process of the virtual character performing the fourth motion changes according to the change in the tilt posture.

[0130] Specifically, under a situation where the tilt attitude of the target portion relative to the image collection element changes, the collection device controls the display element to display a motion animation in which the virtual character performs a fourth motion, and in the process of the virtual character performing the fourth motion, when the tilt attitude changes, the character attitude of the virtual character also changes accordingly, or the attitude of the virtual tool controlled by the virtual character also changes accordingly. Illustratively, when the target portion tilts, the virtual character itself also tilts, and the degree of tilt has a positive correlation with the degree of tilt of the target portion.

[0131] In the above embodiment, by presenting a movement animation in which the virtual character performs a fourth movement, it is possible to provide timely and clear feedback to the target object that a tilt exists in the target region, thereby helping the target object to quickly adjust the angle of the target region relative to the image collection element, and thereby ensuring that the image collection element collects region images that meet the image quality standard.

[0132] Here, the tilt attitude includes a tilt angle and a tilt direction. In some embodiments, at least three distance sensors are arranged around the image acquisition element. The method further includes the steps of: obtaining at least three effective distances corresponding to key regions of the target region by the distance sensors under a situation where the target region is within a collection range of the image acquisition element, constructing a virtual plane of the key region based on the at least three effective distances, and determining a tilt angle and a tilt direction of the key region based on a relative angle between the virtual plane and a standard plane.

[0133] Specifically, under the situation where the target site is within the collection range of the image collection element, the target site is located within the detectable range of at least three distance sensors, i.e., the projection area where the key area of ​​the target site is projected onto the plane where the distance sensors are located covers at least three distance sensors. Thus, the collection device can obtain at least three effective distances output by the distance sensors. According to the at least three effective distances, the collection device constructs a virtual plane of the key area corresponding to the current attitude of the target site. Thus, based on the relative angle (e.g., tangent angle) between the virtual plane and the standard plane, the collection device can determine the relative attitude of the key area, i.e., the current tilt attitude of the target site. Thus, according to the current tilt attitude of the target site, the collection device can control the display element to adjust the display state of the mapping pattern according to the relative attitude.

[0134] Illustratively, according to the relative orientation of the key region, the acquisition device calculates its components in the height direction and the plane direction, and maps them to changes in both the display position and the display size of the mapping pattern, respectively, according to the components, thereby embodying the current tilt orientation of the target area.

[0135] This allows real-time feedback to be provided by the display state of the mapping pattern when the posture of the target area changes and the posture of the target area is tilted to a certain extent, thereby ensuring that the images collected are more accurate.

[0136] Under the circumstances that the target site is tilted, the moving speed is too fast, too close, too far, or too dark or too bright due to other factors, the collected site image will also have various situations, which causes the image quality to be relatively low. For example, when the moving speed is too fast, the collected image may have a blurred situation. Therefore, in order to ensure that the quality of the collected image meets the standard, in some embodiments, before the step of collecting the site image by the image collecting element, the method further includes a step of acquiring the moving speed of the target site within the collecting range of the image collecting element. When the moving speed is too fast, the collected image may have a blurred situation, which may affect the accuracy of the subsequent steps.

[0137] Specifically, the acquisition device determines the moving speed of the target area based on successive multi-frame images of the target area detected by the image acquisition element, according to at least one of the amount of change in spatial height or the amount of offset in horizontal position of the key area corresponding to the successive multi-frame images.

[0138] For example, the collecting device calculates the amount of change in spatial height between every two adjacent frames based on the N consecutive frame images of the target region detected by the image collecting element. When the amount of change is smaller than a preset threshold, the collecting device determines that the moving speed of the target region is appropriate and meets the collecting condition. For example, the collecting device calculates the amount of offset in horizontal position between every two adjacent frames based on the N consecutive frame images of the target region detected by the image collecting element. When the amount of offset is smaller than a preset threshold, the collecting device determines that the moving speed of the target region is appropriate and meets the collecting condition. For example, only when both the amount of change in spatial height and the amount of offset in horizontal position between every two adjacent frames meet the corresponding threshold condition, the collecting device determines that the moving speed of the target region is appropriate and meets the collecting condition, etc.

[0139] Thus, when it is determined that the detected target site meets the collection condition based on the moving speed, the collection device executes the step of collecting an image of the key region of the target site by the image collection element, and further avoids the situation that the moving speed of the target site within the visible range of the image collection element is too fast, causing the collection to fail or the quality of the collected image to be poor, thereby improving the accuracy and success rate of collection, and further improving the collection efficiency.

[0140] Considering that the key region may be occluded by other objects in the actual scene (for example, the palm is occluded by the sleeve), in order to ensure the accuracy of collection, in some other embodiments, before the step of collecting the image of the key region of the target site by the image collecting element, the method further includes a step of performing completeness detection on the target site within the collection range of the image collecting element to obtain a completeness detection result. Specifically, the collecting device controls the image collecting element to acquire the image of the target site, and performs completeness detection on the image of the target site, thereby obtaining a completeness detection result, which is used to represent whether the key region of the target site is complete, in other words, whether there is a situation in which the key region is occluded. When there is no occlusion on the target site, the collecting device determines that the target site meets the collection condition. Illustratively, the collecting device can perform completeness detection on the image of the target site by a skin color judgment manner. For example, the acquisition device may extract pixel values ​​in a key region of a target area and compare them with pixel values ​​in non-key regions, and when the difference in pixel values ​​exceeds a threshold, it may be stated that an occlusion exists in the key region.Further, for example, the acquisition device may utilize a pre-trained classification model, input an image of the target area to the classification model, and output an integrity detection result of whether an occlusion exists or not from the classification model.

[0141] In still other embodiments, to further ensure the accuracy of the acquisition, a step of acquiring an image of the region by an image acquisition element is performed when both the moving speed and the completeness detection result satisfy an acquisition condition.

[0142] In some embodiments, the method further includes a step of sending a collected part image of the target part to a server, where the part image is used by the server to perform biometric authentication on the part image and instruct the server to perform resource transfer when the biometric authentication is successful, and a step of receiving and displaying a resource transfer result fed back from the server when the biometric authentication is successful.

[0143] Specifically, the collecting device transmits the collected part image to the server. After receiving the part image, the server performs biometric authentication on the part image. Under the circumstance where the biometric authentication is passed, the server can execute a resource transfer operation related to the target object. For example, the server can recognize the image of the key region using a palm print recognition model, etc., extract one or more biometric information such as palm print, palm shape, or vein in the image, and recognize according to the one or more biometric information to determine whether the target object is a pre-registered object. Under the circumstance where the target object is a pre-registered object, it is determined that the biometric authentication of the target object is passed. Of course, under the circumstance where the hardware conditions of the collecting device support it, the collecting device itself can process the image of the key region to perform biometric authentication.

[0144] Here, the resource transfer operation refers to transferring preset resources in an account previously bound to the target object stored by the server to a preset account under the circumstance that biometric authentication is passed.

[0145] Taking a specific scene as an example, when a target object passes biometric authentication, the server retrieves a preset amount of assets and resources such as tools from the account of the target object and transfers them to another preset account. The preset account can be an account of an operator, for example, by paying a certain amount to the account of the operator. The preset account can be an account of another non-operator, for example, by transferring funds to the account of the non-operator or transferring virtual tools to the account of the non-operator.

[0146] In some embodiments, the collection device further receives the authentication result returned from the server, and displays the authentication result in the display interface by the display element. For example, in a situation where the biometric authentication of the target object is passed, the collection device receives the authentication result of the passed authentication returned from the server, and displays a presentation such as "authentication passed, congratulations" or "authentication successful" in the display interface by the display element, thereby feeding back the authentication result to the target object.

[0147] In the above embodiment, the contactless biometric authentication method is used to avoid the need for hardware devices, and also to avoid the inconvenience of forgetting to carry a portable terminal in the currently commonly used mobile phone payment and code scanning payment situations. At the same time, the biometric authentication method using palm scanning to transfer resources is more efficient and greatly improves convenience.

[0148] The present application further provides an application scenario, which applies the above-mentioned image collection method. Specifically, the application of the image collection method in the application scenario is, for example, as follows. Take the target part as an example, the palm of the hand, and when the user activates the palm scan payment function on the device, the server needs to store the image of the user's palm by registering it. The user triggers the collection device to perform a virtual character display operation, and displays the interface of the virtual character in the initial state. In the process of real-time detection, the collection device changes the character posture of the virtual character when the height of the user's palm relative to the image collection element changes, and changes the character posture of the virtual character when the orientation of the user's palm relative to the image collection element changes, and so on. The user is prompted to adjust the height and orientation of the palm according to the change in the character posture of the virtual character, which guides the user to place the palm within an appropriate height range and position the palm in an appropriate orientation relative to the image collection element.

[0149] Under the circumstance that the height and orientation of the user's palm all satisfy the conditions, the virtual character is displayed as a preset posture, and guides the user to maintain the current palm state and not change it, and correspondingly, the virtual character is displayed to maintain the preset posture. Under the circumstance that the time during which the character posture of the virtual character maintains the preset posture satisfies the preset collection condition, the image collection element is triggered to collect the part image, thereby completing the image collection of the user's palm part, and further realizing the successful activation of the palm scan payment function.

[0150] Thus, as the relative position between the palm and the collection device changes due to the game interaction in the interface, the virtual character in the game interface also gives corresponding feedback, so as to complete the activation of palm scanning during the interaction with the game, and improve the efficiency of image collection. Of course, without being limited thereto, the image collection method provided in the present application may also be applied to other application scenarios, such as account registration, palm scanning payment, etc.

[0151] In a specific application scenario, before a user triggers a collection device to perform a virtual character display operation, the collection device controls the display element to display the interface shown in Fig. 8, thereby notifying the user of the relevant information of the current collection process. After a user extends his / her palm at the collection device to start a touchless palm scan, i.e., triggers a virtual character display operation, the collection device controls the display element to display the interface shown in Fig. 9, which, together with the screen, introduces the flow of the next operation and control that the user will perform.

[0152] Under one condition, as shown in Fig. 10A, when a user holds his palm at a preset height range (e.g., a height range of 8-12 cm) and is located within a preset horizontal range, the collection device controls the display element to display the interface shown in Fig. 4A. After the user holds his palm at the preset height range and is located within the preset horizontal range for a certain period of time, the collection device controls the display element to display the interface shown in Fig. 4B.

[0153] Under one condition, as shown in FIG. 10B, when the user's palm is relatively low, for example lower than 8 cm, the collection device controls the display element to display the interface shown in FIG. 5A, indicating that the virtual character's walking is unsteady and that the position of the tool it is holding, the stick, is relatively low.

[0154] Under one condition, as shown in FIG. 10C, when the user's palm is relatively high, for example higher than 12 cm, the collection device controls the display element to display the interface shown in FIG. 5B, indicating that the virtual character's walking is unsteady and that the position of the stick tool it is holding is relatively high.

[0155] Under one condition, when the user's palm is in a left-leaning orientation, the collection device controls the display element to display the interface shown in FIG. 7A.

[0156] Under one condition, when the user's palm is in a right-to-right orientation, the collection device controls the display element to display the interface shown in FIG. 7B.

[0157] After the user's palm is in one or more of the states of relatively low, relatively high, left-leaning, or right-leaning, etc., and is held for a certain period of time, the collection device indicates to the user that the collection is not successful by controlling the display element to display the interface shown in Fig. 11A. After the collection is successful, the collection device can further control the display element to display the interface shown in Fig. 11B.

[0158] This reduces the boredom of collecting body part images through gamification, makes the process of the user recognizing the palm of the hand on the collecting device easier and more interesting, and presents the distance and position on the screen according to the balance state of the game character's walking according to the relative position between the collecting device and the palm, making it easy for the user to adjust the appropriate distance and position, thereby helping the user to adjust the palm position more easily when making a payment. In this manner, the user and the device can have a relatively high degree of interactivity, and the user experience is better.

[0159] In one specific example, the overall flow of the embodiment of the present application may be shown in FIG. 12, after the user starts the registration by palm scanning, the collection device recognizes the palm and displays a preset initial game interface on the display interface. The collection device displays the corresponding posture of the virtual character on the display interface according to the relative position of the palm by recognizing the relative position of the palm. Usually, the relative position of the palm when the user just starts is not in a proper range. Therefore, the user adjusts the relative position of the palm, and then the collection device provides real-time feedback according to the change of the relative position of the palm. When the user's palm is in the correct position, the collection device controls the image collection element to collect the image of the palm, and performs corresponding processing (such as cropping or gradation, etc.) and storage. Then, the collection device uploads the collected palm image to the server.

[0160] As shown in FIG. 13, when the collecting device starts palm recognition, the collecting device controls the camera in the image collecting element to capture the palm, and judges whether it meets the image collection requirements according to the distance and position information of the palm. When the detected relative position of the palm does not meet the image collection requirements, the collecting device controls the display element to feed back error information, and represents it by the posture of the virtual character in the game interface, so as to guide the user to adjust the position of the palm. Then, the collecting device obtains the next frame of the captured image collected by the image collecting element, and similarly performs steps such as recognition and real-time feedback. When the user's palm is in the correct position, the collecting device controls the image collecting element to collect and store the palm image, and then upload it to the server, so that the server performs processing such as storage and encoding.

[0161] As should be understood, although each step in the flowcharts relating to each of the above-mentioned embodiments is displayed in order according to the direction of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly described in this specification, there is no strict order restriction on the execution of these steps, and these steps may be executed in other orders. And, at least some of the steps in the flowcharts relating to each of the above-mentioned embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but may be executed at different times, and the execution order of these steps or stages is not necessarily performed in order, but may be executed in order or alternately with other steps or at least some of steps or stages in other steps.

[0162] Based on the same inventive concept, the embodiments of the present application further provide an image acquisition device for implementing the image acquisition method related to the above. The implementation means for solving the problem provided by the device are similar to the implementation means described in the above method, so in the following, the specific limitations of the embodiments of one or more image acquisition devices provided may refer to the limitations of the image acquisition method described above, and will not be described in detail again here.

[0163] In some embodiments, as shown in FIG. 14, an image acquisition device 1400 is provided, including a display module 1401 and an acquisition module 1402, where: The display module 1401 is used to respond to a virtual character display operation triggered by a target portion of a target object; The display module 1401 is further adapted to control a character pose of the virtual character according to a relative position of the target portion with respect to the image acquisition element; The acquisition module 1402 is used to trigger the image acquisition element to touchlessly acquire the part image of the target part under a condition that the time during which the character posture of the virtual character maintains the preset posture satisfies the preset acquisition condition.

[0164] In some embodiments, the device further includes a first output module used for displaying a movement animation in which the virtual character performs a first movement in a preset posture under a condition in which the relative position of the target portion with respect to the image collection element is within a preset position range, and outputting first presentation information, the first presentation information being used to instruct the target object to maintain a relative stationary state between the target portion and the image collection element, thereby maintaining the character posture of the virtual character in the preset posture.

[0165] In some embodiments, the relative position of the target site with respect to the image collection element includes a spatial height of the target site with respect to the image collection element, and the display module is further used to control the display element to display a movement animation in which the virtual character performs a second movement under a condition in which the spatial height of the target site with respect to the image collection element changes, and the character posture during the process in which the virtual character performs the second movement changes with the change in spatial height.

[0166] In some embodiments, the relative position of the target site with respect to the image collection element includes a horizontal position of the target site with respect to the image collection element, and the display module is further used to control the display element to display a movement animation of the virtual character performing a third movement under a change in the horizontal position of the target site with respect to the image collection element, and the character posture during the process of the virtual character performing the third movement changes with the change in horizontal position.

[0167] In some embodiments, the display module is further used to control the display element to display that the virtual character controls the virtual tool to move vertically under conditions where the spatial height of the target area relative to the image collection element changes, wherein the direction of the vertical movement of the virtual tool and the distance between the virtual tool and the virtual character correspond to the spatial height of the target area relative to the image collection element.

[0168] In some embodiments, the display module is further used to control the display element to display that the virtual character controls the virtual tool to move vertically upwards when the spatial height of the target area relative to the image collection element becomes increasingly higher, and to display that the virtual character controls the virtual tool to move vertically downwards when the spatial height of the target area relative to the image collection element becomes increasingly lower.

[0169] In some embodiments, the display module is further used for determining a current spatial height relative to the image collection element of the target region under a change in spatial height relative to the image collection element of the target region, determining a height difference between the spatial height and the preset height, mapping the height difference to a relative distance between the virtual tool and the virtual character based on a pre-defined distance mapping relationship, where the greater the height difference, the greater the relative distance, and controlling the display element to display that the virtual character manipulates the virtual tool to control the virtual tool to move vertically in response to the change in spatial height.

[0170] In some embodiments, a plurality of distance sensors are arranged around the image collection element, and the display module is further used for obtaining a plurality of effective distances corresponding to key regions of the target area by the plurality of distance sensors when the target area is within the collection range of the image collection element, and determining a current spatial height of the target area relative to the image collection element based on the plurality of effective distances.

[0171] In some embodiments, the display module is further used to control the display element to display that the virtual character controls the virtual tool to tilt when the horizontal position of the target portion relative to the image collection element changes, where the tilt direction of the virtual tool is in the same direction as the offset direction of the target portion, and the offset direction is in a direction corresponding to the horizontal position of the target portion relative to the image collection element.

[0172] In some embodiments, the device further includes a second output module adapted to output second presentation information when controlling the display element to display a motion animation of the virtual character performing a second motion when the spatial height of the target portion relative to the image collection element is not within a preset height range, the second presentation information being adapted to instruct the target object to adjust the spatial height of the target portion relative to the image collection element.

[0173] In some embodiments, the device further includes a third output module used for outputting third presentation information when controlling the display element to display a movement animation of the virtual character performing a third movement when the horizontal position of the target portion relative to the image collection element is not within a preset horizontal range, the third presentation information being used to instruct the target object to adjust the horizontal position of the target portion relative to the image collection element.

[0174] In some embodiments, the relative position of the target site with respect to the image collection element includes an inclination attitude of the target site with respect to the image collection element, and the display module is further used to control the display element to display a movement animation in which the virtual character performs a fourth movement under a situation in which the inclination attitude of the target site with respect to the image collection element changes, and the character posture during the process in which the virtual character performs the fourth movement changes with the change in the inclination attitude.

[0175] In some embodiments, at least three distance sensors are arranged around the image collection element, and the tilt attitude of the target site relative to the image collection element includes a tilt angle of the target site relative to the image collection element and a tilt direction of the target site relative to the image collection element, and the apparatus further includes a determination module used for obtaining at least three effective distances corresponding to a key region of the target site by the distance sensors when the target site is within the collection range of the image collection element, constructing a virtual plane of the key region based on the at least three effective distances, and determining the tilt angle and tilt direction of the key region based on the relative angle between the virtual plane and a standard plane.

[0176] In some embodiments, the device further includes a detection module used to perform target detection and liveness detection on targets appearing within the collection range of the image collection element, and to determine that the target portion of the target object triggers an authentication operation when the target is detected to be a target portion of a target object and liveness is detected.

[0177] In some embodiments, the device further includes an upload module used to send the collected part image of the target area to a server, and the part image is used to instruct the server to associate and store the part image with the target object, thereby performing biometric authentication on the target object based on the associated and stored part image when the target area of ​​the target object triggers an authentication operation.

[0178] In some embodiments, the device further includes a transmission module, which transmits the collected part image of the target part to a server, and the part image is used for the server to perform biometric authentication on the part image and instruct the server to perform resource transfer when the biometric authentication is passed; and when the biometric authentication is passed, the device receives a resource transfer result fed back from the server, and the display module is further used for displaying the resource transfer result.

[0179] The whole or part of each module in the image acquisition device can be realized by software, hardware, or a combination thereof. Each module may be integrated into or independent of a processor in a computer device in a hardware form, or may be stored in a memory in a computer device in a software form, so that the processor calls and executes operations corresponding to each module.

[0180] In some embodiments, a computer device is provided, which may be the collection device in the above embodiment, and its internal structure diagram can be shown in FIG. 15. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display element, and an image collection element. Wherein, the processor, the memory, and the input / output interface are connected by a system bus, and the communication interface, the display element, and the image collection element are connected to the system bus by the input / output interface. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. An operating system and a computer program are stored in the non-volatile storage medium. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, mobile cellular network, NFC (near field communication), or other technologies. When the computer program is executed by the processor, it realizes the biometric authentication method. The display element of the computer device is used for forming a visually visible screen, and can be a display screen, a projection device, or a virtual reality image forming device, and the display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, a trackball, or a touch control pad installed on the housing of the computer device, or even an external keyboard, a touch control pad, or a mouse, etc.

[0181] As will be understood by those skilled in the art, the structure shown in FIG. 15 is merely a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on a computer device to which the solution of the present application can be applied; a specific computer device may include more or less components than those shown in the drawing, may combine some components, or may have a different component arrangement.

[0182] In some embodiments, a computing device is further provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps in each of the method embodiments above when executing the computer program.

[0183] In some embodiments, a computer readable storage medium is provided having a computer program stored thereon, the computer program performing the steps of each of the method embodiments described above when executed by a processor.

[0184] In some embodiments, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of each of the method embodiments described above.

[0185] As should be explained, the user information (including but not limited to information about the user's hand area and the user's account information, etc.) and data (including but not limited to data used for analysis, stored data, and presented data, etc.) involved in this application are all information and data authorized by the user or fully authorized by each party, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant country or region.

[0186] As can be understood by those skilled in the art, the implementation of all or part of the flow of the above embodiment method can be completed by instructing relevant hardware by a computer program, and the above computer program can be stored in a non-volatile computer-readable storage medium, and when the computer program is executed, it can include the flow of each embodiment of the above method. Here, any reference to memory, database, or other medium used in each embodiment provided in the present application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM), external high-speed cache memory, etc. By way of explanation and not limitation, the RAM may be of several types, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a distributed database based on a blockchain. The processors involved in the embodiments provided herein may include, but are not limited to, a general-purpose processor, a central processor, a graphic processor, a digital signal processor, a programmable logic device, and a data processing logic device based on quantum computing.

[0187] Each of the technical features of the above embodiments can be combined in any manner, and for the sake of brevity, not all possible combinations of each of the technical features in the above embodiments are described; however, as long as there is no contradiction in the combination of these technical features, any of them should be considered to fall within the scope described in this specification.

[0188] The above examples merely show some embodiments of the present application, and the description is relatively specific and detailed, but it should not be understood as limiting the scope of the present application. However, those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and all of them belong to the scope of protection of the present application. Therefore, the scope of protection of the present application should be in accordance with the scope of the attached claims. [Explanation of symbols]

[0189] 202 Collecting Equipment 204 Server 1400 Image Acquisition Device 1401 Display module 1402 Collection Module

Claims

1. 1. A method of image acquisition performed by an acquisition device, the method comprising: controlling a display element to display the virtual character in response to a virtual character display operation triggered by a target portion of the target object; controlling a character pose of the virtual character according to a relative position of the target portion with respect to the image acquisition element; and triggering the image acquisition element to touchlessly acquire a site image of the target site under a condition that the time during which the character posture of the virtual character maintains a preset posture satisfies a preset acquisition condition.

2. Before the step of touchlessly collecting a site image of the target site by triggering the image collecting element under a condition that a time during which the character posture of the virtual character holds a preset posture satisfies a preset collection condition, the method includes: displaying a motion animation in which the virtual character performs a first motion in a preset posture under a condition in which the relative position of the target portion with respect to the image acquisition element is within a preset position range; 2. The method of claim 1, further comprising: a step of outputting first presentation information, the first presentation information being used to instruct the target object to maintain a relative stationary state between the target portion and the image acquisition element, thereby maintaining the character posture of the virtual character at the preset posture.

3. The relative position includes a spatial height, and the step of controlling a character posture of the virtual character according to the relative position of the target portion with respect to the image acquisition element includes:

3. The method according to claim 1 or 2, further comprising a step of controlling a display element to display a motion animation in which the virtual character performs a second motion under a condition in which a spatial height of the target portion relative to the image collection element changes, wherein a character posture during the process in which the virtual character performs the second motion changes in accordance with the change in the spatial height.

4. The second motion includes a vertical motion, and the step of controlling a display element to display a motion animation of the virtual character performing the second motion under a condition where a spatial height of the target portion relative to the image acquisition element changes includes:

4. The method of claim 3, further comprising: controlling a display element to display that the virtual character controls a virtual tool to move vertically under a condition where a spatial height of the target portion relative to the image collection element changes, wherein a direction of the vertical movement of the virtual tool and a distance between the virtual tool and the virtual character have a corresponding relationship with the spatial height of the target portion relative to the image collection element.

5. The step of controlling a display element to display that the virtual character controls a virtual tool to move vertically under a condition where a spatial height of the target portion relative to the image collection element changes, controlling a display element to display the virtual character controlling the virtual tool to move vertically upward under conditions in which the spatial height of the target portion relative to the image acquisition element becomes increasingly higher; and controlling a display element to display that the virtual character is controlled to move the virtual tool vertically downward under conditions in which the spatial height of the target portion relative to the image collection element becomes increasingly lower.

6. The step of controlling a display element to display that the virtual character controls a virtual tool to move vertically under a condition where a spatial height of the target portion relative to the image collection element changes, determining a current spatial height of the target region relative to the image acquisition element under conditions in which the spatial height of the target region relative to the image acquisition element changes; determining a height difference between the spatial height and a preset height; mapping the height difference to a relative distance between the virtual tool and the virtual character based on a predefined distance mapping relationship, where the greater the height difference, the greater the relative distance; and controlling a display element to display the virtual character manipulating the virtual tool to cause vertical movement of the virtual tool in response to changes in spatial height.

7. A plurality of distance sensors are disposed about the imaging element, and the step of determining a current spatial height of the target region relative to the imaging element comprises: obtaining a plurality of effective distances corresponding to key regions of the target region by the plurality of distance sensors under a condition in which the target region is within a collection range of the image collection element; and determining a current spatial height of the target region relative to the imaging element based on the plurality of effective distances.

8. The method comprises:

4. The method of claim 3, further comprising: a step of outputting second presentation information when controlling a display element to display a motion animation in which the virtual character performs a second motion under a situation in which the spatial height of the target portion relative to the image collection element is not within a preset height range, wherein the second presentation information is used to instruct the target object to adjust the spatial height of the target portion relative to the image collection element to position the spatial height of the target portion relative to the image collection element within a preset height range.

9. The relative position includes a horizontal position, and the step of controlling a character posture of the virtual character according to the relative position of the target portion with respect to the image acquisition element includes:

3. The method according to claim 1 or 2, further comprising a step of controlling a display element to display a motion animation in which the virtual character performs a third motion under a condition in which the horizontal position of the target portion relative to the image collection element changes, wherein a character posture during the process in which the virtual character performs the third motion changes with the change in the horizontal position.

10. The step of controlling a display device to display a motion animation of the virtual character performing a third motion under a condition where a horizontal position of the target portion relative to the image collecting device changes, 10. The method of claim 9, further comprising: controlling a display element to display that the virtual character controls a virtual tool to tilt under a condition in which a horizontal position of the target portion relative to the image collection element changes, wherein the tilt direction of the virtual tool is in the same direction as an offset direction of the target portion, and the offset direction is in a direction corresponding to the horizontal position of the target portion relative to the image collection element.

11. The method comprises:

10. The method of claim 9, further comprising: a step of outputting third presentation information when controlling a display element to display a motion animation in which the virtual character performs a third motion under a situation in which the horizontal position of the target portion relative to the image collection element is not within a preset horizontal range, the third presentation information being used to instruct the target object to adjust the horizontal position of the target portion relative to the image collection element.

12. The relative position includes a tilt attitude, and the step of controlling a character attitude of the virtual character according to the relative position of the target portion with respect to the image acquisition element includes: The method according to claim 1 or 2, further comprising a step of controlling a display element to display a motion animation in which the virtual character performs a fourth motion under a condition in which the tilt attitude of the target portion relative to the image collection element changes, wherein the character attitude during the process in which the virtual character performs the fourth motion changes in accordance with the change in the tilt attitude.

13. At least three distance sensors are disposed around the image acquisition element, and the tilt attitude includes a tilt angle and a tilt direction, and the method further comprises: obtaining at least three effective distances corresponding to key regions of the target region by the distance sensor when the target region is within a collection range of the image collection element; constructing a virtual plane of the key region based on the at least three effective distances; 13. The method of claim 12, further comprising: determining a tilt angle and a tilt direction of the key region based on a relative angle between the virtual plane and a standard plane.

14. Prior to the step of controlling a display element to display a virtual character in response to a virtual character display operation triggered by a target portion of a target object, the method further comprises: performing target detection and liveness detection for targets appearing within a collection range of the image collection element; 2. The method of claim 1, further comprising: determining that the target portion of the target object triggered an authentication operation under circumstances in which the target is detected to be a target portion of a target object and liveness is detected.

15. The method comprises: The method of claim 1, further comprising a step of transmitting a collected partial image of the target portion to a server, the partial image being used to instruct the server to associate and store the partial image with the target object, thereby performing biometric authentication on the target object based on the associated and stored partial image when the target portion of the target object triggers an authentication operation.

16. The method comprises: A step of transmitting the collected part image of the target part to a server, the part image being used for the server to perform biometric authentication on the part image and instruct the server to execute resource transfer under a condition where the biometric authentication is passed; The method of claim 1 , further comprising: receiving and displaying a resource transfer result fed back from the server under a condition that biometric authentication is passed.

17. 13. An image acquisition device configured to perform the method of claim 1.

18. A computing device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the method of claim 1 when executing the computer program.

19. A computer program which, when executed by a processor, implements the method of claim 1.

Citation Information

Patent Citations

  • Face swiping payment prompting method, device and appartus

    CN110175514A

  • Figure identification device and method

    JP2004118627A

  • Information processor

    JP2015090662A

  • Controlling a virtual object based on user posture changes

    JP2021519996A

  • Electronic device, control method of electronic device, and control program of electronic device

    JP2022052451A