Image acquisition method, device, computer device and storage medium

By using virtual characters in biometric authentication to reflect the position changes of the target part relative to the image acquisition element, the inefficiency problem of users frequently adjusting positions to complete acquisition is solved, and more efficient and accurate image acquisition is achieved.

CN117523684BActive Publication Date: 2025-06-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210893900.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2025-06-13
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

During the biological authentication process, users need to frequently adjust the location of the parts to be collected to ensure successful acquisition, resulting in inaccurate acquisition efficiency.

Method used

By responding to the air acquisition operation triggered by the target part of the target object, a virtual character is displayed, and its character posture is related to the relative position of the image acquisition element relative to the target part. The posture of the virtual character changes with the relative position. When the duration of the posture maintaining the preset posture meets the preset conditions, image acquisition is triggered.

Benefits of technology

This improves the efficiency of image acquisition, reduces the number of times the user adjusts the position, and ensures the accuracy of the image acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117523684B_ABST
    Figure CN117523684B_ABST
Patent Text Reader

Abstract

The present application relates to an image acquisition method, device, computer device, storage medium, and computer program product. The method includes: in response to an air acquisition operation triggered by a target part of a target object, displaying a virtual character, where a character pose of the virtual character is related to a relative position of the target part with respect to an image acquisition element; when the relative position of the target part with respect to the image acquisition element changes, the character pose of the currently displayed virtual character changes following the change in the relative position; and when a duration for which the character pose of the virtual character maintains a preset pose meets a preset acquisition condition, triggering the image acquisition element to acquire a part image of the target part. Using this method can improve the acquisition efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of image recognition technology, the method of using images for biometric authentication has been widely applied in various fields. Biometric authentication includes face recognition authentication, palmprint recognition authentication, iris recognition authentication, etc.

[0003] During the process of biometric authentication, the user needs to continuously adjust the position of the part to be collected so that the part to be collected is in a suitable position. Taking palmprint recognition as an example, the premise of palmprint recognition is to collect palmprints. Currently, the commonly used method for collecting palmprints is contact collection. In the contact collection method of palmprints, the user needs to place the hand on the collection device and adjust the position of the hand so that the hand is within the collection area specified by the collection device for the collection device to capture an image of the palm.

[0004] However, the user needs to continuously move the palm to place it within the collection area specified by the collection device, and the user can only succeed in collection after multiple repeated placements and trials, resulting in low collection efficiency. Summary of the Invention

[0005] Based on this, in view of the above technical problems, it is necessary to provide an image acquisition method, device, computer device, computer-readable storage medium, and computer program product that can improve the image acquisition efficiency.

[0006] On the one hand, the present application provides an image acquisition method. The method includes:

[0007] In response to an air acquisition operation triggered by a target part of a target object, display a virtual character, where the character pose of the virtual character is related to the relative position of the target part with respect to the image acquisition element;

[0008] When the relative position of the target part with respect to the image acquisition element changes, the character pose of the currently displayed virtual character changes following the change in the relative position;

[0009] When the duration for which the character pose of the virtual character maintains a preset pose meets a preset acquisition condition, trigger the image acquisition element to acquire a part image of the target part.

[0010] On the other hand, the present application also provides an image acquisition device. The device includes:

[0011] A display module, configured to display a virtual character in response to an air acquisition operation triggered by a target part of a target object, wherein a character pose of the virtual character is related to a relative position of the target part with respect to an image acquisition element;

[0012] The display module is further configured to, when the relative position of the target part with respect to the image acquisition element changes, change the character pose of the currently displayed virtual character following the change of the relative position;

[0013] An acquisition module, configured to trigger the image acquisition element to acquire a part image of the target part when a duration for which the character pose of the virtual character maintains a preset pose meets a preset acquisition condition.

[0014] In one embodiment, the above device further includes a first output module, configured to, when the relative position of the target part with respect to the image acquisition element is within a preset position range, display an animation of a first movement of the virtual character in a preset pose; and output a first prompt message, where the first prompt message is used to instruct the target object to keep the relative static state between the target part and the image acquisition element, so that the character pose of the virtual character maintains the preset pose.

[0015] In one embodiment, the relative position includes a spatial height and a horizontal position, and the display module is further configured to, when the spatial height of the target part with respect to the image acquisition element changes, display an animation of a second movement of the virtual character, where the character pose of the virtual character during the second movement changes following the change of the spatial height; and when the horizontal position of the target part with respect to the image acquisition element changes, display an animation of a third movement of the virtual character, where the character pose of the virtual character during the third movement changes following the change of the horizontal position, and the third movement is different from the second movement.

[0016] In one embodiment, the display module is further configured to, when the spatial height of the target part with respect to the image acquisition element changes, display the virtual character controlling a virtual prop to move vertically, where a direction of the vertical movement of the virtual prop and a distance between the virtual prop and the virtual character have a corresponding relationship with the spatial height of the target part with respect to the image acquisition element.

[0017] In one embodiment, the display module is further configured to display the virtual character controlling the virtual prop to move vertically upward when the spatial height of the target part relative to the image acquisition element is increasing; and display the virtual character controlling the virtual prop to move vertically downward when the spatial height of the target part relative to the image acquisition element is decreasing.

[0018] In one embodiment, the display module is further configured to, when the spatial height of the target part relative to the image acquisition element changes, determine the current spatial height of the target part relative to the image acquisition element; determine the height difference between the spatial height and a preset height; based on a pre-set distance mapping relationship, map the height difference to the relative distance between the virtual prop and the virtual character, where the greater the height difference, the greater the relative distance; and control the virtual character to operate the virtual prop to perform a vertical movement according to the relative position.

[0019] In one embodiment, a plurality of distance sensors are deployed around the image acquisition element, and the display module is further configured to, when the target part is within the acquisition range of the image acquisition element, obtain a plurality of effective distances corresponding to the key area of the target part through the plurality of distance sensors; and determine the current spatial height of the target part relative to the image acquisition element based on the plurality of effective distances.

[0020] In one embodiment, the display module is further configured to display the virtual character controlling the virtual prop to perform an inclined movement when the horizontal position of the target part relative to the image acquisition element changes, where the inclination direction of the virtual prop is the same as the offset direction of the target part, and the offset direction is the direction corresponding to the horizontal position of the target part relative to the image acquisition element.

[0021] In one embodiment, the above device further includes a second output module, configured to output a second prompt message when the spatial height of the target part relative to the image acquisition element is not within the preset height range and the virtual character is displaying an animation of a second movement, where the second prompt message is used to instruct the target object to adjust the spatial height of the target part relative to the image acquisition element; and output a third prompt message when the horizontal position of the target part relative to the image acquisition element is not within the preset horizontal range and the virtual character is displaying an animation of a third movement, where the third prompt message is used to instruct the target object to adjust the horizontal position of the target part relative to the image acquisition element.

[0022] In one embodiment, the display module is further configured to display a motion animation of the virtual character performing a fourth motion when the tilt posture of the target part relative to the image acquisition element changes, and the character posture of the virtual character during the fourth motion changes following the change of the tilt posture.

[0023] In one embodiment, at least three distance sensors are deployed around the image acquisition element. The tilt posture includes a tilt angle and a tilt direction. The apparatus further includes a determination module, configured to, when the target part is within the acquisition range of the image acquisition element, obtain at least three effective distances corresponding to the key area of the target part through the distance sensors; construct a virtual plane of the key area based on the at least three effective distances; and determine the tilt angle and tilt direction of the key area based on the relative angle between the virtual plane and the standard plane.

[0024] In one embodiment, the apparatus further includes a detection module, configured to perform target detection and liveness detection on a target that appears within the acquisition range of the image acquisition element; and determine that the target part of the target object triggers an authentication operation when it is detected that the target is the target part of the target object and liveness is detected.

[0025] In one embodiment, the apparatus further includes an upload module, configured to send the part image of the target part collected to a server, where the part image is used to instruct the server to associate and store the part image with the target object, so as to perform biometric authentication on the target object based on the associated and stored part image when the target part of the target object triggers an authentication operation.

[0026] In one embodiment, the apparatus further includes a sending module, configured to send the part image of the target part collected to a server, where the part image is used to instruct the server to perform biometric authentication on the part image and perform resource transfer when the biometric authentication is passed; and receive and display the resource transfer result feedback by the server when the biometric authentication is passed.

[0027] On the other hand, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the steps of the above image acquisition method are implemented.

[0028] On the other hand, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above image acquisition method are implemented.

[0029] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program which, when executed by a processor, implements the steps of the above image acquisition method.

[0030] The above image acquisition method, device, computer device, storage medium and computer program product perform image acquisition in a non-contact manner, breaking the rigid requirements for hardware infrastructure. By responding to a non-contact acquisition operation triggered by a target part of a target object and visually presenting the relative position of the target part with respect to the image acquisition element through the pose of a virtual character, and reflecting the change of the target part with respect to the standard pose through the change of the pose of the virtual character, it is more vivid and vivid. When the relative position of the target part with respect to the image acquisition element changes, the pose of the currently displayed virtual character changes following the change of the relative position, enabling the user to very intuitively and easily know whether the current state of the target part is standard. And when the duration for which the pose of the virtual character maintains a preset pose meets a preset acquisition condition, the image acquisition element is triggered to perform acquisition, greatly improving the acquisition efficiency and also ensuring the accuracy of the acquired image. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of the current palm brushing acquisition method in an embodiment;

[0032] Figure 2 It is an application environment diagram of the image acquisition method in an embodiment;

[0033] Figure 3 It is a flowchart of the image acquisition method in an embodiment;

[0034] Figure 4A It is a schematic diagram of the pose of a virtual character in an embodiment;

[0035] Figure 4B It is a schematic diagram of the pose of a virtual character in another embodiment;

[0036] Figure 5A It is a schematic diagram of a virtual character in an abnormal pose in an embodiment;

[0037] Figure 5B It is a schematic diagram of a virtual character in an abnormal pose in another embodiment;

[0038] Figure 6A It is a schematic diagram of the setting of a distance sensor in an embodiment;

[0039] Figure 6B It is a schematic diagram of the setting of a distance sensor in another embodiment;

[0040] Figure 7A Schematic diagram of a virtual character in an abnormal posture in another embodiment;

[0041] Figure 7B Schematic diagram of a virtual character in an abnormal posture in yet another embodiment;

[0042] Figure 8 Schematic diagram of an interface when air operation is not enabled in an embodiment;

[0043] Figure 9 Introduction interface after enabling air operation in an embodiment;

[0044] Figure 10A Schematic diagram of a scene when the palm is in a proper position in an embodiment;

[0045] Figure 10B Schematic diagram of a scene when the palm is lower in an embodiment;

[0046] Figure 10C Schematic diagram of a scene when the palm is higher in an embodiment;

[0047] Figure 11A Schematic diagram of an interface when acquisition fails in an embodiment;

[0048] Figure 11B Schematic diagram of an interface when acquisition is successful in an embodiment;

[0049] Figure 12 Schematic diagram of a scene process in an embodiment;

[0050] Figure 13 Schematic diagram of an algorithm recognition process in an embodiment;

[0051] Figure 14 Structural block diagram of an image acquisition device in an embodiment;

[0052] Figure 15 Internal structure diagram of a computer device in an embodiment. Detailed implementation manners

[0053] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] The current method of palm brushing acquisition is as Figure 1As shown, it requires the user to continuously try and adjust the placement position of the hand, resulting in low collection efficiency. Moreover, the contact-based palm brushing collection method requires specialized collection equipment. For example, a palm vein sensor needs to be set in the collection equipment to sense the veins under the palm skin. This method has certain requirements for hardware performance.

[0055] In view of this, the embodiments of the present application provide an image collection method, which abandons the contact-based palm brushing collection method and uses a non-contact palm brushing collection method to collect palm prints, breaking the rigid requirements for hardware infrastructure. In the non-contact palm brushing collection method, by collecting images of the palm prints of the hand and visualizing the tilt of the palm relative to the standard posture through the posture of the virtual character in the display interface, it can clearly and simply feedback the posture of the user's palm, help the user adjust, thus greatly improving the collection and payment completion rate, enhancing user convenience, and facilitating the user to quickly collect.

[0056] The image collection method provided by the embodiments of the present application can be applied to an application environment as Figure 2 shown. Among them, the collection device 202 communicates with the server 204 through the network. The data storage system can store the data that the server 204 needs to process. The data storage system can be integrated on the server 204, or placed in the cloud or on other servers.

[0057] In one embodiment, the target object triggers a non-contact collection operation by placing the target part within the visible range of the image collection element, so as to display a virtual character through the display element. When the target object changes the relative position of its target part relative to the image collection element, the posture of the virtual character also changes accordingly. The target object can adjust the relative position of its target part relative to the image collection element according to the displayed posture of the virtual character, so that the posture of the virtual character is a preset posture. When the posture of the virtual character maintains the preset posture for a certain period of time, the image collection element is triggered to collect the part image of the target part.

[0058] Among them, the collection device 202 is used to collect the key area image of the target part of the target object. The collection device 202 at least includes an image collection element, and the image collection element is used to capture objects within the visible range. Among them, the visible range of the image collection element is determined based on the field of view angle. In one embodiment, the image collection element is, for example, a camera, a video camera, a camera module integrated with an optical system or a CCD chip, or a camera module integrated with an optical system and a CMOS chip, etc. Among them, the image collection element can be integrated in the collection device 202, or can be set independently of the collection device 202. For example, the image collection element can be externally connected to the collection device 202 and communicate through wired or wireless means.

[0059] In one embodiment, the acquisition device 202 may further include a display element. The display element is used to provide an interface for the target object to view the virtual character. In one embodiment, the display element is, for example, a liquid crystal display screen, a projector, or the like. Among them, the display element may be integrated in the acquisition device 202 or may be provided independently of the acquisition device 202. For example, the display element may be externally connected to the acquisition device 202 and communicatively connected by wired or wireless means.

[0060] In a specific example, the acquisition device 202 may further be, but is not limited to, various desktop computers, laptop computers, smartphones, tablet computers, Internet of Things devices, or portable wearable devices. The Internet of Things devices may be smart speakers, smart TVs, smart air conditioners, or in-vehicle intelligent devices, etc. The portable wearable devices may be smart watches, smart bracelets, or head-mounted devices, etc. In one embodiment, the acquisition device 202 may further be an electronic device with a payment function.

[0061] Among them, the server 204 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be a cloud server that provides 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.

[0062] In some embodiments, the acquisition device 202 may be loaded with an APP (Application) application program or an application program with a virtual character display function, including traditional application programs that need to be installed separately, and small program applications that can be used without downloading and installation. The application program may be an application program with one or more of social functions, instant messaging functions, or payment functions, etc.

[0063] In one embodiment, as Figure 3 shown, an image acquisition method is provided. This method can be executed independently by the acquisition device or jointly executed by the acquisition device and the server. The following takes the method applied to the Figure 2 acquisition device as an example for description, including the following steps:

[0064] Step S302, in response to an air acquisition operation triggered by a target part of the target object, display a virtual character, and the character posture of the virtual character is related to the relative position of the target part with respect to the image acquisition element.

[0065] Among them, the target object is, for example, a person, an animal, etc. The target part includes, but is not limited to, one or more of the face, palm, or finger, etc.

[0066] Among them, the non-contact acquisition operation is an operation in which a target object triggers through its target part to perform image acquisition on the target part of the target object in a non-contact acquisition manner. For example, the acquired image can be uploaded to a server for storage as a biometric authentication template corresponding to the target object. Subsequently, when the target object performs biometric authentication, the identity legitimacy of the target object can be determined by comparing the real-time acquired image with the pre-acquired and stored biometric authentication template.

[0067] In one embodiment, when an image acquisition element detects a target part within its visible range, that is, when the target part is within the visible range of the image acquisition element, the non-contact acquisition operation can be triggered. For example, the image acquisition element can be in a working or sleeping state. After the image acquisition element is awakened to start image acquisition, the image acquisition element can detect images of various objects; until the image acquisition element detects the target part of the target object, it is determined that the target part triggers the non-contact acquisition operation. In other words, although the image acquisition element detects images of other objects, the non-contact acquisition operation will not be triggered, thus ensuring that only the target object triggers through the target part and improving the security of the acquisition process.

[0068] In one embodiment, in order to avoid false triggering, after the image acquisition element detects the target part, it is determined that the target part triggers the non-contact acquisition operation only when the duration for which the target part stays within the visible range of the image acquisition element is not less than a preset duration. That is, when the image acquisition element continuously detects images of the target part for the preset duration, it is determined that the target part triggers the non-contact acquisition operation. Thereby, the phenomenon of false triggering caused by the target part staying within the visible range briefly is avoided, ensuring that the target object has the intention of image acquisition.

[0069] To meet the quality requirements of the images acquired by the image acquisition element, it is usually necessary for the target part to maintain a standard posture for a certain duration, during which the image acquisition element acquires part images of the target part. When the target part deviates from the standard posture, the acquired images may be inaccurate. Therefore, by changing the posture of the virtual character, reflecting the change of the target part relative to the standard posture, it is possible to very intuitively and understandably enable the user to know whether the current state of the target part is standard.

[0070] Among them, the virtual character is a concrete display of the target part of the target object in the interface displayed by the display element. The virtual character can be an animal, a virtual little person, or an anthropomorphic image, etc. The posture of the virtual character is used to represent the state of the target part.

[0071] In one embodiment, the character pose of a virtual character can be represented by the movement of the virtual character itself. For example, the character pose of a virtual character can be characterized by one or more of limb movements (such as the head, limbs, or torso, etc.), movement states (such as stationary or moving, etc.), movement types (squatting, walking, turning in circles, or running, etc.), or movement speeds (such as stationary, slow, or fast, etc.).

[0072] In another embodiment, the character pose of a virtual character can also be represented by the state of a virtual prop controlled by the virtual character. The state of the virtual prop includes, but is not limited to, one or more of the degree of virtualization, color, or movement state, etc. For example, the virtual character controls the virtual prop to move relative to the virtual character itself, and the movement state of the virtual prop reflects the state of the target part. Or, the virtual character controls the appearance of the virtual prop to change, and the change situation or change speed of the appearance of the virtual prop reflects the state of the target part. Also, for example, the degree of virtualization (i.e., transparency) of the virtual prop is used to reflect the state of the target part. When the target part is far from the image acquisition element, the degree of virtualization of the virtual prop is higher.

[0073] In yet another embodiment, the character pose of a virtual character can also be comprehensively represented by the movement of the virtual character itself and the state of the virtual prop it controls. For example, when the movement state of the virtual character changes, the state of the virtual prop also changes simultaneously, comprehensively reflecting the change situation of the state of the target part.

[0074] Step S304, in the case where the relative position of the target part with respect to the image acquisition element changes, the character pose of the currently displayed virtual character changes following the change in the relative position.

[0075] In order to intuitively and real-time feedback the current state of the target part, the character pose of the virtual character should change with the change of the state of the target part, so as to give the target object an intuitive and clear perception, that is, to have a clear understanding of the relative position of its own target part with respect to the image acquisition element, thereby being able to quickly and directly guide the target object to adjust the state of the target part, so as to facilitate the image acquisition element to more quickly acquire a suitable part image.

[0076] Specifically, when the target object controls the movement of the target part, the relative position of the target part with respect to the image acquisition element changes. Correspondingly, the character pose of the currently displayed virtual character also changes accordingly. Among them, the relative position of the target part with respect to the image acquisition element includes, but is not limited to, one or more of the spatial height of the target part with respect to the image acquisition element, the horizontal position of the target part with respect to the image acquisition element, or the tilt angle of the target part with respect to the image acquisition element.

[0077] It should be noted that the horizontal position is the position of the target part in a plane parallel to the image acquisition element. The horizontal position reflects the orientation of the target part relative to the image acquisition element. When the target part is facing the image acquisition element directly, the horizontal position of the target part is the planar position in the plane where it is located. When there is a certain inclination angle of the target part relative to the image acquisition element, the horizontal position of the target part is the position of its projection in a plane parallel to the image acquisition element.

[0078] In one embodiment, when the relative position of the target part relative to the image acquisition element changes, for example, when the target part is too high or too low relative to the image acquisition element, the virtual character can raise or lower the upper limb, stand up or squat down, etc., and reflect the height of the target part through changes in limb movements. Also, for example, the virtual character can represent the spatial height of the target part relative to the image acquisition element through changes in the movement speed. For example, both being too high or too low are represented by movement, and when the height is appropriate, it remains stationary, etc.

[0079] In one embodiment, when the relative position of the target part relative to the image acquisition element changes, for example, when the target part is too high or too low relative to the image acquisition element, the virtual character can control the virtual prop to move up and down, thereby intuitively reflecting the change in height. Also, when the target part is inclined relative to the image acquisition element, the virtual character can control the virtual prop to be inclined accordingly, and there is a certain mapping relationship between the inclination angle of the virtual prop and the inclination angle of the target part relative to the image acquisition element, thereby intuitively reflecting the inclination state of the target part.

[0080] To avoid the problem of inconvenient operation caused by being too sensitive, in one embodiment, there is an allowable range for the change amount of the relative position of the target part relative to the image acquisition element. When the change amount of the relative position is within this allowable range, it can be regarded that the relative position of the target part relative to the image acquisition element remains unchanged. Correspondingly, the character posture of the virtual character displayed by the display element will not change.

[0081] Also, for example, in another embodiment, when the change amount of the relative position is within this allowable range, although the relative position of the target part relative to the image acquisition element has changed, the character posture of the virtual character displayed by the display element will not change.

[0082] Step S306, when the duration for which the character posture of the virtual character maintains a preset posture meets the preset acquisition condition, trigger the image acquisition element to acquire the part image of the target part.

[0083] In the scenario of remote acquisition operation, since the relative position of the target part with respect to the image acquisition component is uncontrollable and may change at any time, and the acquisition process requires the target part to be in the correct position or remain in the correct position for a certain period of time. For example, it is required that the spatial height of the target part from the image acquisition component is appropriate. Too high or too low will result in the captured part image being blurred, unclear or incomplete. Another example is that the target part needs to be within the acquisition range of the image acquisition component. Too far offset will result in the captured part image being incomplete or distorted, ultimately leading to inaccurate image acquisition results. Among them, the acquisition range is within the visible range of the image acquisition component.

[0084] Therefore, in order to guide the target object to adjust the relative position of its target part with respect to the image acquisition component so as to be able to give the target object direct and clear feedback, a virtual character is preset with a standard character pose, that is, a preset pose. When the target object controls the target part to be in a suitable state, the virtual character is shown in the preset pose. In one embodiment, when the character pose of the virtual character includes the state of a virtual prop, the virtual prop is also preset with a standard prop pose accordingly.

[0085] For example, the preset pose of the virtual character is that the virtual character runs at a constant speed on a fixed track. When the target part is too high or too low from the image acquisition component, the virtual character speed of the virtual character will become slower or faster; when the horizontal position of the target part from the image acquisition component is to the left or right (up or down), the position of the virtual character relative to the track will shift (for example, running to the left or right); when the target part is tilted, the virtual character itself will also tilt accordingly, etc.

[0086] Another example is that the preset pose of the virtual character is that the virtual character controls the virtual prop to be in a stable state of moving forward at a constant speed. When the target part is too high or too low from the image acquisition component, the virtual character controls the virtual prop to move up or down; when the horizontal position of the target part from the image acquisition component is to the left or right (up or down), the virtual character controls the virtual prop to tilt left or right, etc.

[0087] Among them, the preset acquisition condition means that the duration for which the character pose of the virtual character maintains the preset pose exceeds the threshold. In other words, when the target part is in a suitable state for acquisition, the character pose of the virtual character is shown as the preset pose to prompt the target object to keep the target part still; when the duration of the target part in this state exceeds the threshold, the preset acquisition condition is met, and the acquisition device triggers the image acquisition component to acquire the part image of the target part.

[0088] In one embodiment, when the virtual character's character posture maintains a preset posture for a period of time that meets a preset acquisition condition, the acquisition device acquires multiple frames of part images of the target part through an image acquisition element to improve the accuracy and completeness of image acquisition.

[0089] In the above-mentioned image acquisition method, image acquisition is performed in a remote acquisition manner, breaking the rigid requirements for hardware infrastructure. By responding to the remote acquisition operation triggered by the target part of the target object, and in a visual way, the relative position of the target part relative to the image acquisition element is concretely displayed through the character posture of the virtual character. The change of the character posture of the virtual character reflects the change of the target part relative to the standard posture, which is more vivid and vivid. When the relative position of the target part relative to the image acquisition element changes, the character posture of the currently displayed virtual character changes with the change of the relative position, which can let the user know whether the current state of the target part is standard in a very intuitive and easy-to-understand way. When the length of time that the character posture of the virtual character maintains the preset posture meets the preset acquisition conditions, the image acquisition element is triggered for acquisition, which greatly improves the acquisition efficiency and can also ensure the accuracy of the acquired image.

[0090] In the embodiment of the present application, an immersive acquisition experience is provided to the user through a mini-game, and the image acquisition of the target part can be completed efficiently without the user's perception, which provides a higher sense of experience. Throughout the process, the virtual character is in a dynamic posture (stillness can also be regarded as a special dynamic posture, or the virtual character can also move through body movements while keeping the whole still), and has strong interactivity with the user, which can improve the fun of the image acquisition process and make the user unaware of the image acquisition process of the image acquisition element.

[0091] In one embodiment, the above method also includes: sending the collected part image of the target part to a server, the part image is used to instruct the server to store the part image in association with the target object, so as to perform biometric authentication on the target object based on the associated stored part image when the target part of the target object triggers an authentication operation.

[0092] Specifically, after the acquisition device acquires one or more frames of part images of the target part through the image acquisition element, the one or more frames of part images are sent to the server, and the server associates and stores the part images with the target object. Exemplarily, the server creates a storage space corresponding to each target object, and uses the identification information of the target object (such as the created account, nickname, etc.) as an index for easy search. Each target object stores its own part image in its own storage space.

[0093] In subsequent processes such as biometric authentication, the server can compare the part image collected in real time with the part image pre-stored to determine the legitimacy of the target object, so as to obtain the biometric authentication result.

[0094] In the above embodiment, by associatively storing the collected part image with the target object, the stored part image can be used as the basis for authenticating or biometrically authenticating the target object in various subsequent scenarios. In the case where the part image collected in real time subsequently does not match the part image of the target object pre-stored, or in the case where the part image associated with the target object cannot be found, the verification of the target object fails, thereby ensuring the privacy and security of the target object.

[0095] To further ensure the privacy and security of the target object and prevent others from impersonating the target object to tamper with the biometric information of the target object, in one embodiment, before displaying the virtual character in response to the air collection operation triggered by the target part of the target object, the above method further includes: performing target detection and liveness detection on the target that appears within the collection range of the image collection element; in the case where the detected target is the target part of the target object and liveness is detected, it is determined that the target part of the target object has triggered an authentication operation.

[0096] Specifically, the collection device performs target detection on the target that appears within the collection range of the image collection element to ensure that the object triggering the air collection operation is the target part of the target object, rather than other objects or other parts of the target object. At the same time, the collection device performs liveness detection on the target that appears within the collection range of the image collection element to determine that the currently detected target part has vital signs, rather than a photo, statue, etc.

[0097] Exemplarily, the collection device is further provided with an infrared sensor to detect the target that appears within the collection range of the image collection element through the infrared sensor and detect whether there are vein features. In the case where vein features are detected, the collection device determines that the currently monitored target passes the liveness detection. Conversely, in the case where vein features are not detected, the collection device determines that the currently monitored target fails the liveness detection, and thus can reject the execution of the air collection operation.

[0098] In the above embodiment, by performing target detection and liveness detection before determining the trigger of the air collection operation, the privacy and security of the target object can be protected on the premise of secure biometric authentication.

[0099] Continuing from the previous step, when the target part is in a state suitable for acquisition, it is necessary to prompt the target object to keep the target part still so that the image acquisition component can acquire an image of the target part. To this end, the above method further includes: when the relative position of the target part with respect to the image acquisition component is within a preset position range, displaying an animation of a virtual character performing a first movement in a preset posture; outputting a first prompt message for instructing the target object to keep the relative static state between the target part and the image acquisition component, so that the character posture of the virtual character remains the preset posture.

[0100] Among them, the relative static state means that the spatial height of the target part with respect to the image acquisition component remains unchanged, or when the degree of change in the spatial height of the target part with respect to the image acquisition component is within an allowable range, it can also be regarded as the target part and the image acquisition component maintaining a relative static state.

[0101] Among them, the first prompt message is used to prompt the target object to keep the target part in the current state unchanged. In an actual scenario, when the target object keeps the current state within a certain range, it can be regarded as the target object keeping the target part in the current state unchanged. The first movement is the standard movement of the virtual character when the target part satisfies the relative static state, and the movement types of the first movement include but are not limited to one or more of walking, running, turning in circles, flying, or standing still, etc.

[0102] Specifically, when the relative position of the target part with respect to the image acquisition component is within a preset position range, the acquisition device is triggered to output a first prompt message to prompt the target object to keep the current state of the target part, so as to control the relative static state between the target part and the image acquisition component. Correspondingly, during the period when the target object controls the relative static state between the target part and the image acquisition component, the character posture of the virtual character also remains the preset posture, thus providing a vivid state feedback.

[0103] Among them, the acquisition device can display the first prompt message on the display interface through a display component in the form of text, pattern, or animation, etc. For another example, the acquisition device can display the first prompt message in the form of voice or music through a sound playback component such as a speaker. Among them, the sound playback component can be integrated in the acquisition device or set independently of the acquisition device. For example, the sound playback component is connected to the acquisition device in an external connection manner.

[0104] For example, when the relative position of the target part with respect to the image acquisition element is within a preset position range, the acquisition device displays, through a display element, an animation of a virtual character running at a constant speed to prompt that the target part is within the preset position range. At the same time, the acquisition device uses a slogan on the display interface as the first prompt message to prompt the target object to keep the relative static state between the target part and the image acquisition element.

[0105] For another example, when the relative position of the target part with respect to the image acquisition element is within a preset position range, the acquisition device displays, through a display element, an animation of a virtual character advancing at a constant speed on a wire while holding a pole to prompt that the target part is within the preset position range.

[0106] Exemplarily, when the spatial height of the target part with respect to the image acquisition element changes, the acquisition device displays, through a display element, an interface as shown in Figure 4A where the virtual character (little person) controls the virtual prop (pole) to maintain a normal height and is in a normal forward walking state. Correspondingly, the display element displays an animation of the virtual character controlling the virtual prop to maintain a horizontal state and walking forward normally. When the target part remains within the preset height range for a period of time, the display element can also display an interface as shown in Figure 4B It can be seen that the virtual character controls the virtual prop to maintain a horizontal state and walks forward normally for a certain distance.

[0107] At the same time, taking the palm as an example, the display element can also display the first prompt message "Keep the palm balanced" in Figure 4A and Figure 4B to prompt the target object to keep the relative static state between the palm and the image acquisition element.

[0108] In the above embodiments, by outputting the first prompt message and combining the animation of the first movement of the virtual character, the state of the target part can be fed back to the target object in a timely and clear manner to meet the preset acquisition conditions, avoiding further movement of the target part, thereby improving the completion rate and the acquisition efficiency.

[0109] When the relative position of the target part with respect to the image acquisition element changes, the pose of the currently displayed virtual character changes following the change in the relative position. On the one hand, the virtual character can reflect whether the height of the target part with respect to the image acquisition element is too high or too low compared to the standard height through an animation of a certain movement.

[0110] Meanwhile, in order to distinguish from the first movement that meets the preset acquisition conditions, in one embodiment, when the relative position of the target part with respect to the image acquisition element changes, the character posture of the currently displayed virtual character changes following the change in the relative position, including: when the spatial height of the target part with respect to the image acquisition element changes, a motion animation of the virtual character performing a second movement is displayed, and the character posture of the virtual character during the second movement changes following the change in the spatial height.

[0111] Among them, the second movement is the movement of the virtual character when the target part does not satisfy the relative static state, and the types of the second movement include, but are not limited to, one or more of walking, running, squatting, turning in circles, flying, or standing still, etc.

[0112] Specifically, when the spatial height of the target part with respect to the image acquisition element changes, the acquisition device displays, through the display element, a motion animation of the virtual character performing a second movement, and during the process of the virtual character performing the second movement, when the spatial height changes, the character posture of the virtual character also changes accordingly. In other words, by the virtual character performing the second movement, the spatial height of the target part in the actual physical space is reflected. When the spatial height changes, the virtual character still performs the second movement, but the specific character postures during the second movement are different. For example, it can be that its own posture changes, or the posture of the virtual prop controlled by the virtual character changes, or both the posture of the virtual character and the virtual prop it controls change.

[0113] Exemplarily, when the spatial height of the target part with respect to the image acquisition element is too low, as Figure 5A shown, the virtual character can be displayed in an unstable walking posture, such as a change in walking speed, etc. At the same time, the virtual character controls the virtual prop to be at a relatively low height with respect to itself.

[0114] When the spatial height of the target part with respect to the image acquisition element is too high, as Figure 5B shown, the virtual character can be displayed in an unstable walking posture. At the same time, the virtual character controls the virtual prop to be at a relatively high height with respect to itself.

[0115] When the spatial height of the target part with respect to the image acquisition element is within the preset height range, as Figure 4A and Figure 4B shown, the virtual character only shows a normal forward walking state. At the same time, the virtual character controls the virtual prop to be at a normal height with respect to itself.

[0116] In the above embodiments, the change in the spatial height of the target part is reflected by the motion animation of the virtual character moving, which can vividly prompt the situation of the current spatial height of the target part of the target object, facilitating the target object to adjust the spatial height of the target position and improving the acquisition efficiency.

[0117] In order to give a clearer prompt to prompt the target object to adjust the spatial height of the target part, in one embodiment, when the spatial height of the target part relative to the image acquisition element is not within the preset height range, when displaying the motion animation of the virtual character performing the second motion, a second prompt message is output. Wherein, the second prompt message is used to instruct the target object to adjust the spatial height of the target part relative to the image acquisition element.

[0118] Specifically, when the spatial height of the target part relative to the image acquisition element is not within the preset height range, the acquisition device can display the second prompt message in the display interface through a display element in the form of text, pattern, or animation, etc. For another example, the acquisition device can display the second prompt message in the form of voice or music through a sound playback element such as a speaker.

[0119] Exemplarily, for another example Figure 5A As shown, taking the target part as the palm, when the spatial height of the target part relative to the image acquisition element is too low, the second prompt message "The palm is slightly lower and walking is not very stable" is also displayed in the display interface. For another example Figure 5B As shown, when the spatial height of the target part relative to the image acquisition element is too high, the second prompt message "The palm is too high and it's almost too heavy to lift" is also displayed in the display interface.

[0120] In the above embodiments, by outputting the second prompt message and combining it with the motion animation of the virtual character performing the second motion, it can timely and clearly feedback to the target object that the spatial height of the target part is not within the preset height range, so as to help the target object adjust the spatial height of its target part.

[0121] Among them, in one embodiment, the second motion includes a vertical motion. When the spatial height of the target part relative to the image acquisition element changes, displaying the motion animation of the virtual character performing the second motion includes: when the spatial height of the target part relative to the image acquisition element changes, displaying the virtual character controlling the virtual prop to move vertically. Wherein, the direction of the vertical movement of the virtual prop and the distance between the virtual prop and the virtual character have a corresponding relationship with the spatial height of the target part relative to the image acquisition element.

[0122] Specifically, when the spatial height of the target part changes relative to the image acquisition element, the acquisition device controls the virtual prop to perform a vertical movement through the display element by the virtual character. For example, the virtual character controls the virtual prop to move up and down relative to the virtual character itself, or the virtual character controls the virtual prop to offset vertically relative to the normal position of the virtual prop. The normal position of the virtual prop is the position where the target part is located within the preset height range.

[0123] Among them, the direction of the vertical movement of the virtual prop has a corresponding relationship with the spatial height of the target part relative to the image acquisition element. In one embodiment, the direction of the vertical movement of the virtual prop is related to the difference between the spatial height and the preset height range.

[0124] In one embodiment, when the spatial height of the target part changes relative to the image acquisition element, controlling the virtual prop to perform a vertical movement by the displayed virtual character includes: when the spatial height of the target part relative to the image acquisition element is getting larger and larger, the displayed virtual character controls the virtual prop to move vertically upward; when the spatial height of the target part relative to the image acquisition element is getting smaller and smaller, the displayed virtual character controls the virtual prop to move vertically downward. Specifically, when the spatial height of the target part relative to the image acquisition element is getting larger and larger, the acquisition device displays, through the display element, the motion animation of the virtual character controlling the virtual prop to move vertically upward. On the contrary, when the spatial height of the target part relative to the image acquisition element is getting smaller and smaller, the acquisition device displays, through the display element, the motion animation of the virtual character controlling the virtual prop to move vertically downward.

[0125] For example, when the target part is lower than the preset height range, the acquisition device displays, through the display element, the virtual prop moving vertically downward; or when the target part is higher than the preset height range, the acquisition device displays, through the display element, the virtual prop moving vertically upward.

[0126] Among them, the distance between the virtual prop and the virtual character also has a corresponding relationship with the spatial height of the target part relative to the image acquisition element. In one embodiment, the distance between the virtual prop 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 prop moves vertically downward, and the lower the spatial height, the farther the virtual prop moves downward from the virtual character in the vertical direction.

[0127] Exemplarily, as Figure 4A compared with Figure 5A shows, the virtual character controls the virtual prop to move downward to vividly reflect that the spatial height of the target part relative to the image acquisition element is too low. As Figure 4A compared with Figure 5BAs shown in the comparison, the virtual character controls the virtual prop to move upward, vividly reflecting that the spatial height of the target part is too high relative to the image acquisition element.

[0128] In the above embodiment, by keeping the change of the virtual prop in the same direction as the change of the target part, and the amplitude of the movement is proportional to the change amount of the spatial height, which conforms to the general law and common perception, it can very intuitively reflect the relationship between the spatial height of the target part and the preset height range, and can quickly help the target object adjust the spatial height of the target part to ensure that the target part is at a reasonable height relative to the image acquisition element, thereby improving the acquisition efficiency.

[0129] In one embodiment, when the spatial height of the target part relative to the image acquisition element changes, it is displayed that the virtual character controls the virtual prop to move vertically, including: when the spatial height of the target part relative to the image acquisition element changes, determining the current spatial height of the target part relative to the image acquisition element; determining the height difference between the spatial height and the preset height; based on the pre-set distance mapping relationship, mapping the height difference to the relative distance between the virtual prop and the virtual character, where the greater the height difference, the greater the relative distance; controlling the virtual character to operate the virtual prop to move vertically according to the relative position.

[0130] Specifically, the acquisition device acquires the current spatial height of the target part relative to the image acquisition element, compares the real-time acquired spatial height with the preset height, calculates the height difference between the two, and maps the height difference to the relative distance between the virtual prop and the virtual character through the pre-set distance mapping relationship, and reflects it during the process of the virtual character controlling the virtual prop to move, that is, the acquisition device displays through the display element that the virtual character operates the virtual prop to move vertically to move the virtual prop to a certain position, and the relative position between this 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 prop and the position after the vertical movement, the greater the height difference between the target part and the image acquisition element.

[0131] In the above embodiment, through the movement of the virtual prop in the same direction, and the amplitude of the movement is proportional to the change amount of the spatial height, which conforms to the general law and common perception, it can very intuitively reflect the relationship between the spatial height of the target part and the preset height range, and can quickly help the target object adjust the spatial height of the target part, thereby improving the acquisition efficiency.

[0132] In one embodiment, the acquisition device can obtain the spatial height of the target part relative to the image acquisition element through the acquired image. For example, based on the mapping relationship between the size of the key area in the acquired target part and the spatial height, the spatial height of the target part relative to the image acquisition element is calculated. Among them, the key area is the area in the target part carrying key information, and this key information can be used for image recognition or data analysis, etc. Taking the palm as an example, the palm center area is the key area, and other areas such as fingers and wrists are non-key areas.

[0133] In another embodiment, a plurality of distance sensors are deployed around the image acquisition element. When the target part is placed within the visible range of the image acquisition element, the acquisition device can detect the spatial height of the target part relative to the image acquisition element through the distance sensors. Correspondingly, in one embodiment, determining the current spatial height of the target part relative to the image acquisition element includes: in the case where the target part is within the acquisition range of the image acquisition element, obtaining a plurality of effective distances corresponding to the key area of the target part through the plurality of distance sensors; based on the plurality of effective distances, determining the current spatial height of the target part relative to the image acquisition element.

[0134] Among them, the number of distance sensors can be set according to actual needs, and the distance sensors are symmetrically distributed. The distance sensor is, for example, a sensor using ToF (Time of Flight) technology, etc. In the case where the distance sensor does not detect an object or the distance between the object and it exceeds the detectable range, the distance sensor will output a specific value. When the distance sensor detects an object within its detectable range, the distance sensor outputs the distance value.

[0135] Generally, the target part will block at least one distance sensor, and the acquisition device calculates based on the distances detected and output by each of the at least one distance sensor to obtain the final distance, and this final distance is the current spatial height of the target part relative to the image acquisition element.

[0136] Specifically, in the case where the target part is within the acquisition range of the image acquisition element, the target part is within the detectable range of one or more distance sensors, that is, the projection area of the key area of the target part onto the plane where the distance sensors are located covers one or more distance sensors. Then the acquisition device obtains a plurality of effective distances corresponding to the key area of the target part through the one or more distance sensors. And the remaining distance sensors that do not detect the target part will output invalid distance values. Thus, the acquisition device can determine the current spatial height of the target part relative to the image acquisition element according to the plurality of effective distances. Exemplarily, the acquisition device takes the average value of the plurality of effective distances as the current spatial height of the target part relative to the image acquisition element.

[0137] Exemplarily, as Figure 6A shown, around the camera of the image acquisition element, a plurality of distance sensors P are provided. The acquisition device determines the distance sensors set corresponding to the range covered by the key area R of the target part, that is, the distance sensors blocked by the target part, and based on the distance values output by these distance sensors, obtains the current spatial height of the target part relative to the image acquisition element.

[0138] In an actual scenario, due to possible occlusion phenomena such as the arm, a plurality of distance sensors all return a distance value, but only some of these distance values are the distance values corresponding to the target part, and the remaining distance values may be the distance values of the arm detected due to occlusion by the arm, etc., thus resulting in inaccurate distance detection results.

[0139] Therefore, in one embodiment, the set distance sensors are divided into quadrants, and there are a plurality of distance sensors in each quadrant. Thus, the acquisition device determines the center G of the key area according to the key area of the target part detected by the image acquisition element, and according to the quadrant where the center G of the key area is located, obtains the plurality of distance values output by the plurality of distance sensors in this quadrant, and based on this plurality of distance values, determines the current spatial height of the target part relative to the image acquisition element.

[0140] As Figure 6B shown, the acquisition device determines that the quadrant where the center G of the key area is located is the first quadrant based on the key area R of the target part detected by the image acquisition element, and thus determines the distance sensors in the first quadrant (shown as black circles in the figure for distinction from other sensors), and obtains the distance values output by these sensors.

[0141] Thus, by setting a plurality of distance sensors around the camera for detection, the spatial height of the target part relative to the image acquisition element can be obtained more accurately, and further, the size of the presented mapping pattern can be more accurate, enabling the target object to adjust the spatial height of the target part more quickly and accurately.

[0142] On the other hand, in one embodiment, when the horizontal position of the target part relative to the image acquisition element changes, a motion animation of the virtual character performing a third motion is displayed, and the character pose of the virtual character during the third motion changes following the change of the horizontal position.

[0143] Among them, the third motion is also the motion of the virtual character when the target part does not satisfy the relative static state, and the types of the third motion include but are not limited to one or more of walking, running, squatting, turning in circles, flying, or standing still, etc.

[0144] It should be noted that both the second movement and the third movement are different from the first movement, and the third movement is different from the second movement. In other words, in order to enable the character pose of the virtual character to clearly reflect the state of the target part, so as to distinguish the changes of the target part in two dimensions of spatial height and horizontal position, the second movement and the third movement belong to different types of movements, or different movement modes in the same type of movement. For example, the second movement can be jumping up and down, and the third movement can be tilting left and right, etc. Another example is that the virtual characters are all in a flying motion state (for example, the virtual character is an airplane, a bird, or a virtual little person carrying a flying device, etc.). When the spatial height changes, the flying position of the virtual character is higher or lower; when the horizontal position changes, the flying position of the virtual character is to the left or right; when the target part tilts, the flying pose of the virtual character itself also tilts, etc.

[0145] Specifically, when the horizontal position of the target part changes relative to the image acquisition element, the acquisition device displays the motion animation of the virtual character performing the third movement through the display element, and during the process of the virtual character performing the third movement, when the horizontal position changes, the character pose of the virtual character also changes accordingly. In other words, by the virtual character performing the third movement, the horizontal position of the target part in the actual physical space is reflected. When the horizontal position changes, the virtual character still performs the third movement, but the specific character pose during the performance of the third movement is different. For example, it can be that its own pose changes, or the pose of the virtual prop controlled by the virtual character changes, or both the pose of the virtual character and the virtual prop it controls change.

[0146] Exemplarily, when the horizontal position of the target part is left of the image acquisition element, as Figure 7A shown, the virtual character (little person) is shown as leaning to the left. Conversely, when the horizontal position of the target part is right of the image acquisition element, as Figure 7B shown, the virtual character is shown as leaning to the right.

[0147] When the horizontal position of the target part is within the preset horizontal range relative to the image acquisition element, the virtual character shows the state of the body being normal and not offset, that is, the poses as shown in Figure 4A and Figure 4B shown.

[0148] In the above embodiments, by using the motion animation of the virtual character performing the movement to reflect the change of the horizontal position of the target part, it can vividly prompt the situation of the horizontal position of the current target part of the target object, facilitating the target object to adjust the horizontal position of the target position and improving the acquisition efficiency.

[0149] To give a clearer prompt for the target object to adjust the horizontal position of the target part, in one embodiment, when the horizontal position of the target part relative to the image acquisition element is not within the preset horizontal range, when displaying the motion animation of the virtual character performing the third motion, a third prompt message is output, and the third prompt message is used to instruct the target object to adjust the horizontal position of the target part relative to the image acquisition element.

[0150] Specifically, when the horizontal position of the target part relative to the image acquisition element is not within the preset horizontal range, the acquisition device can display the third prompt message on the display interface through a display element in the form of text, pattern, or animation, etc. For another example, the acquisition device can display the third prompt message in the form of voice or music through a sound playback element such as a speaker.

[0151] Exemplarily, for another example Figure 7A As shown, taking the target part as the palm, when the horizontal position of the target part relative to the image acquisition element is too far to the left, the second prompt message "The palm is too far to the left and is about to fall" is also displayed in the display interface. For another example Figure 7B As shown, when the horizontal position of the target part relative to the image acquisition element is too far to the right, the second prompt message "The palm is too far to the right and is about to fall" is also displayed in the display interface.

[0152] In the above embodiment, by outputting the third prompt message and combining it with the motion animation of the virtual character performing the third motion, it is possible to timely and clearly feedback to the target object that the horizontal position of the target part is not within the preset horizontal range, so as to help the target object adjust the horizontal position of its target part.

[0153] In addition to the posture change of the virtual character itself, the change in the horizontal position of the target part can also be reflected by the posture change of the virtual prop controlled by the virtual character. In one embodiment, the third motion includes the tilting motion of the virtual prop controlled by the virtual character. Correspondingly, when the horizontal position of the target part relative to the image acquisition element changes, displaying the motion animation of the virtual character performing the third motion includes: when the horizontal position of the target part relative to the image acquisition element changes, displaying the virtual character controlling the virtual prop to tilt, wherein the tilting direction of the virtual prop is the same as the offset direction of the target part, and the offset direction is the direction corresponding to the horizontal position of the target part relative to the image acquisition element.

[0154] Specifically, when the spatial height of the target part changes relative to the image acquisition element, the acquisition device controls the virtual prop to tilt through the display element by the virtual character. For example, the virtual character controls the virtual prop to tilt left or right relative to the standard position of the virtual prop. The standard position of the virtual prop is the position when the target part is within a preset horizontal range.

[0155] Among them, the tilting direction of the virtual prop is the same as the offset direction of the target part, so as to intuitively reflect the orientation of the target part relative to the image acquisition element. The offset direction is the direction corresponding to the horizontal position of the target part relative to the image acquisition element. For example, when the horizontal position of the target part is to the left of the image acquisition element, the offset direction is to offset to the left; when the horizontal position of the target part is to the right of the image acquisition element, the offset direction is to offset to the right.

[0156] In the above embodiments, by keeping the change of the virtual prop in the same direction as the change of the target part, which conforms to general laws and common cognitions, it can very intuitively reflect the relationship between the orientation of the target part and the preset horizontal range, and can quickly help the target object adjust the horizontal position of the target part to ensure that the target part is in the correct orientation relative to the image acquisition element, thereby improving the acquisition efficiency.

[0157] In addition, in addition to the spatial height and horizontal position, the tilting condition of the target part may also affect the accuracy and efficiency of image acquisition. Therefore, in one embodiment, when the relative position of the target part changes relative to the image acquisition element, the character pose of the currently displayed virtual character changes following the change of the relative position, including: when the tilting pose of the target part changes relative to the image acquisition element, the motion animation of the virtual character performing the fourth motion is displayed, and the character pose of the virtual character changes following the change of the tilting pose during the process of the virtual character performing the fourth motion.

[0158] Specifically, when the tilting pose of the target part changes relative to the image acquisition element, the acquisition device displays the motion animation of the virtual character performing the fourth motion through the display element, and during the process of the virtual character performing the fourth motion, when the tilting pose changes, the character pose of the virtual character also changes accordingly, or the pose of the virtual prop controlled by the virtual character also changes accordingly. Exemplarily, when the target part is tilted, the virtual character itself is also tilted, and the degree of tilting is positively correlated with the degree of tilting of the target part.

[0159] In the above embodiments, by displaying the motion animation of the virtual character performing the fourth motion, it is possible to timely and clearly feedback to the target object that the target part is inclined, so as to help the target object quickly adjust the angle of the target part relative to the image acquisition element, so as to ensure that the image acquisition element captures the part image that meets the image quality standard.

[0160] Among them, the inclination posture includes an inclination angle and an inclination direction. In one embodiment, at least three distance sensors are deployed around the image acquisition element. The method further includes: when the target part is within the acquisition range of the image acquisition element, obtaining at least three effective distances corresponding to the key area of the target part through the distance sensors; based on the at least three effective distances, constructing a virtual plane of the key area; based on the relative angle between the virtual plane and the standard plane, determining the inclination angle and inclination direction of the key area.

[0161] Specifically, when the target part is within the acquisition range of the image acquisition element, the target part is at least within the detectable range of three distance sensors, that is, the projection area of the key area of the target part on the plane where the distance sensors are located covers at least three distance sensors. Thus, the acquisition device can obtain at least three effective distances output by the distance sensors. According to the at least three effective distances, the acquisition device constructs a virtual plane corresponding to the posture of the current target part based on the key area. Thus, based on the relative angle (such as the tangent angle) between the virtual plane and the standard plane, the acquisition device can determine the relative posture of the key area, that is, the inclination posture of the current target part. Thus, according to the inclination posture of the current target part, the acquisition device can adjust the display state of the mapping pattern according to this relative posture through the display element.

[0162] Exemplarily, according to the relative posture of the key area, the acquisition device calculates its components in the height direction and the plane direction, and maps them respectively as the change amounts of the mapping pattern in terms of the display position and the display size, thereby reflecting the current inclination posture of the target part.

[0163] Thus, when the posture of the target part changes and the posture of the target part is inclined to a certain extent, real-time feedback can also be performed through the display state of the mapping pattern, which can ensure that the captured image is more accurate.

[0164] When the target part is tilted, moving too fast, too close or too far away, or too dark or too bright due to other factors, the captured part images will also have various situations, resulting in low image quality. For example, when the moving speed is too fast, the captured image may be blurred. Therefore, in order to ensure that the quality of the captured images meets the standards, in one embodiment, before the part images are captured by the image capture component, the following steps are further included: obtaining the moving speed of the target part within the capture range of the image capture component. Affect the accuracy of subsequent steps.

[0165] Specifically, the acquisition device determines the moving speed of the target part based on at least one of the change amount of the spatial height or the offset amount of the horizontal position of the key area corresponding to the consecutive multiple frames of images of the target part detected by the image capture component.

[0166] Exemplarily, the acquisition device calculates the change amount of the spatial height between every two adjacent frames based on the consecutive N frames of images of the target part detected by the image capture component. When the change amount is less than the preset threshold, the acquisition device determines that the moving speed of the target part is appropriate and meets the acquisition conditions. Another example is that the acquisition device calculates the offset amount of the horizontal position between every two adjacent frames based on the consecutive N frames of images of the target part detected by the image capture component. When the offset amount is less than the preset threshold, the acquisition device determines that the moving speed of the target part is appropriate and meets the acquisition conditions. Another example is that only when the change amount of the spatial height and the offset amount of the horizontal position between every two adjacent frames both meet the corresponding threshold conditions, the acquisition device determines that the moving speed of the target part is appropriate and meets the acquisition conditions, etc.

[0167] Considering that in the actual scenario, the key area may be blocked by other objects (such as the palm center being blocked by the sleeve, etc.), in order to ensure the accuracy of acquisition, in another embodiment, before the image acquisition element acquires the key area image of the target part, the method further includes: performing an integrity detection on the target part within the acquisition range of the image acquisition element to obtain an integrity detection result. Specifically, the acquisition device acquires an image of the target part through the image acquisition element and performs an integrity detection on the image of the target part, thereby obtaining an integrity detection result. This integrity detection result is used to indicate whether the key area of the target part is complete. In other words, it indicates whether there is a blocked situation in the key area. When there is no blockage in the target part, the acquisition device determines that the target part meets the acquisition conditions. Exemplarily, the acquisition device can perform an integrity detection on the image of the target part by means of skin color judgment. For example, the acquisition device extracts the pixel values within the key area of the target part and compares them with the pixel values of the non-key area. When the pixel value difference exceeds the threshold, it indicates that there is a blockage in the key area. Another example is that the acquisition device can use a pre-trained classification model, input the image of the target part into the classification model, and the classification model outputs an integrity detection result indicating whether there is a blockage.

[0168] In yet another embodiment, in order to further ensure the accuracy of acquisition, when both the moving speed and the integrity detection result meet the acquisition conditions, the step of acquiring the part image through the image acquisition element is executed.

[0169] In one embodiment, the above method further includes: sending the acquired part image of the target part to the server. The part image is used to instruct the server to perform biometric authentication on the part image and execute resource transfer in the case of successful biometric authentication; in the case of successful biometric authentication, receiving and displaying the resource transfer result feedback by the server.

[0170] Specifically, the acquisition device sends the acquired part image to the server. After receiving the part image, the server performs biometric authentication on the part image. In the case of successful biometric authentication, the server can perform a resource transfer operation related to the target object. For example, the server can use a palmprint recognition model, etc. to identify the key area image, extract one or more biometric information such as palmprint, palm shape, or vein in the image, and perform identification based on the one or more biometric information to determine whether the target object is a pre-registered object. In the case where the target object is a pre-registered object, it is determined that the biometric authentication of the target object is successful. Of course, with the support of the hardware conditions of the acquisition device, the acquisition device itself can also perform biometric authentication by processing the key area image.

[0171] Among them, the resource transfer operation means that when the biometric authentication is passed, the server transfers the preset resources in the account that was previously bound to the target object to a preset account.

[0172] Taking a specific scenario as an example, when the target object passes the biometric authentication, the server withdraws a preset quantity of resources such as property and props from the target object's account and transfers them to another preset account. The preset account can be a merchant account, for example, paying a certain amount to the merchant account. The preset account can also be other non-merchant accounts, such as transferring money to the non-merchant account or transferring virtual props to the non-merchant account, etc.

[0173] In one embodiment, the acquisition device also receives the authentication result returned by the server and displays the authentication result on the display interface through the display element. For example, when the biometric authentication of the target object is passed, the acquisition device receives the authentication result of "authentication passed" returned by the server and displays it on the display interface through the display element, such as prompts like "Congratulations on passing the authentication" or "Authentication successful", etc., so as to feedback the authentication result to the target object.

[0174] In the above embodiment, through the non-contact biometric authentication method, the requirement for hardware devices is avoided, and the inconvenience caused by forgetting to carry the portable terminal in the case of current common mobile payment and code scanning payment is also avoided. At the same time, biometric authentication is performed by swiping the palm to perform resource transfer, which is more efficient and greatly improves the convenience.

[0175] This application also provides an application scenario that applies the above image acquisition method. Specifically, the application of the image acquisition method in this application scenario is as follows: Taking the target part as the palm as an example, when the user enables the palm swiping payment function on the device, registration is required for the server to store the user's palm image. The user triggers the acquisition device to perform an air acquisition operation, and the interface of the virtual character in the initial state is displayed. During the real-time detection by the acquisition device, when the height of the user's palm relative to the image acquisition element changes, the character pose of the virtual character also changes accordingly; when the orientation of the user's palm relative to the image acquisition element changes, the character pose of the virtual character also changes accordingly, and so on. Through the change of the character pose of the virtual character, the user is prompted to adjust the height and orientation of the palm, etc., so as to guide the user to place the palm within a suitable height range and make the palm located at a suitable orientation relative to the image acquisition element.

[0176] When the height, orientation, etc. of the user's palm all meet the conditions, the virtual character is displayed in a preset posture, and the user is guided to keep the current palm state unchanged. Correspondingly, the virtual character is displayed as maintaining this preset posture. When the duration for which the character posture of the virtual character maintains the preset posture meets the preset acquisition condition, the image acquisition component is triggered to acquire a part image, thereby completing the image acquisition of the user's palm part, and further achieving the successful activation of the palm-sweeping payment function.

[0177] Thus, through the game interaction within the interface, as the relative position between the palm and the acquisition device changes, the virtual character within the game interface also gives corresponding feedback, and the palm-sweeping activation is completed during the interaction with the game, improving the efficiency of image acquisition. Of course, it is not limited to this. The image acquisition method provided in this application can also be applied in other application scenarios, such as registering an account, palm-sweeping payment, etc.

[0178] In a specific application scenario, before the user triggers the acquisition device to perform an air acquisition operation, the acquisition device displays an interface as shown in Figure 8 to inform the relevant information of this acquisition process. When the user extends the palm at the acquisition device to initiate air palm-sweeping, that is, after triggering the air acquisition operation, the acquisition device displays an interface as shown in Figure 9 to introduce the manipulation process that the user will perform next by combining the screen.

[0179] In one state, as shown in Figure 10A , when the user keeps the palm within the preset height range (for example, the height range of 8 - 12 cm) and within the preset horizontal range, the acquisition device displays an interface as shown in Figure 4A . When the user keeps the palm within the preset height range and within the preset horizontal range for a period of time, the acquisition device displays an interface as shown in Figure 4B .

[0180] In one state, as shown in Figure 10B , when the user's palm is relatively low, for example, lower than 8 cm, the acquisition device displays an interface as shown in Figure 5A , showing that the virtual character walks unsteadily and the position of the prop rod held is relatively low.

[0181] In one state, as shown in Figure 10C , when the user's palm is relatively high, for example, higher than 12 cm, the acquisition device displays an interface as shown in Figure 5B , showing that the virtual character walks unsteadily and the position of the prop rod held is relatively high.

[0182] In one state, when the user's palm is in the leftward orientation, the acquisition device displays an interface as shown in Figure 7AThe interface shown.

[0183] In one state, when the user's palm is in the right - hand position, the acquisition device displays through the display element as Figure 7B The interface shown.

[0184] When the user's palm is in one or more of the states such as lower, higher, left - hand, or right - hand and remains in that state for a certain period of time, the acquisition device displays through the display element as Figure 11A The interface shown to prompt the user that the acquisition was not successful. After successful acquisition, the acquisition device can also display through the display element as Figure 11B The interface shown.

[0185] Thus, through gamified display, the dullness during the acquisition of the image of the acquisition part is reduced, making the process of the acquisition device recognizing the palm simpler and more interesting for the user; through the relative position between the acquisition device and the palm, the distance and position are displayed through the balanced walking state of the game character on the screen, enabling the user to conveniently adjust the appropriate distance and position, thereby helping the user more easily adjust the palm position during payment. In this way, there can be a strong interactivity between the user and the device, and the user experience is better.

[0186] In a specific example, the overall process of the embodiment of the present application can be as Figure 12 shown. After the user enables palm - swiping entry, the acquisition device recognizes the palm and displays a preset initial game interface on the display interface. The acquisition device recognizes the relative position of the palm and displays the corresponding posture of the virtual character on the display interface according to the relative position of the palm. Usually, the relative position of the user's palm at the beginning will not be within the appropriate range. Therefore, when the user adjusts the relative position of the palm, the acquisition device gives real - time feedback according to the change in the relative position of the palm. When the user's palm is in the correct position, the acquisition device acquires the palm image through the image acquisition element and performs corresponding processing (such as cropping or grayscaling, etc.) and storage. Then, the acquisition device uploads the acquired palm image to the server.

[0187] As Figure 13 shown, when the acquisition device starts to recognize the palm, the acquisition device takes a picture of the palm through the camera and judges whether it meets the requirements of image acquisition according to the palm distance and position information. When the detected relative position of the palm does not meet the requirements of image acquisition, the acquisition device feeds back an error message through the display element and shows it through the posture of the virtual character in the game interface to guide the user to adjust the palm position. Then, the acquisition device obtains the next frame of the captured image acquired by the image acquisition element and performs the same steps of recognition and real - time feedback. When the user's palm is in the correct position, the acquisition device acquires and stores the palm image through the image acquisition element and uploads it to the server later for the server to perform storage, encoding, and other processing.

[0188] It should be understood that although the steps in the flowcharts involved in the above embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0189] Based on the same inventive concept, an embodiment of the present application also provides an image acquisition device for implementing the above-mentioned image acquisition method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the image acquisition device provided below can refer to the limitations on the image acquisition method in the above text, and will not be repeated here.

[0190] In one embodiment, as Figure 14 shown, an image acquisition device 1400 is provided, including: a display module 1401 and an acquisition module 1402, where:

[0191] The display module 1401 is configured to display a virtual character in response to an air acquisition operation triggered by a target part of a target object, and the character posture of the virtual character is related to the relative position of the target part with respect to the image acquisition element;

[0192] The display module 1401 is further configured to, when the relative position of the target part with respect to the image acquisition element changes, the character posture of the currently displayed virtual character changes following the change of the relative position.

[0193] The acquisition module 1402 is configured to trigger the image acquisition element to acquire a part image of the target part when the duration for which the character posture of the virtual character maintains a preset posture meets a preset acquisition condition.

[0194] In one embodiment, the above device further includes a first output module, configured to display an animation of a first movement of the virtual character in a preset posture when the relative position of the target part with respect to the image acquisition element is within a preset position range; output a first prompt message, where the first prompt message is used to instruct the target object to maintain a relative static state between the target part and the image acquisition element so that the character posture of the virtual character maintains a preset posture.

[0195] In one embodiment, the relative position includes a spatial height and a horizontal position. The display module is further configured to, when the spatial height of the target part relative to the image acquisition element changes, display an animation of a second movement of the virtual character, and the character pose of the virtual character during the second movement changes following the change of the spatial height; when the horizontal position of the target part relative to the image acquisition element changes, display an animation of a third movement of the virtual character, and the character pose of the virtual character during the third movement changes following the change of the horizontal position, wherein the third movement is different from the second movement.

[0196] In one embodiment, the display module is further configured to, when the spatial height of the target part relative to the image acquisition element changes, display the virtual character controlling the virtual prop to move vertically, wherein the direction of the vertical movement of the virtual prop and the distance between the virtual prop and the virtual character have a corresponding relationship with the spatial height of the target part relative to the image acquisition element.

[0197] In one embodiment, the display module is further configured to, when the spatial height of the target part relative to the image acquisition element is increasing, display the virtual character controlling the virtual prop to move vertically upward; when the spatial height of the target part relative to the image acquisition element is decreasing, display the virtual character controlling the virtual prop to move vertically downward.

[0198] In one embodiment, the display module is further configured to, when the spatial height of the target part relative to the image acquisition element changes, determine the current spatial height of the target part relative to the image acquisition element; determine the height difference between the spatial height and a preset height; based on a pre-set distance mapping relationship, map the height difference to the relative distance between the virtual prop and the virtual character, wherein the greater the height difference, the greater the relative distance; control the virtual character to operate the virtual prop to move vertically according to the relative position.

[0199] In one embodiment, a plurality of distance sensors are deployed around the image acquisition element. The display module is further configured to, when the target part is within the acquisition range of the image acquisition element, obtain a plurality of effective distances corresponding to the key area of the target part through the plurality of distance sensors; determine the current spatial height of the target part relative to the image acquisition element based on the plurality of effective distances.

[0200] In one embodiment, the display module is further configured to, when the horizontal position of the target part relative to the image acquisition element changes, display the virtual character controlling the virtual prop to move obliquely, wherein the oblique direction of the virtual prop is the same as the offset direction of the target part, and the offset direction is the direction corresponding to the horizontal position of the target part relative to the image acquisition element.

[0201] In one embodiment, the above-mentioned device further includes a second output module, which is configured to output a second prompt message when displaying the motion animation of the virtual character performing a second motion in the case that the spatial height of the target part relative to the image acquisition element is not within the preset height range, and the second prompt message is used to instruct the target object to adjust the spatial height of the target part relative to the image acquisition element; in the case that the horizontal position of the target part relative to the image acquisition element is not within the preset horizontal range, when displaying the motion animation of the virtual character performing a third motion, output a third prompt message, and the third prompt message is used to instruct the target object to adjust the horizontal position of the target part relative to the image acquisition element.

[0202] In one embodiment, the display module is further configured to display the motion animation of the virtual character performing a fourth motion in the case that the tilt posture of the target part relative to the image acquisition element changes, and the character posture of the virtual character during the fourth motion changes following the change of the tilt posture.

[0203] In one embodiment, at least three distance sensors are deployed around the image acquisition element, the tilt posture includes a tilt angle and a tilt direction, and the above-mentioned device further includes a determination module, which is configured to, in the case that the target part is within the acquisition range of the image acquisition element, obtain at least three effective distances corresponding to the key area of the target part through the distance sensors; based on the at least three effective distances, construct a virtual plane of the key area; based on the relative angle between the virtual plane and the standard plane, determine the tilt angle and tilt direction of the key area.

[0204] In one embodiment, the above-mentioned device further includes a detection module, which is configured to perform target detection and liveness detection on the target that appears within the acquisition range of the image acquisition element; in the case that the detected target is the target part of the target object and liveness is detected, determine that the target part of the target object has triggered an authentication operation.

[0205] In one embodiment, the above-mentioned device further includes an upload module, which is configured to send the part image of the acquired target part to the server, and the part image is used to instruct the server to associate and store the part image with the target object, so as to perform biometric authentication on the target object based on the associated and stored part image in the case that the target part of the target object triggers an authentication operation.

[0206] In one embodiment, the above-mentioned device further includes a sending module, which sends the part image of the acquired target part to the server, and the part image is used to instruct the server to perform biometric authentication on the part image and perform resource transfer in the case that the biometric authentication is passed; in the case that the biometric authentication is passed, receive and display the resource transfer result feedback by the server.

[0207] Each module in the above image acquisition device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form so that the processor can call and execute the operations corresponding to each of the above modules.

[0208] In one embodiment, a computer device is provided. This computer device can be the acquisition device in the foregoing embodiment, and its internal structure diagram can be as Figure 15 shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display element, and an image acquisition element. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display element, and the image acquisition element are connected to the system bus through the input / output interface. Among them, the processor of this computer device is used to provide computing and control capabilities. The memory of this computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. 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 this computer device is used for the processor to exchange information with external devices. The communication interface of this computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a biometric authentication method. The display element of this computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of this computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0209] Those skilled in the art can understand that Figure 15 the structure shown in

[0210] is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0211] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.

[0212] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiments are implemented.

[0213] It should be noted that the user information (including but not limited to information about the user's hand parts, user account information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.

[0214] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0215] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations 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, it should be considered as the scope recorded in this specification.

[0216] The above-described embodiments only represent several implementation manners of the present application. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. An image acquisition method, characterized in that, the method includes: responding to an air acquisition operation triggered by a target part of a target object, displaying a virtual character, wherein a character pose of the virtual character is related to a relative position of the target part with respect to an image acquisition element; the character pose of the virtual character is represented by at least one of a movement condition of the virtual character itself and a state of a virtual prop controlled by the virtual character; the relative position includes a spatial height and a horizontal position; when the relative position of the target part with respect to the image acquisition element changes, the character pose of the currently displayed virtual character changes following the change of the relative position, including: when the spatial height of the target part with respect to the image acquisition element changes, displaying a movement animation of the virtual character performing a second movement, and the character pose of the virtual character during the second movement changes following the change of the spatial height; when the horizontal position of the target part with respect to the image acquisition element changes, displaying a movement animation of the virtual character performing a third movement, and the character pose of the virtual character during the third movement changes following the change of the horizontal position; when the relative position of the target part with respect to the image acquisition element is within a preset position range, displaying a movement animation of the virtual character performing a first movement in a preset pose, wherein the first movement, the second movement, and the third movement are different movements; when the duration for which the character pose of the virtual character maintains the preset pose meets a preset acquisition condition, triggering the image acquisition element to acquire a part image of the target part.

2. The method according to claim 1, characterized in that, before triggering the image acquisition element to acquire a part image of the target part when the duration for which the character pose of the virtual character maintains the preset pose meets a preset acquisition condition, the method further includes: when the relative position of the target part with respect to the image acquisition element is within a preset position range, outputting a first prompt message, where the first prompt message is used to instruct the target object to maintain a relative static state between the target part and the image acquisition element, so that the character pose of the virtual character maintains the preset pose.

3. The method according to claim 1, characterized in that, the second movement includes a vertical movement, and when the spatial height of the target part with respect to the image acquisition element changes, displaying a movement animation of the virtual character performing a second movement includes: when the spatial height of the target part with respect to the image acquisition element changes, displaying the virtual character controlling a virtual prop to move vertically, wherein a direction of the vertical movement of the virtual prop and a distance between the virtual prop and the virtual character have a corresponding relationship with the spatial height of the target part with respect to the image acquisition element.

4. The method according to claim 3, characterized in that, When the spatial height of the target part relative to the image acquisition element changes, displaying the virtual character to control the virtual prop to move vertically includes: When the spatial height of the target part relative to the image acquisition element is increasing, displaying the virtual character to control the virtual prop to move vertically upward; When the spatial height of the target part relative to the image acquisition element is decreasing, displaying the virtual character to control the virtual prop to move vertically downward.

5. The method according to claim 3, wherein, When the spatial height of the target part relative to the image acquisition element changes, displaying the virtual character to control the virtual prop to move vertically includes: When the spatial height of the target part relative to the image acquisition element changes, determining the current spatial height of the target part relative to the image acquisition element; Determining the height difference between the spatial height and a preset height; Based on a pre-set distance mapping relationship, mapping the height difference to the relative distance between the virtual prop and the virtual character, wherein the greater the height difference, the greater the relative distance; Controlling the virtual character to operate the virtual prop to move vertically according to the relative position.

6. The method according to claim 5, wherein, A plurality of distance sensors are deployed around the image acquisition element, and determining the current spatial height of the target part relative to the image acquisition element includes: When the target part is within the acquisition range of the image acquisition element, obtaining a plurality of effective distances corresponding to the key area of the target part through the plurality of distance sensors; Based on the plurality of effective distances, determining the current spatial height of the target part relative to the image acquisition element.

7. The method according to claim 1, wherein, When the horizontal position of the target part relative to the image acquisition element changes, displaying the motion animation of the virtual character performing a third motion includes: When the horizontal position of the target part relative to the image acquisition element changes, displaying the virtual character to control the virtual prop to tilt, wherein the tilting direction of the virtual prop is the same as the offset direction of the target part, and the offset direction is the direction corresponding to the horizontal position of the target part relative to the image acquisition element.

8. The method according to claim 1, wherein, The method further includes: When the spatial height of the target part relative to the image acquisition element is not within the preset height range, when displaying the motion animation of the virtual character performing a second motion, outputting a second prompt message for instructing the target object to adjust the spatial height of the target part relative to the image acquisition element; When the horizontal position of the target part relative to the image acquisition element is not within the preset horizontal range, when displaying the motion animation of the virtual character performing the third motion, a third prompt message is output, and the third prompt message is used to instruct the target object to adjust the horizontal position of the target part relative to the image acquisition element.

9. The method according to claim 1, wherein, when the relative position of the target part relative to the image acquisition element changes, the character pose of the currently displayed virtual character changes following the change of the relative position, including: when the tilt pose of the target part relative to the image acquisition element changes, displaying the motion animation of the virtual character performing the fourth motion, and the character pose of the virtual character during the fourth motion changes following the change of the tilt pose.

10. The method according to claim 9, wherein, at least three distance sensors are deployed around the image acquisition element, the tilt pose includes a tilt angle and a tilt direction, and the method further includes: when the target part is within the acquisition range of the image acquisition element, obtaining at least three effective distances corresponding to the key area of the target part through the distance sensors; constructing a virtual plane of the key area based on the at least three effective distances; determining the tilt angle and tilt direction of the key area based on the relative angle between the virtual plane and the standard plane.

11. The method according to claim 1, wherein, before displaying the virtual character in response to the air acquisition operation triggered by the target part of the target object, the method further includes: performing target detection and live body detection on the target that appears within the acquisition range of the image acquisition element; when it is detected that the target is the target part of the target object and a live body is detected, determining that the target part of the target object has triggered an authentication operation.

12. The method according to any one of claims 1 to 11, wherein, the method further includes: sending the part image of the acquired target part to the server, and the part image is used to instruct the server to associate and store the part image with the target object, so as to perform biometric authentication on the target object based on the associated and stored part image when the target part of the target object triggers an authentication operation.

13. The method according to any one of claims 1 to 11, wherein, the method further includes: sending the part image of the acquired target part to the server, and the part image is used to instruct the server to perform biometric authentication on the part image and perform resource transfer when the biometric authentication is passed; when the biometric authentication is passed, receiving and displaying the resource transfer result feedback by the server.

14. The method according to any one of claims 1 to 11, wherein, the virtual character is a game character, and the method further includes: When the spatial height of the target part relative to the image acquisition element is at a non-target height and the duration of remaining at the non-target height is greater than a duration threshold, and / or when the horizontal position of the target part relative to the image acquisition element is at a non-target position and the duration of remaining at the non-target position is greater than a duration threshold, output a game failure prompt message; After the part image of the target part is acquired, output a game success prompt message.

15. An image acquisition device, characterized in that, the device includes: a display module, configured to display a virtual character in response to an air acquisition operation triggered by a target part of a target object, wherein the character pose of the virtual character is related to the relative position of the target part relative to the image acquisition element; the character pose of the virtual character is represented by at least one of the movement condition of the virtual character itself and the state of a virtual prop controlled by the virtual character; the relative position includes a spatial height and a horizontal position; the display module is further configured to, when the relative position of the target part relative to the image acquisition element changes, the character pose of the currently displayed virtual character changes following the change of the relative position, including: when the spatial height of the target part relative to the image acquisition element changes, display a movement animation of the virtual character performing a second movement, and the character pose of the virtual character during the second movement changes following the change of the spatial height; when the horizontal position of the target part relative to the image acquisition element changes, display a movement animation of the virtual character performing a third movement, and the character pose of the virtual character during the third movement changes following the change of the horizontal position; the display module is further configured to, when the relative position of the target part relative to the image acquisition element is within a preset position range, display a movement animation of the virtual character performing a first movement in a preset pose, wherein the first movement, the second movement, and the third movement are different movements; an acquisition module, configured to trigger the image acquisition element to acquire a part image of the target part when the duration for which the character pose of the virtual character remains in the preset pose meets a preset acquisition condition.

16. The device according to claim 15, characterized in that, the device further includes a first output module, and the first output module is configured to: when the relative position of the target part relative to the image acquisition element is within a preset position range, output a first prompt message, and the first prompt message is used to instruct the target object to keep the relative static state between the target part and the image acquisition element so that the character pose of the virtual character remains in the preset pose.

17. The device according to claim 15, characterized in that, the second movement includes a vertical movement, and the display module is further configured to: When the spatial height of the target part relative to the image acquisition element changes, display the virtual character controlling the virtual prop to move vertically, where the direction of the vertical movement of the virtual prop and the distance between the virtual prop and the virtual character have a corresponding relationship with the spatial height of the target part relative to the image acquisition element.

18. The device according to claim 17, wherein, the display module is further configured to: when the spatial height of the target part relative to the image acquisition element is increasing, display the virtual character controlling the virtual prop to move vertically upward; when the spatial height of the target part relative to the image acquisition element is decreasing, display the virtual character controlling the virtual prop to move vertically downward.

19. The device according to claim 17, wherein, the display module is further configured to: when the spatial height of the target part relative to the image acquisition element changes, determine the current spatial height of the target part relative to the image acquisition element; determine the height difference between the spatial height and a preset height; based on a pre-set distance mapping relationship, map the height difference to the relative distance between the virtual prop and the virtual character, where the greater the height difference, the greater the relative distance; control the virtual character to operate the virtual prop to move vertically according to the relative position.

20. The device according to claim 19, wherein, a plurality of distance sensors are deployed around the image acquisition element, and the display module is further configured to: when the target part is within the acquisition range of the image acquisition element, obtain a plurality of effective distances corresponding to the key area of the target part through the plurality of distance sensors; determine the current spatial height of the target part relative to the image acquisition element based on the plurality of effective distances.

21. The device according to claim 15, wherein, the display module is further configured to: when the horizontal position of the target part relative to the image acquisition element changes, display the virtual character controlling the virtual prop to move obliquely, where the oblique direction of the virtual prop is the same as the offset direction of the target part, and the offset direction is the direction corresponding to the horizontal position of the target part relative to the image acquisition element.

22. The device according to claim 15, wherein, the device further includes a second output module, and the second output module is further configured to: when the spatial height of the target part relative to the image acquisition element is not within the preset height range, when displaying the motion animation of the virtual character performing the second motion, output a second prompt message for instructing the target object to adjust the spatial height of the target part relative to the image acquisition element. When the horizontal position of the target part relative to the image acquisition element is not within the preset horizontal range, when displaying the motion animation of the virtual character performing the third motion, a third prompt message is output, and the third prompt message is used to instruct the target object to adjust the horizontal position of the target part relative to the image acquisition element.

23. The device according to claim 15, wherein, the display module is further configured to: when the tilt posture of the target part relative to the image acquisition element changes, display the motion animation of the virtual character performing the fourth motion, and the character posture of the virtual character during the fourth motion changes following the change of the tilt posture.

24. The device according to claim 23, wherein, at least three distance sensors are deployed around the image acquisition element, the tilt posture includes a tilt angle and a tilt direction, and the device further includes a determination module, and the determination module is configured to: when the target part is within the acquisition range of the image acquisition element, obtain at least three effective distances corresponding to the key area of the target part through the distance sensors; construct a virtual plane of the key area based on the at least three effective distances; determine the tilt angle and tilt direction of the key area based on the relative angle between the virtual plane and the standard plane.

25. The device according to claim 15, wherein, the device further includes a detection module, and the detection module is configured to: perform target detection and live body detection on the target that appears within the acquisition range of the image acquisition element; when it is detected that the target is the target part of the target object and a live body is detected, it is determined that the target part of the target object has triggered an authentication operation.

26. The device according to any one of claims 15 to 25, wherein, the device further includes an upload module, and the upload module is configured to: send the part image of the target part collected to the server, and the part image is used to instruct the server to associate and store the part image with the target object, so as to perform biometric authentication on the target object based on the associated and stored part image when the target part of the target object triggers an authentication operation.

27. The device according to any one of claims 15 to 25, wherein, the device further includes a sending module, and the sending module is configured to: send the part image of the target part collected to the server, and the part image is used to instruct the server to perform biometric authentication on the part image and perform resource transfer when the biometric authentication is passed; when the biometric authentication is passed, receive and display the resource transfer result feedback by the server.

28. The device according to any one of claims 15 to 25, wherein, the virtual character is a game character, and the device is further configured to: When the spatial height of the target part relative to the image acquisition element is at a non-target height and the duration of remaining at the non-target height is greater than the duration threshold, and / or when the horizontal position of the target part relative to the image acquisition element is at a non-target position and the duration of remaining at the non-target position is greater than the duration threshold, output a game failure prompt message; After acquiring the part image of the target part, output a game success prompt message.

29. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, when the processor executes the computer program, the steps of the method according to any one of claims 1 to 14 are implemented.

30. A computer-readable storage medium, having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.

31. A computer program product, comprising a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 14 are implemented.

Citation Information

Patent Citations

  • Virtual object control method and device

    CN110908568A

  • Data information acquisition method

    CN114332964A

  • Interaction method and device based on resource transfer, computer equipment and storage medium

    CN114723450A