Interaction method and device based on head movement, equipment and storage medium
By using head motion detection technology in the interactive interface of the e-commerce platform, the virtual object is controlled to perform motion operations, which solves the problem of cervical discomfort caused by users to maintain a fixed posture for a long time, and improves the interaction efficiency and user experience.
Patent Information
- Application Number
- CN202510125599.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-05-30
AI Technical Summary
Users maintain a fixed posture for a long time when using e-commerce platform services, resulting in discomfort in the cervical spine.
An interactive method based on head movement is provided. By displaying multiple prop objects and virtual objects in the interactive interface, the virtual object is controlled to perform motion operations using the head posture detection result, and the preset conditions are met to generate interactive data.
By incentivizing users to perform head movements, the fun of the interaction process is improved, the discomfort of the cervical spine is alleviated, the efficiency of interaction is improved, and the user experience is improved.
Smart Images

Figure CN120066260A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to technical fields such as intelligent healthcare and intelligent e-commerce. More specifically, it relates to an interaction method, device, equipment, storage medium, and program product based on head movement. Background Art
[0002] With the rapid development of Internet technology, users can browse resource information such as video resources and product pages by operating intelligent terminal devices such as smartphones and portable laptops.
[0003] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: When users use the services of e-commerce platforms, they may maintain a fixed posture for a long time, resulting in discomfort in body parts such as the cervical spine of users. Summary of the Invention
[0004] In view of this, the present disclosure provides an interaction method, device, equipment, storage medium, and program product based on head movement.
[0005] One aspect of the present disclosure provides an interaction method based on head movement, including: displaying a plurality of prop objects of at least one type and a virtual object to perform a movement operation in an interaction interface; detecting the head movement posture of a target object to obtain a head posture detection result; controlling the virtual object to perform a movement operation in the interaction interface based on the movement state parameters corresponding to the head posture detection result to obtain a movement operation result; and generating target interaction data corresponding to the type of the target prop object in response to the movement operation result indicating that a preset condition is satisfied between the virtual object and a target prop object among the plurality of prop objects.
[0006] According to an embodiment of the present disclosure, the interaction method based on head movement further includes: displaying at least one frame of display image in a target window of the interaction interface, where the display image represents the head movement posture of the target object.
[0007] According to an embodiment of the present disclosure, the interaction method based on head movement further includes: determining cumulative interaction data based on the target interaction data corresponding to at least one type; and pushing target entitlement resources to the target object based on the cumulative interaction data.
[0008] According to an embodiment of the present disclosure, the interaction method based on head movement further includes: displaying a head movement statistical result determined based on at least one of the head posture detection results in the interaction interface; and / or displaying cumulative interaction data determined based on at least one of the target interaction data in the interaction interface.
[0009] According to an embodiment of the present disclosure, performing head motion pose detection on a target object to obtain a head pose detection result includes: determining facial key points based on a target image of the target object; determining a head pose line representing the head pose of the target object in a preset space based on the facial key points; and performing motion state detection on the head pose line to obtain the head pose detection result.
[0010] According to an embodiment of the present disclosure, performing motion state detection on the head pose line to obtain the head pose detection result includes: detecting a positional relationship between the head pose line and a preset reference line to obtain a head motion position; detecting a motion speed of the head pose line to obtain an associated motion speed associated with the head motion position; and determining a target detection result for changing an object motion state of the virtual object in response to the head motion position and the associated motion speed satisfying a preset evaluation condition, where the head pose detection result includes the target detection result.
[0011] According to an embodiment of the present disclosure, detecting a positional relationship between the head pose line and a preset reference line to obtain a head motion position includes: determining a first difference angle between the head pose line and the preset reference line in a preset plane parallel to the interaction interface; detecting a motion projection length of the head pose line moving to the first difference angle in the preset plane; determining a second difference angle between the head pose line and the preset plane based on projection length difference information between the motion projection length and a base projection length, where the base projection length is the projection length of the head pose line located at a specified reference position in the preset plane; and determining the head motion position based on the first difference angle and the second difference angle.
[0012] According to an embodiment of the present disclosure, the preset evaluation condition includes: the first difference angle is greater than or equal to a first preset angle threshold; the second difference angle is less than or equal to a second preset angle threshold; and the associated motion speed is greater than or equal to a preset speed threshold.
[0013] According to an embodiment of the present disclosure, the head pose detection result includes a motion disorder detection result indicating a risk of head motion disorder of the target object, where the motion disorder detection result indicates that at least one of the head motion position and the associated motion speed does not satisfy the preset evaluation condition; the method further includes: determining a motion disorder type based on the motion disorder detection result; and pushing target recommended resources related to the motion disorder type to the target object.
[0014] According to an embodiment of the present disclosure, the target recommended resources include at least one of the following: recommended commodity resources, commodity discount resources.
[0015] According to an embodiment of the present disclosure, controlling the virtual object to perform a motion operation in the interaction interface based on the motion state parameters corresponding to the above-mentioned head pose detection result includes: controlling the virtual object to perform a turning motion operation based on the motion direction parameters corresponding to the first target detection result, where the first target detection result characterizes the lateral head motion pose of the target object; controlling the virtual object to perform a jumping motion operation based on the jumping motion parameters corresponding to the second target detection result, where the second target detection result characterizes the upward head motion pose or the downward head motion pose of the target object, and the head pose detection result includes the first target detection result and the second target detection result.
[0016] According to an embodiment of the present disclosure, displaying a plurality of prop objects of at least one type and the virtual object to perform a motion operation in the interaction interface includes: in response to the duration that the head pose detection result characterizes the head of the target object maintaining a preset pose satisfying a preset duration condition, displaying the prop object and the moving virtual object in the interaction interface.
[0017] According to an embodiment of the present disclosure, in response to the motion operation result characterizing that a preset condition is satisfied between the virtual object and a target prop object among a plurality of the prop objects, generating target interaction data corresponding to the type of the target prop object includes: in response to the motion operation result characterizing that a preset condition is satisfied between the virtual object and the target prop object, displaying a target change form of the target prop object and the target interaction data in the interaction interface.
[0018] According to an embodiment of the present disclosure, the above-mentioned preset condition includes at least one of the following: a first preset condition that the distance between the virtual object and the target prop object in the interaction interface satisfies a first preset distance condition; a second preset condition that the shape of the motion trajectory of the virtual object in the interaction interface satisfies a preset trajectory shape condition, and the distance between the motion trajectory and the target prop object satisfies a second preset distance condition.
[0019] Another aspect of the present disclosure provides an interaction device based on head movement, including: a display module configured to display a plurality of prop objects of at least one type and a virtual object to perform a movement operation in an interaction interface; a detection module configured to detect a head movement posture of a target object to obtain a head posture detection result; a movement operation result obtaining module configured to control the virtual object to perform a movement operation in the interaction interface based on a movement state parameter corresponding to the head posture detection result to obtain a movement operation result; and a target interaction data generation module configured to generate target interaction data corresponding to the type of the target prop object in response to the movement operation result indicating that a preset condition is satisfied between the virtual object and the target prop object among the plurality of prop objects.
[0020] Another aspect of the present disclosure provides an electronic device, including:
[0021] One or more processors;
[0022] A memory configured to store one or more programs,
[0023] wherein, when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described above.
[0024] Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the method as described above when executed.
[0025] Another aspect of the present disclosure provides a computer program product, the computer program product including computer-executable instructions, which are used to implement the method as described above when executed.
[0026] According to an embodiment of the present disclosure, by displaying a plurality of prop objects and virtual objects in an interaction interface and controlling the virtual object to perform a motion operation based on the detection result of the head pose of the target object, the target object can implement an interaction operation for the virtual object based on the head motion. By making the virtual object approach or move away from the prop object according to the motion operation result to meet a preset condition, target interaction data corresponding to the type of the target prop object that meets the preset condition can be obtained. Thus, the target object can use the target interaction data to implement an interaction mode similar to a game interaction to motivate the target object to perform head motion, so as to enhance the interest of the target object in the interaction process based on head motion, relieve the cervical discomfort of the target object in other interaction scenarios such as browsing pages on an e-commerce shopping platform, enable the target object to improve the head discomfort problem in the process of performing an interaction operation on an Internet platform such as an e-commerce shopping platform based on the target interaction data generated by the interaction operation based on head motion, and further achieve the technical effects of improving the interaction operation efficiency of the target object, ensuring that the target object selects a commodity that meets the requirements, and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Through the following description of the embodiments of the present disclosure with reference to the drawings, the above and other objects, features, and advantages of the present disclosure will become clearer. In the drawings:
[0028] Figure 1 Schematically shows an exemplary system architecture to which an interaction method and device based on head motion can be applied according to an embodiment of the present disclosure;
[0029] Figure 2 Schematically shows a flowchart of an interaction method based on head motion according to an embodiment of the present disclosure;
[0030] Figure 3 Schematically shows an application scenario diagram of an interaction method based on head motion according to Embodiment 1 of the present disclosure;
[0031] Figure 4A Schematically shows an application scenario diagram of an interaction method based on head motion according to Embodiment 2 of the present disclosure;
[0032] Figure 4B Schematically shows an application scenario diagram of an interaction method based on head motion according to Embodiment 3 of the present disclosure;
[0033] Figure 4C Schematically shows an application scenario diagram of an interaction method based on head motion according to Embodiment 4 of the present disclosure;
[0034] Figure 4D Schematically shows an application scenario diagram of an interaction method based on head motion according to Embodiment 5 of the present disclosure;
[0035] Figure 4E Schematically shows an application scenario diagram of an interaction method based on head movement according to Embodiment 6 of the present disclosure;
[0036] Figure 5 Schematically shows the schematic diagram of an interaction method based on head movement according to an embodiment of the present disclosure;
[0037] Figure 6 Schematically shows a block diagram of an interaction device based on head movement according to an embodiment of the present disclosure; and
[0038] Figure 7 Schematically shows a block diagram of an electronic device suitable for implementing an interaction method based on head movement according to an embodiment of the present disclosure. Detailed implementation manners
[0039] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present disclosure.
[0040] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising" and the like used herein indicate the presence of the described features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
[0041] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0042] In the case of using expressions such as "at least one of A, B, and C", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).
[0043] In the embodiments of the present disclosure, in aspects such as the collection, update, analysis, processing, use, transmission, provision, disclosure, storage, etc. of the involved data (e.g., including but not limited to user personal information), it complies with the provisions of relevant laws and regulations, is used for legal purposes, and does not violate public order and good customs. In particular, necessary measures are taken for user personal information to prevent illegal access to user personal information data and to safeguard user personal information security, network security, and national security.
[0044] In the embodiments of the present disclosure, before obtaining or collecting user personal information, the authorization or consent of the user is obtained.
[0045] The inventor found that during the process of a user purchasing a product by browsing the product page of an e-commerce platform, the user's head posture will be maintained for a long time, which will cause discomfort in the user's cervical spine area, which will cause the user to suspend using the intelligent terminal device, making it difficult to select products that meet the requirements.
[0046] The embodiments of the present disclosure provide an interaction method, device, equipment, storage medium, and program product based on head movement. The interaction method based on head movement includes: displaying at least one type of multiple prop objects and a virtual object to be subjected to a movement operation in an interaction interface; performing head movement posture detection on a target object to obtain a head posture detection result; controlling the virtual object to perform a movement operation in the interaction interface based on a movement state parameter corresponding to the head posture detection result to obtain a movement operation result; and generating target interaction data corresponding to the type of the target prop object in response to the movement operation result indicating that a preset condition is satisfied between the virtual object and the target prop object among the multiple prop objects.
[0047] According to the embodiments of the present disclosure, by displaying multiple prop objects and a virtual object in the interaction interface and controlling the virtual object to perform a movement operation based on the head posture detection result of the target object, the target object can achieve an interaction operation for the virtual object based on head movement. By making the virtual object approach or move away from the prop object to satisfy the preset condition through the movement operation result, target interaction data corresponding to the type of the target prop object that satisfies the preset condition can be obtained, so that the target object can use the target interaction data to achieve a game-like interaction method to stimulate the target object to perform head movement, thereby enhancing the fun of the target object in the interaction process based on head movement, alleviating the cervical discomfort of the target object in other interaction scenarios such as browsing pages on an e-commerce shopping platform, enabling the target object to improve the head discomfort problem in the process of performing interaction operations on Internet platforms such as e-commerce shopping platforms based on the target interaction data generated by the interaction operation based on head movement, so as to improve the interaction operation efficiency of the target object, ensure that the target object selects products that meet the requirements, and further enhance the user experience.
[0048] Figure 1 Schematically shown is an exemplary system architecture to which the interactive method and apparatus based on head movement according to embodiments of the present disclosure can be applied. It should be noted that Figure 1 The illustration is only an example of the system architecture to which embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0049] As Figure 1 shown, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.
[0050] Users can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, and / or social platform software, etc. (only as examples).
[0051] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, and desktop computers, etc.
[0052] In one example, the first terminal device 101, the second terminal device 102, and the third terminal device 103 may have sensor devices such as a monocular camera, a depth camera, a lidar, etc. The sensor devices may be used to detect the head movement posture of a target object to obtain head movement posture data. The processors of the first terminal device 101, the second terminal device 102, and the third terminal device 103 may perform motion posture detection on the target object according to the head movement posture data.
[0053] The server 105 may be a server providing various services, such as a background management server that supports the websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (only as an example). The background management server may analyze and process data such as received user requests, and feedback the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0054] It should be noted that the interaction method based on head movement provided in the embodiments of the present disclosure can be executed by any one of the first terminal device 101, the second terminal device 102, and the third terminal device 103. Correspondingly, the interaction device based on head movement provided in the embodiments of the present disclosure can be disposed in any one of the first terminal device 101, the second terminal device 102, and the third terminal device 103. Alternatively, the interaction method based on head movement provided in the embodiments of the present disclosure can be executed by the server 105. Correspondingly, the interaction device based on head movement provided in the embodiments of the present disclosure can be disposed in the server 105. The interaction method based on head movement provided in the embodiments of the present disclosure can also be executed by a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105. Correspondingly, the interaction device based on head movement provided in the embodiments of the present disclosure can also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105. Alternatively, the interaction method based on head movement provided in the embodiments of the present disclosure can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or can also be executed by other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Correspondingly, the interaction device based on head movement provided in the embodiments of the present disclosure can also be disposed in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or can be disposed in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.
[0055] It should be understood that Figure 1 the numbers of the terminal devices, networks, and servers in
[0056] Figure 2 is merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers.
[0057] As Figure 2 shown, the interaction method based on head movement includes operations S210 to S240.
[0058] In operation S210, display a plurality of prop objects of at least one type and a virtual object for which a movement operation is to be performed in the interaction interface.
[0059] In operation S220, perform head movement posture detection on the target object to obtain a head posture detection result.
[0060] In operation S230, based on the motion state parameters corresponding to the head posture detection result, control the virtual object to perform a motion operation in the interaction interface to obtain a motion operation result.
[0061] In operation S240, in response to the motion operation result indicating that a preset condition is satisfied between the virtual object and the target prop object among multiple prop objects, generate target interaction data corresponding to the type of the target prop object.
[0062] According to an embodiment of the present disclosure, the interaction interface may include an operation interface of any type of interconnected network platform. For example, the interaction interface may be a product details page of an Internet e-commerce platform, a home page of a shopping platform, etc. The target object may be a user browsing the interaction interface.
[0063] According to an embodiment of the present disclosure, the prop object and the virtual object may be elements such as images and texts that can be displayed in the interaction interface and can perform interaction operations. The multiple prop objects may have one or more types, and each type of prop object may be associated with preset interaction data respectively. The virtual object can perform a motion operation in response to the head posture detection result of the target object, so that the moving virtual object approaches or moves away from any one of the prop objects, realizing that the target object performs an interaction operation on the virtual object in the interaction interface through head movement.
[0064] According to an embodiment of the present disclosure, performing head movement posture detection on the target object may include detecting head movement posture data such as a target image based on a target detection algorithm to obtain a head posture detection result. The head movement posture data may be collected by a sensor for the target object, and the head movement posture data may include any type of data such as an image and point cloud data representing the head posture of the target object. The target detection algorithm may include any type of machine learning algorithm such as a convolutional neural network algorithm and an attention network algorithm, and the specific manner of head movement posture detection in the embodiments of the present disclosure is not limited.
[0065] According to an embodiment of the present disclosure, the head posture detection result may represent the head posture of the target object at any specified moment. The head posture detection result may, for example, represent any type of head posture such as a head lateral swing posture, a head rotation posture, a head-up posture, and a head-down posture, and the embodiments of the present disclosure are not limited thereto.
[0066] According to embodiments of the present disclosure, multiple head pose detection results may have a mapping relationship with multiple different motion state parameters, and different motion state parameters may be used to control a virtual object to perform different types of motion operations, so that a target object can control the virtual object to perform different types of motion operations in an interaction interface based on diverse head motion postures. The motion operations may include any type of operation that can change the current motion state of the virtual object, such as forward motion operations, steering motion operations, jumping motion operations, etc. Embodiments of the present disclosure do not limit the specific motion types represented by the motion operations.
[0067] According to embodiments of the present disclosure, the motion operation result may represent operation results such as the position, shape, size, speed, etc. of the virtual object in the interaction interface after performing the motion operation. The preset condition may represent matching indexes such as the distance and shape similarity between the virtual object and the target prop object that meet a preset condition threshold. When the motion operation result represents that the virtual object and the target prop object meet the preset condition, target interaction data corresponding to the type of the target prop object may be generated. The target interaction data may include virtual reward values, such as interaction score addition data and interaction score subtraction data. However, it is not limited thereto. The target interaction data may also include data related to the resource to be recommended. For example, the target interaction data may include coupons, integral data, resource purchase links, etc. of the resource to be recommended.
[0068] In one example, the target interaction data can be displayed in the interaction interface. Multiple prop objects may represent product coupons of multiple products and resource images of the resources to be recommended. The target object can control the virtual object to perform diverse motion operations according to different motion state parameters through head motion, so that the virtual object can meet the preset condition with the target prop object that meets the demand intention of the target object through the motion operation result generated by performing the motion operation, and then obtain resource information corresponding to the product type of the target prop object. This can allow the target object to relieve cervical discomfort through head motion while accurately recommending resource information to the target object, so as to improve the accuracy and interest of resource recommendation, and further improve the user experience.
[0069] According to embodiments of the present disclosure, displaying at least one type of multiple prop objects and a virtual object to perform a motion operation in the interaction interface includes: in response to the duration that the head pose detection result represents that the head of the target object maintains a preset pose meeting a preset duration condition, displaying the prop object and the moving virtual object in the interaction interface.
[0070] According to embodiments of the present disclosure, before displaying the virtual object and the prop object in the interaction interface, head motion pose detection may be performed on the target object to obtain a head pose detection result.
[0071] In one example, after the target object logs in to the e-commerce platform and obtains the authorization of the target object, the head movement posture of the target object can be detected to obtain the head posture detection results at multiple moments. Based on the head posture detection results at multiple moments, it is determined whether the head of the target object maintains a preset posture within a preset duration, so as to determine whether the duration for which the head posture detection results at multiple moments represent that the head of the target object maintains the preset posture meets the preset duration condition.
[0072] According to an embodiment of the present disclosure, when the duration for which the head posture detection results represent that the head of the target object maintains the preset posture meets the preset duration condition, the interactive interface is controlled to display a virtual object and a plurality of prop objects, which can prompt and motivate the target object to move the cervical spine part by executing the interactive method based on head movement provided in the embodiment of the present disclosure, so as to prevent the occurrence of neck fatigue of the target object.
[0073] Figure 3 The application scenario diagram of the interactive method based on head movement according to Embodiment 1 of the present disclosure is schematically shown.
[0074] As Figure 3 shown, the interactive interface 300 in Embodiment 1 may include 3 runways divided by dotted lines. The plurality of prop objects may include a bomb prop object 311 of the bomb type, a traffic cone prop object 312 of the traffic cone type, and a virtual game coin object 313 corresponding to the virtual game coin type. The target object may be a user who is looking straight at the interactive interface 300. The virtual object 301 may be a virtual person moving upward in the runway at a preset speed. The target object can generate a head movement posture of head left swing or head right swing by swinging the head horizontally. By detecting the head movement posture of the target object, a head movement posture representing head left swing or head right swing can be obtained, so that the virtual object 301 can be controlled to turn to the left runway or the right runway.
[0075] Figure 4A The application scenario diagram of the interactive method based on head movement according to Embodiment 2 of the present disclosure is schematically shown.
[0076] As Figure 4AAs shown, in Embodiment 2, the interaction interface 400 may include 3 runways divided by dashed lines. The multiple prop objects may include a bomb prop object 411 of the bomb type, a flag barrel prop object 412 of the flag barrel type, and a virtual game coin prop object 413 corresponding to the virtual game coin type. The target object may be a user facing the interaction interface 400 straight on. The virtual object 401 may be a virtual person moving upward in the middle runway of the interaction interface 400 at a preset speed. The target object may achieve a head movement posture representing a right head swing by swinging the right side of the head. By detecting the head movement posture of the target object, a head movement posture representing a right head swing is obtained, so that the virtual object 401 can be controlled to turn from the middle runway to the right runway. Thus, the virtual object 401 approaches the virtual game coin prop object 413 at a preset speed. When a preset condition is met between the virtual object 401 and the virtual game coin prop object 413, target interaction data of "+10 points" can be obtained.
[0077] Figure 4B FIG. schematically shows an application scenario diagram of the interaction method based on head movement according to Embodiment 3 of the present disclosure.
[0078] As Figure 4B As shown, in Embodiment 3, the interaction interface 400 may include 3 runways divided by dashed lines. The multiple prop objects may include a bomb prop object 411 of the bomb type, a flag barrel prop object 412 of the flag barrel type, and a virtual game coin prop object 413 corresponding to the virtual game coin type. The target object may be a user facing the interaction interface 400 straight on. The virtual object 401 may be a virtual person moving upward in the left runway of the interaction interface 400 at a preset speed. The target object may achieve a head movement posture representing a right head swing by swinging the head to the right. By detecting the head movement posture of the target object, a head movement posture representing a right head swing is obtained, so that the virtual object 401 can be controlled to turn from the left runway to the middle runway. Thus, the virtual object 401 approaches the flag barrel prop object 412 at a preset speed. When a preset condition is met between the virtual object 401 and the flag barrel prop object 412, target interaction data of "-10 points" can be obtained.
[0079] Figure 4C FIG. schematically shows an application scenario diagram of the interaction method based on head movement according to Embodiment 4 of the present disclosure.
[0080] As Figure 4CAs shown, in Embodiment 4, the interaction interface 400 may include 3 runways divided by dotted lines. The multiple prop objects may include a bomb prop object 411 of the bomb type, a traffic cone prop object 412 of the traffic cone type, and a virtual game coin object 413 corresponding to the virtual game coin type. The target object may be a user facing the interaction interface 400. The virtual object 401 may be a virtual person moving upward in the middle runway of the interaction interface 400 at a preset speed. The target object may achieve a head movement posture representing a left head swing posture by swinging the head to the left. By detecting the head movement posture of the target object, a head movement posture representing a left head swing is obtained, so that the virtual object 401 can be controlled to turn from the middle runway to the left runway. Thus, the virtual object 401 approaches the bomb prop object 411 at a preset speed. When preset conditions are met between the virtual object 401 and the bomb prop object 411, target interaction data of "health value -1" can be obtained.
[0081] In one example, the virtual object in the interaction interface may move in a preset direction at a preset speed. The motion state parameters may change the motion state of the virtual moving object based on two mutually perpendicular directions.
[0082] In one example, during multiple preset time periods for displaying the target virtual object and the prop object, the movement of the virtual object may be controlled at a speed corresponding to the preset time period.
[0083] In one example, the movement speed of the virtual object in three different preset time periods may be controlled based on the speed change content shown in Table 1 below. The movement direction of the virtual object is controlled based on the head movement posture detection result.
[0084] Table 1
[0085]
[0086] According to an embodiment of the present disclosure, controlling a virtual object to perform a movement operation in an interaction interface based on motion state parameters corresponding to head posture detection results includes: controlling the virtual object to perform a turning movement operation based on motion direction parameters corresponding to a first target detection result; controlling the virtual object to perform a jumping movement operation based on jumping motion parameters corresponding to a second target detection result.
[0087] According to an embodiment of the present disclosure, the head posture detection result includes a first target detection result and a second target detection result. The first target detection result represents the head lateral movement posture of the target object. The head lateral movement posture may include lateral swinging or lateral rotation of the head in a preset plane where the shoulders of the target object are located. The motion direction parameters may correspond to the head movement direction of the head lateral movement posture.
[0088] According to an embodiment of the present disclosure, controlling a virtual object to perform a steering motion operation may include changing the motion direction of the virtual object that is currently in a motion state, so as to move away from or approach a target prop object.
[0089] According to an embodiment of the present disclosure, the second target detection result characterizes the head-up motion posture or the head-down motion posture of the target object. The target object controls the virtual object to jump through the head-down posture or the head-up posture to enable the target object to perform diverse head motions.
[0090] According to an embodiment of the present disclosure, the interaction method based on head motion further includes: displaying at least one frame of display image in a target window of the interaction interface.
[0091] According to an embodiment of the present disclosure, the display image characterizes the head motion posture of the target object. For example, the display image may be an image collected by the intelligent terminal device during the head motion of the user. By displaying one or more frames of display images during the execution of the interaction method, it can help the target object timely understand and correct the head motion actions, so that the target object can be prompted to correct the non-standard head motion on the stage based on the timely displayed display images, and the head motion posture of the target object can be corrected in a timely manner.
[0092] According to an embodiment of the present disclosure, in response to the motion operation result indicating that a preset condition is satisfied between the virtual object and a target prop object among a plurality of the prop objects, generating target interaction data corresponding to the type of the target prop object includes: in response to the motion operation result indicating that the preset condition is satisfied between the virtual object and the target prop object, displaying a target change form of the target prop object and the target interaction data in the interaction interface.
[0093] According to an embodiment of the present disclosure, the target change form may correspond to the type of the target prop object, and the target change form may indicate that a preset condition is satisfied between the virtual object and the target prop object in the interaction interface. For example, it may indicate that the virtual object in the interaction interface collides with the target prop object.
[0094] Figure 4D Schematically shows an application scenario diagram of the interaction method based on head motion according to Embodiment 5 of the present disclosure.
[0095] As Figure 4DAs shown, in Embodiment 5, the target object can be a user facing the interaction interface 400. The virtual object 401 can be a virtual human moving upward above the interaction interface 400 in the middle track at a preset speed. The target object can achieve a head movement posture representing a left head swing by swinging the head to the left. By detecting the head movement posture of the target object, a head movement posture representing a left head swing is obtained, so that the virtual object 401 can be controlled to turn from the middle track to the left track. Thus, the virtual object 401 approaches the bomb prop object 411 at a preset speed. When preset conditions are met between the virtual object 401 and the bomb prop object 411, target interaction data of "health value -1" can be obtained, and a target change form 414 corresponding to the type of the bomb prop object 411 can also be displayed in the interaction interface 400. The target change form 414 can be a form object representing the explosion of the bomb prop object 411, to prompt the type of the target prop object and the type of the target interaction data collided by the target object during the interaction based on head movement. A target window Z401 can also be displayed in the interaction interface 400, and the target window Z401 can display in real time a target image P401 representing the current head movement posture of the target object, so that the target object can correct the head movement posture in time through the target image feedback of the interaction interface 400.
[0096] According to an embodiment of the present disclosure, the preset conditions include at least one of a first preset condition and a second preset condition.
[0097] The first preset condition represents that the distance between the virtual object and the target prop object in the interaction interface meets a first preset distance condition. For example, it can indicate that the distance between the virtual object and the target object in the interaction interface is zero, which can be understood as a collision between the virtual object and the target object in the interaction interface. Or the first preset distance condition can also be designed based on actual needs, and the specific distance value represented by the first distance preset condition in the embodiments of the present disclosure is not limited.
[0098] The second preset condition represents that the shape of the movement trajectory of the virtual object in the interaction interface meets a preset trajectory shape condition, and the distance between the movement trajectory and the target prop object meets a second preset distance condition.
[0099] According to an embodiment of the present disclosure, the movement trajectory shape can represent a set of trajectory points traveled by the virtual object in the interaction interface during a preset time period. The preset trajectory shape condition can represent any type of trajectory shape such as a circle, an arc, a broken line, etc. The movement trajectory shape of the virtual object can be obtained by controlling the virtual object to perform a movement operation based on one or more movement state parameters corresponding to the head posture detection results of the target object.
[0100] According to an embodiment of the present disclosure, the second preset distance condition may be the same as or different from the second preset distance condition, and the second preset distance condition may also be designed based on actual requirements. The embodiment of the present disclosure does not limit the specific distance value represented by the second preset distance condition.
[0101] According to an embodiment of the present disclosure, when the shape of the movement trajectory of the virtual object satisfies the preset trajectory shape condition and the distance between the movement trajectory and the target prop object satisfies the second preset distance condition, the target interaction data with the target prop object is determined. This can enable the target object to achieve interaction through the virtual object by means of relatively complex and diverse head movement methods, so as to enhance the interest of the interaction method based on head movement, improve the head movement effect of the target object, and further enable the target object to obtain interaction data through head movement action postures in multiple directions, so as to enhance the alleviating effect on cervical spine problems.
[0102] According to an embodiment of the present disclosure, the interaction method based on head movement further includes: determining cumulative interaction data based on the target interaction data corresponding to at least one type; and pushing target entitlement resources to the target object based on the cumulative interaction data.
[0103] According to an embodiment of the present disclosure, the cumulative interaction data may include the accumulated value of multiple target interaction data, but is not limited thereto. The cumulative interaction data may also include interaction data with multiple attributes obtained by processing multiple target interaction data based on a preset interaction rule. For example, the cumulative interaction data may include the cumulative reward points obtained by the target object in the current interaction round, the remaining cumulative health value of the virtual object, the head movement duration, etc. The embodiment of the present disclosure does not limit the specific type of the cumulative interaction data.
[0104] According to an embodiment of the present disclosure, the target entitlement resources may include any type of target object demand resources such as shopping discount resources and shopping permission resources that the target object needs to obtain, or the target entitlement resources may also include platform entitlement resources such as coupon resources and integral resources that the platform needs to issue to the target object.
[0105] According to an embodiment of the present disclosure, by determining the cumulative interaction data based on the target interaction data of at least one type and pushing the target entitlement resources to the target object based on the cumulative interaction data, it is possible to motivate the target object to accurately obtain required entitlement resources such as coupons and integral points through standard head movement postures, so as to improve the head movement effect.
[0106] According to an embodiment of the present disclosure, the interaction method based on head movement further includes: displaying, on the interaction interface, a head movement statistical result determined based on at least one head pose detection result.
[0107] According to an embodiment of the present disclosure, the head movement statistics may include the number of times the target object shakes its head during the interaction process. For example, the head movement statistics may include the number of left head shakes, the number of right head shakes, and so on.
[0108] According to an embodiment of the present disclosure, the head movement-based interaction method further includes: displaying cumulative interaction data determined based on at least one target interaction data on an interaction interface.
[0109] According to an embodiment of the present disclosure, cumulative interaction data such as cumulative scores and cumulative exercise results can be displayed on the interactive interface to prompt the target object of the rewards in the current round of interaction, so as to facilitate the target object to promote more target objects to participate in the head movement-based interaction method provided by an embodiment of the present disclosure through interactive operations such as forwarding or sharing.
[0110] Figure 4E The application scenario diagram of the head movement-based interaction method according to Embodiment 6 of the present disclosure is schematically shown.
[0111] like Figure 4E As shown, the result display box Z411 of the interactive interface 400 in Example 6 can display the accumulated interaction data including that the current round incentive score of the target object for executing the interactive method in this round is 888 points, and the score rating of this round is S. The result display box Z411 can also display the head movement statistics including: 16 head movements in this round, and 25 head movements this week.
[0112] According to an embodiment of the present disclosure, head movement posture detection is performed on a target object to obtain a head posture detection result, including: determining facial key points based on a target image of the target object; based on the facial key points, determining a head posture line that characterizes the head posture of the target object in a preset space; and performing motion state detection on the head posture line to obtain a head posture detection result.
[0113] According to an embodiment of the present disclosure, the target image may be obtained by capturing an image of the target object under the condition that the target object is informed of the purpose of obtaining information in advance and the target object is authorized. Facial key points may include any specified points related to the face in the target image, for example, the facial key points may be key points related to the eyes and the nose. The target image may be processed based on a target detection algorithm to obtain facial key points.
[0114] According to an embodiment of the present disclosure, determining a head posture line representing the head posture of a target object in a preset space based on facial key points may include determining the head posture line based on a connecting line between a plurality of facial key points.
[0115] In one example, the facial key points may be two eye key points corresponding to the eyes, and a nose tip key point corresponding to the nose tip. The head pose line may be obtained by connecting the midpoint of the line segment between the two eye key points and the nose tip key point. The position of the head pose line in the preset space may represent the head pose of the target object in the preset space.
[0116] It should be noted that the preset space may include a two-dimensional space or a three-dimensional space set based on a preset coordinate system. The coordinate position of the head pose line in the preset coordinate system of the preset space may represent the head pose of the target object in the preset space, such as the vertical standard pose, the horizontal head-turning pose, the head-down pose, etc.
[0117] According to an embodiment of the present disclosure, detecting the motion state of the head pose line to obtain a head pose detection result may include detecting the coordinate position change data of the head pose line in the preset space. The head pose detection result may represent at least one coordinate position of the head pose line in the preset space.
[0118] In one example, the facial key points may be represented based on the three-dimensional point coordinates in a preset three-dimensional space, and the coordinate position of the head pose line may be represented based on the three-dimensional coordinate position in the preset three-dimensional space. When the target object makes a head movement, the head pose line will change its position in the preset three-dimensional space, and the three-dimensional coordinate positions of the head pose line at multiple moments obtained may be used as the head pose detection results at multiple moments.
[0119] It should be noted that the three-dimensional point coordinates of the facial key points may be obtained by detecting key points in a target image with depth information.
[0120] According to an embodiment of the present disclosure, detecting the motion state of the head pose line to obtain a head pose detection result includes: detecting the positional relationship between the head pose line and a preset reference line to obtain a head movement position; detecting the movement speed of the head pose line to obtain an associated movement speed associated with the head movement position; and in response to the head movement position and the associated movement speed satisfying a preset evaluation condition, determining a target detection result for changing the object motion state of the virtual object. The head pose detection result includes the target detection result.
[0121] According to an embodiment of the present disclosure, the preset reference line may be set in the same preset space as the head pose line, and the preset reference line may represent the state where the target object's head is upright. Detecting the positional relationship between the head pose line and the preset reference line may include detecting data such as the angle and distance between the head pose line and the preset reference line, which characterize the relative positional relationship. The head movement position may include relative positional relationship data such as the distance and angle between the head pose line and the preset reference line in the preset space at at least one moment during the head movement process.
[0122] According to an embodiment of the present disclosure, detecting the movement speed of the head posture line may include detecting the displacement amount of any one or more points on the head posture line within a preset time period. For example, the displacement amount of the midpoint or endpoint of the head posture line within the preset time period may be detected. The associated movement speed associated with the head movement position may represent the movement speed of the head posture line when the head posture line reaches a specified head movement position. There is a mapping relationship between the specified head movement position and the associated movement speed.
[0123] In one example, the specified head movement position may represent that the offset angle of the head of the target object enables the head movement position of the head posture line to relieve the muscles in the cervical spine area, and the specified head movement position may be determined based on relevant institutions or qualified personnel.
[0124] According to an embodiment of the present disclosure, the head movement position and the associated movement speed satisfying a preset evaluation condition may include that the associated movement speed is greater than or equal to a preset speed threshold, and the angle between the head movement position and a preset reference line is greater than or equal to a preset angle threshold, so that the preset condition can represent that the head movement amplitude and rate of the target object meet the standards of cervical spine movement. When the head movement position and the associated movement speed satisfy the preset evaluation condition, determining the target detection result, and controlling the virtual object to perform a movement operation based on the movement state parameters corresponding to the target detection result, so as to motivate and guide the target object to move the cervical spine in accordance with the standard head movement posture that meets the preset evaluation condition, and reduce the problem of cervical spine pain that occurs when the target object uses the intelligent terminal, so as to improve the user experience.
[0125] In one example, in response to at least one of the head movement position and the associated movement speed not satisfying the preset evaluation condition, a continuous movement control parameter for maintaining the current movement state of the virtual object may be determined, so as to prompt that the head movement posture of the target object does not satisfy the preset evaluation condition, and further motivate the target object to perform head movement in accordance with the standard head movement posture.
[0126] According to an embodiment of the present disclosure, detecting the head movement position by detecting the positional relationship between the head posture line and a preset reference line includes: determining a first difference angle between the head posture line and the preset reference line in a preset plane parallel to the interaction interface; detecting the movement projection length of the head posture line moving to the first difference angle in the preset plane; based on the projection length difference information between the movement projection length and the base projection length; and based on the first difference angle and the projection length difference information, determining the head movement position.
[0127] According to an embodiment of the present disclosure, the preset plane may represent the plane where the connection line between the shoulder key points of the target object is located. The first difference angle may represent the angle at which the head of the target object swings laterally towards the shoulder.
[0128] In one example, the preset plane parallel to the interaction interface may indicate the acquisition projection plane of the image acquisition device for acquiring the target image of the target object.
[0129] In one example, the first difference angle may represent the included angle between the head pose line projection of the head pose line moved to the specified position in the preset plane and the preset reference line.
[0130] According to an embodiment of the present disclosure, the basic projection length is the projection length of the head pose line located at the specified reference position in the preset plane. The specified reference position may be associated with the target object's head controlling the center position between the shoulders, and the head pose line at the specified reference position may represent the target object's head controlling the centered pose. In the case where the target object controls the head in the centered pose, the basic projection length may represent the length of the head pose line in the preset plane.
[0131] According to an embodiment of the present disclosure, the moving projection length of the head pose line moved to the first difference angle in the preset plane may be represented as the length of the head pose line moved to the first difference angle (or understood as moved to the specified position) in the target image. When the head pose line moves by the first difference angle in the preset plane, the moving projection length is the same as the reference projection length.
[0132] According to an embodiment of the present disclosure, the projection length difference information may include the ratio between the moving projection length and the reference projection length, or the projection length difference information may include the difference between the moving projection length and the reference projection length.
[0133] In one example, the moving projection length may be used as the first side of a triangle, and the reference projection length may be used as the second side of the triangle. Based on the ratio between the first side and the second side, the included angle between the first side and the second side can be determined, and then the second difference angle can be determined.
[0134] Figure 5 Schematically shows the principle diagram of the interaction method based on head movement according to an embodiment of the present disclosure.
[0135] As Figure 5As shown, after the head movement of the target object, the head movement posture detection of the target object can be triggered to obtain the coordinate position of the head posture line L502 in the preset space. There is a spatial angle between the preset reference line L501 in the three-dimensional preset space and the head posture line L502. When the head posture line L502 moves to the specified position, the angle between the head posture line L502 and the preset reference line L501 in the preset plane can be made the first difference angle A501.
[0136] The preset reference line L501 can be set in the preset plane 500, and the head posture line L502 can obtain the head posture line projection 502 in the preset plane 500. Assuming that the head posture line L502 and the preset reference line L501 have the same length, and the target object maintains the standard head posture at the initial moment, the reference projection length can be made the same as the length of the preset reference line L501. By taking the moving projection length of the head posture line projection 502 as the first side of the triangle, the length of the preset reference line L501 as the reference projection length, and the second side of the reference projection length triangle, based on the ratio between the first side and the second side, the angle between the first side and the second side can be determined, and then the second difference angle can be determined.
[0137] According to an embodiment of the present disclosure, when the moving projection length is the same as the reference projection length, the head movement of the target object keeps the neck in a straight standard state without the situation of the neck tilting forward or backward during the movement.
[0138] According to an embodiment of the present disclosure, when the projection length difference information between the moving projection length and the reference projection length is relatively large, it can be determined that the head posture line does not move in the preset plane, and the head movement of the target object shows the situation of the neck tilting forward. When the second difference angle is greater than the preset difference angle threshold, it can be determined that the head movement of the target object tilts forward severely and needs to correct the head movement posture. Thus, by determining the head movement position that does not meet the preset evaluation conditions, the current movement state of the virtual object can be maintained to prompt the target object to correct the non-standard head movement posture.
[0139] According to an embodiment of the present disclosure, determining the head movement position based on the first difference angle and the second difference angle may include determining the first difference angle and the second difference angle as the head movement position. When the first difference angle is greater than or equal to the first preset angle threshold corresponding to the preset evaluation threshold and the second difference angle is less than the second preset angle threshold corresponding to the preset evaluation threshold, it can be determined that the head movement position meets the preset evaluation conditions, and thus a movement direction parameter corresponding to the swing direction of the head posture line is generated to control the virtual object to change the movement direction based on the movement direction parameter.
[0140] According to an embodiment of the present disclosure, the preset evaluation conditions may further include: the first difference angle is greater than or equal to a first preset angle threshold; the second difference angle is less than or equal to a second preset angle threshold; and the associated movement speed is greater than or equal to a preset speed threshold.
[0141] According to an embodiment of the present disclosure, determining the head movement position based on the first difference angle and the second difference angle may include determining the first difference angle and the second difference angle as the head movement position. When the first difference angle is greater than or equal to the first preset angle threshold corresponding to the preset evaluation threshold, the second difference angle is less than the second preset angle threshold corresponding to the preset evaluation threshold, and the associated movement speed is greater than or equal to the preset speed threshold, it may be determined that the head movement position meets the preset evaluation conditions, and thus a movement direction parameter corresponding to the swing direction of the head posture line is generated to control the virtual object to change the movement direction based on the movement direction parameter.
[0142] According to an embodiment of the present disclosure, the head posture detection result includes a movement disorder detection result indicating a risk of head movement disorder of the target object, and the movement disorder detection result indicates that at least one of the head movement position and the associated movement speed does not meet the preset evaluation conditions.
[0143] In one example, the movement disorder detection result indicating that the head movement position does not meet the preset evaluation conditions may indicate that the target object has difficulty moving the head to the specified position, and the movement disorder detection result may prompt that the target object has health risks such as neck muscle tension and cervical spine injury, so as to facilitate the target object to timely discover or confirm the health risks, enabling the target object to correct the non-standard head posture or solve the health risk problem in a relatively timely manner.
[0144] In one example, the movement disorder detection result indicating that the associated movement speed does not meet the preset evaluation conditions may indicate that the head movement performed by the target object in accordance with the standard head movement method is relatively slow, and thus it may be prompted that the target object should perform more head movements to relieve the physical pressure on the cervical spine.
[0145] In one example, the movement disorder detection result indicating that both the head movement position and the associated movement speed do not meet the preset evaluation conditions may prompt that the current head movement posture disorder of the target object is relatively serious, so as to prompt the target object to take necessary corrective measures or relevant medical measures in a timely manner.
[0146] According to an embodiment of the present disclosure, the interaction method based on head movement further includes: determining the type of movement disorder based on the movement disorder detection result; and pushing target recommended resources related to the type of movement disorder to the target object.
[0147] According to an embodiment of the present disclosure, the movement disorder type may indicate the type of movement disorder risk existing in the head movement of the target object. The movement disorder type may be obtained by processing the movement disorder detection result based on authoritative movement rehabilitation guidance information. The movement disorder type may be, for example, slow left head swing, forward head swing, etc.
[0148] In one example, the movement disorder detection result may include at least one of a first difference angle, a second difference angle, and an associated movement speed. At least one of the first difference angle, the second difference angle, and the associated movement speed may be processed based on authoritative movement rehabilitation guidance information to determine the movement disorder type.
[0149] In one example, the movement disorder detection result may include whether at least one of the first difference angle, the second difference angle, and the associated movement speed meets a preset evaluation condition. The movement disorder type may be determined based on whether at least one of the first difference angle, the second difference angle, and the associated movement speed meets the preset evaluation condition.
[0150] According to an embodiment of the present disclosure, the target recommended resources related to the movement disorder type may include rehabilitation product purchase link resources, rehabilitation product discount resources, Internet-dependent service resources, etc. The specific resource types of the target recommended resources in the embodiments of the present disclosure are not limited, as long as they can meet the requirements related to the movement disorder type.
[0151] In one example, resource search may be performed based on the movement disorder type to obtain a target recommendation that matches the movement disorder type.
[0152] According to an embodiment of the present disclosure, the target recommended resources include at least one of the following: recommended commodity resources, commodity discount resources.
[0153] According to an embodiment of the present disclosure, the recommended commodity resources may include commodities such as rehabilitation health products, rehabilitation devices, and sports devices corresponding to the head movement disorder type.
[0154] According to an embodiment of the present disclosure, the commodity discount resources may include discount resources for purchasing commodities such as coupons and point vouchers corresponding to rehabilitation health products, rehabilitation devices, and sports devices.
[0155] In one example, the interactive method based on head movement provided by the embodiments of the present disclosure may be executed based on the following content.
[0156] Perform facial recognition binding operation. When the user permission is not obtained, a pop-up window is displayed on the interaction interface, and the copywriting displayed in the pop-up window is: "Allow "Move Your Neck" to use your camera permission"; when the target object (user) clicks the button "Allow" on the interaction interface, enter the in-game page; click the button "Disallow" to exit to the entrance page. After successfully obtaining the user authorization, record the authorization status and no longer display the authorization pop-up window. After the facial authorization of the user is successfully recognized, automatically jump to the in-game page after 1 second, and the in-game page displays the prop object and the virtual object.
[0157] Display page elements. The page elements include health value, speed display, score display, road surface, rider (virtual object) and prop object. The prop objects include virtual game coin props, traffic cone props and bomb props.
[0158] The health value indicates that the user can obtain 3 health values each time entering the game. Touching the bomb prop will consume 1 time, and 1 health value can be obtained by sharing the game link. The maximum number of shares per game is 3 times. The speed indicates that the user's forward speed is displayed, with the minimum being 0 km / h and the maximum being 20 km / h. The score display is to count the total target interaction data score obtained in the game. The road surface is divided into three lanes, and the props in the game randomly appear in the lanes. The user can be detected of the head movement posture by shaking the head left and right, and then control the rider to enter the corresponding lane according to the movement state parameters corresponding to the head movement posture.
[0159] Virtual game coin prop: It is the core element that the user needs to accumulate in the game and is used for calculating the user's final score. Traffic cone prop: When the virtual object touches the traffic cone, the speed decreases and 50 scores are deducted. Bomb prop: When the virtual object touches the bomb, the health value is reduced by 1. If the health value is greater than 0, the game can continue.
[0160] In the in-game process page of the interaction interface, when it is detected that the user turns the head to the left, the rider can be controlled to move to the left lane. When it is detected that the user's head is centered, the rider can be controlled to stay in the middle lane; when the user shakes the head to the right, the rider can be controlled to enter the right lane. Collect the target image through the camera of intelligent terminals such as smart phones, and identify the head movement posture detection result by detecting the target image.
[0161] When the camera is blocked or the facial key points cannot be recognized, prompt "Facial not recognized, please adjust in time" on the interaction interface, and the game is paused. Wait until the face is recognized again and then continue the game. If the face cannot be successfully recognized within 10 seconds, the game ends.
[0162] Among them, by setting a target detection algorithm for the intelligent terminal to identify the facial key points in the target image, the facial key points include the key points representing the positions of eyes, nose, mouth, etc. The head posture line can be the line connecting the midpoint of the eye connection line and the tip of the nose. When the head posture detection result represented by the head posture line meets the preset evaluation conditions, the rider is controlled to change lanes. When the head posture detection result represented by the head posture line does not meet the preset evaluation conditions and it is recognized that the head movement is not standard, the user is prompted on the interaction interface: "Please maintain a standard posture. Your cervical vertebrae look forward to your careful care~"
[0163] The scoring logic can be expressed as follows: when the rider collides with virtual game coin props, 10 or 20 points are added. When the rider collides with cone props, 50 points are deducted, and at the same time, the speed is reduced by 3 points. Continuous collision with cone props can stack the deceleration effect, and the slowest can be reduced to 0 km / h. When the rider collides with bomb props, 1 point of health value is deducted, and the effect of the rider falling to the ground is shown on the interaction interface. If the health value is greater than 0, the game process can continue, and the speed and score are retained. After deducting all the health values of the current virtual object, if the user does not share to revive, the game ends and the result report page is entered.
[0164] When the user clicks "Share and Revive Immediately" on the interaction interface, the picture sharing page can be entered, and the game link is forwarded to other friends. The user can revive up to 3 times by sharing this game. After exceeding, the revival guide pop-up window is no longer shown. After successful forwarding, 1 point of health value can be obtained. After clicking "Continue Game", the game state can be returned to, and the game process can continue (the obtained score and speed remain unchanged, and start from the death position). Within 8 seconds of the countdown, if the user does not click the share button, the result report page will be automatically jumped to after the countdown ends.
[0165] The result report page on the interaction interface shows the game score of this round and the corresponding rating. For example, the game score and sports rating of this round can be shown based on Table 2.
[0166] Table 2
[0167]
[0168] For another example, the number of cervical vertebrae relief actions (head movement actions) in this round of the game and the cumulative number of times of cervical vertebrae relief actions in history can be shown based on Table 3.
[0169] Table 3
[0170]
[0171] In an example, a target recommended resource can be generated based on either the number of cervical vertebrae relief actions (head movement actions) or the cumulative number of times of cervical vertebrae relief actions in history, such as coupon resources, limited commodity resources, etc. that the target object needs.
[0172] In one example, under the condition of user authorization, the user's target interaction data and head movement action data can be synchronously uploaded to the cloud server, so as to rank and display the target interaction data and head movement action data of multiple friends of the user.
[0173] In one example, the method provided by the embodiments of the present disclosure can be executed based on the client installed on the intelligent terminal device and the deployed server. The client is used for: requesting the user's login interface, pulling basic information such as the user's nickname, avatar, authorization information, etc., and storing the user's game score and action statistics data for this game. Obtaining the camera usage permission, and calling the camera to obtain the user's target image in real time and display it on the game page. Identifying the position of the key points on the user's face, monitoring the number of user lives, when it is equal to 0 and there is no resurrection chance, entering the report page, calculating scores and levels according to the movement performance in the game, requesting leaderboard data, and obtaining information such as nicknames, scores, rankings, etc. The server is used for: providing an interface for obtaining login data and an interface for obtaining the leaderboard, obtaining the corresponding leaderboard data according to the corresponding request data of the client, receiving the client's request for obtaining the leaderboard data, querying the database according to the user carried by the client's request, and returning the latest leaderboard data to the client.
[0174] Figure 6 A block diagram of an interaction device based on head movement according to an embodiment of the present disclosure is schematically shown.
[0175] As Figure 6 shown, the interaction device 600 based on head movement includes a display module 610, a detection module 620, a movement operation result obtaining module 630, and a target interaction data generating module 640.
[0176] The display module 610 is configured to display at least one type of multiple prop objects and a virtual object to be subjected to a movement operation in the interaction interface.
[0177] The detection module 620 is configured to perform head movement posture detection on the target object to obtain a head posture detection result.
[0178] The movement operation result obtaining module 630 is configured to control the virtual object to perform a movement operation in the interaction interface based on the movement state parameters corresponding to the head posture detection result to obtain a movement operation result.
[0179] The target interaction data generating module 640 is configured to generate target interaction data corresponding to the type of the target prop object in response to the movement operation result indicating that a preset condition is satisfied between the virtual object and the target prop object among the multiple prop objects.
[0180] According to an embodiment of the present disclosure, the detection module 620 includes: a facial key point determination sub-module, a head pose line determination sub-module, and a motion state detection sub-module.
[0181] The facial key point determination sub-module is configured to determine facial key points according to a target image of a target object.
[0182] The head pose line determination sub-module is configured to determine a head pose line representing the head pose of the target object in a preset space based on the facial key points.
[0183] The motion state detection sub-module is configured to perform motion state detection on the head pose line to obtain a head pose detection result.
[0184] According to an embodiment of the present disclosure, the motion state detection sub-module includes: a position relationship detection unit, an associated motion speed acquisition unit, and a target detection result acquisition unit.
[0185] The position relationship detection unit is configured to perform position relationship detection on the head pose line and a preset reference line to obtain a head motion position.
[0186] The associated motion speed acquisition unit is configured to detect the motion speed of the head pose line to obtain an associated motion speed associated with the head motion position.
[0187] The target detection result acquisition unit is configured to determine a target detection result for changing the object motion state of the virtual object in response to the head motion position and the associated motion speed satisfying a preset evaluation condition, and the head pose detection result includes the target detection result.
[0188] According to an embodiment of the present disclosure, performing position relationship detection on the head pose line and a preset reference line to obtain a head motion position includes: a first determination sub-unit, a detection sub-unit, a second determination sub-unit, and a third determination sub-unit.
[0189] The first determination sub-unit is configured to determine a first difference angle between the head pose line and the preset reference line in a preset plane parallel to the interaction interface.
[0190] The detection sub-unit is configured to detect the motion projection length of the head pose line moving to the first difference angle in the preset plane.
[0191] The second determination sub-unit is configured to determine a second difference angle between the head pose line and the preset plane based on the projection length difference information between the motion projection length and the base projection length, where the base projection length is the projection length of the head pose line located at a specified reference position in the preset plane.
[0192] The third determination sub-unit is configured to determine the head motion position based on the first difference angle and the second difference angle.
[0193] According to an embodiment of the present disclosure, the preset evaluation conditions include: the first difference angle is greater than or equal to the first preset angle threshold; the second difference angle is less than or equal to the second preset angle threshold; and the associated movement speed is greater than or equal to the preset speed threshold.
[0194] According to an embodiment of the present disclosure, the head pose detection result includes a movement disorder detection result indicating the risk of a head movement disorder of the target object, and the movement disorder detection result indicates that at least one of the head movement position and the associated movement speed does not meet the preset evaluation conditions.
[0195] The interaction device 600 based on head movement further includes: a first determination module and a push module.
[0196] The first determination module is configured to determine the type of movement disorder based on the movement disorder detection result.
[0197] The push module is configured to push target recommended resources related to the type of movement disorder to the target object.
[0198] According to an embodiment of the present disclosure, the target recommended resources include at least one of the following: recommended commodity resources, commodity discount resources.
[0199] According to an embodiment of the present disclosure, the movement operation result acquisition module 630 includes:
[0200] The first control sub-module is configured to control the virtual object to perform a turning movement operation based on the movement direction parameter corresponding to the first target detection result, where the first target detection result represents the head horizontal movement pose of the target object.
[0201] The second control sub-module is configured to control the virtual object to perform a jumping movement operation based on the jumping movement parameter corresponding to the second target detection result, where the second target detection result represents the head-up movement pose or the head-down movement pose of the target object, and the head pose detection result includes the first target detection result and the second target detection result.
[0202] According to an embodiment of the present disclosure, the display module 610 includes a display sub-module.
[0203] The display sub-module is configured to display a prop object and a moving virtual object in the interaction interface in response to the duration for which the head pose detection result indicates that the head of the target object maintains a preset pose meeting the preset duration condition.
[0204] According to an embodiment of the present disclosure, the interaction device based on head movement further includes a first display module.
[0205] The first display module is configured to display at least one frame of display image in a target window of the interaction interface, where the display image represents the head movement pose of the target object.
[0206] According to an embodiment of the present disclosure, the interaction device based on head movement further includes: an accumulated interaction data determination module and a target interest resource push module.
[0207] The accumulated interaction data determination module is configured to determine accumulated interaction data based on target interaction data corresponding to at least one type.
[0208] The target interest resource push module is configured to push a target interest resource to a target object based on the accumulated interaction data.
[0209] According to an embodiment of the present disclosure, the interaction device based on head movement further includes a first display module.
[0210] The first display module is configured to display a head movement statistical result determined based on at least one head pose detection result on an interaction interface.
[0211] According to an embodiment of the present disclosure, the interaction device based on head movement further includes a second display module.
[0212] The second display module is configured to display the accumulated interaction data determined based on at least one target interaction data on an interaction interface.
[0213] According to an embodiment of the present disclosure, the target interaction data generation module 640 includes a second display sub-module.
[0214] The second display sub-module is configured to, in response to a motion operation result indicating that a preset condition is satisfied between a virtual object and a target prop object, display a target change form and target interaction data of the target prop object on an interaction interface.
[0215] According to an embodiment of the present disclosure, the preset conditions include at least one of the following: a first preset condition, representing that the distance between the virtual object and the target prop object in the interaction interface satisfies a first preset distance condition; a second preset condition, representing that the shape of the movement trajectory of the virtual object in the interaction interface satisfies a preset trajectory shape condition, and the distance between the movement trajectory and the target prop object satisfies a second preset distance condition. Any plurality of, or at least part of the functions of any plurality of, the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be split into multiple modules for implementation. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system in a package, an application specific integrated circuit (ASIC), or can be implemented by any other reasonable way of integrating or packaging the circuit, in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Alternatively, one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding functions can be executed.
[0216] For example, any combination of the display module 610, the detection module 620, the motion operation result obtaining module 630, and the target interaction data generation module 640 may be combined and implemented in one module / unit / sub-unit, or any one of the modules / units / sub-units may be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units may be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the display module 610, the detection module 620, the motion operation result obtaining module 630, and the target interaction data generation module 640 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system in a package, an application specific integrated circuit (ASIC), or any other reasonable way of integrating or packaging circuits, etc., implemented by hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in any suitable combination of several of them. Alternatively, at least one of the display module 610, the detection module 620, the motion operation result obtaining module 630, and the target interaction data generation module 640 may be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.
[0217] It should be noted that the part of the interaction device based on head movement in the embodiments of the present disclosure corresponds to the part of the interaction method based on head movement in the embodiments of the present disclosure. For the description of the part of the interaction device based on head movement, please refer to the part of the interaction method based on head movement for details, and will not be elaborated here.
[0218] Figure 7 A block diagram of an electronic device suitable for implementing the interaction method based on head movement according to an embodiment of the present disclosure is schematically shown. Figure 7 The electronic device shown is only an example and should not impose any limitation on the functions and the scope of use of the embodiments of the present disclosure.
[0219] Such as Figure 7As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage section 708 into a random access memory (RAM) 703. The processor 701 can include, for example, a general-purpose microprocessor (e.g., CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 can also include on-board memory for caching purposes. The processor 701 can include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0220] In the RAM 703, various programs and data required for the operation of the electronic device 700 are stored. The processor 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. The processor 701 performs various operations of the method flow according to an embodiment of the present disclosure by executing the programs in the ROM 702 and / or the RAM 703. It should be noted that the program can also be stored in one or more memories other than the ROM 702 and the RAM 703. The processor 701 can also perform various operations of the method flow according to an embodiment of the present disclosure by executing the programs stored in the one or more memories.
[0221] According to an embodiment of the present disclosure, the electronic device 700 can further include an input / output (I / O) interface 705, and the input / output (I / O) interface 705 is also connected to the bus 704. The electronic device 700 can further include one or more of the following components connected to the input / output (I / O) interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read from it can be installed into the storage section 708 as needed.
[0222] According to an embodiment of the present disclosure, the method flow according to the embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described systems, devices, apparatuses, modules, units, etc. can be implemented by computer program modules.
[0223] The present disclosure also provides a computer-readable storage medium, which may be included in the device / device / system described in the above embodiment; or may exist separately without being assembled into the device / device / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0224] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include but is not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
[0225] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the above-described ROM 702 and / or RAM 703 and / or one or more memories other than ROM 702 and RAM 703.
[0226] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program includes program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to cause the electronic device to implement the interaction method based on head movement provided by the embodiment of the present disclosure.
[0227] When the computer program is executed by the processor 701, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the above-described systems, devices, modules, units, etc. can be implemented by computer program modules.
[0228] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices and magnetic storage devices. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code included in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0229] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include but are not limited to, such as Java, C++, python, the "C" language, or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).
[0230] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code, which contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions. Those skilled in the art will appreciate that the features described in the various embodiments of the present disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.
[0231] The embodiments of the present disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present disclosure.
Claims
1. An interactive method based on head movement, comprising: Displaying multiple prop objects of at least one type and a virtual object to be subjected to motion operation in an interactive interface; Perform head movement posture detection on the target object to obtain the head posture detection result; Controlling the virtual object to perform a motion operation in the interactive interface based on a motion state parameter corresponding to the head posture detection result to obtain a motion operation result; as well as In response to the motion operation result indicating that a preset condition is satisfied between the virtual object and a target prop object among the plurality of prop objects, target interaction data corresponding to the type of the target prop object is generated.
2. The method according to claim 1, further comprising: At least one frame of display image is displayed in the target window of the interactive interface, wherein the display image represents the head movement posture of the target object.
3. The method according to claim 1, further comprising: Determining cumulative interaction data based on target interaction data corresponding to at least one type; as well as Push target equity resources to the target object based on the accumulated interaction data.
4. The method according to claim 1, further comprising: Displaying, on the interactive interface, a head movement statistical result determined based on at least one of the head posture detection results; and / or The accumulated interaction data determined based on at least one of the target interaction data is displayed on the interaction interface.
5. The method according to claim 1, wherein: Perform head movement posture detection on the target object, and obtain the head posture detection results including: Determining facial key points based on a target image of the target object; Based on the facial key points, determining a head posture line representing the head posture of the target object in a preset space; and The motion state of the head posture line is detected to obtain the head posture detection result.
6. The method according to claim 5, wherein: Performing motion state detection on the head posture line to obtain the head posture detection result includes: Detecting the position relationship between the head posture line and a preset reference line to obtain the head movement position; Detecting the movement speed of the head posture line to obtain an associated movement speed associated with the head movement position; and In response to the head movement position and the associated movement speed satisfying a preset evaluation condition, a target detection result for changing the object movement state of the virtual object is determined, and the head posture detection result includes the target detection result.
7. The method according to claim 6, wherein: Detecting the position relationship between the head posture line and the preset reference line to obtain the head movement position includes: Determine a first difference angle between the head posture line and the preset reference line in a preset plane parallel to the interactive interface; Detecting a motion projection length of the head posture line moving to the first difference angle on the preset plane; Determining a second difference angle between the head posture line and the preset plane based on projection length difference information between the motion projection length and a basic projection length, wherein the basic projection length is a projection length of the head posture line at a specified reference position on the preset plane; and Based on the first difference angle and the second difference angle, the head movement position is determined.
8. The method according to claim 7, wherein: The preset evaluation conditions include: The first difference angle is greater than or equal to a first preset angle threshold; The second difference angle is less than or equal to a second preset angle threshold; and The associated movement speed is greater than or equal to a preset speed threshold.
9. The method according to claim 6 or 8, wherein: The head posture detection result includes a movement disorder detection result indicating that the target object has a risk of head movement disorder, and the movement disorder detection result indicates that at least one of the head movement position and the associated movement speed does not meet the preset evaluation condition; The method further comprises: determining a movement disorder type based on the movement disorder detection result; as well as Push target recommended resources related to the movement disorder type to the target object.
10. The method according to claim 9, wherein: The target recommendation resource includes at least one of the following: Recommended product resources and product discount resources.
11. The method according to claim 1, wherein: Controlling the virtual object to perform a motion operation in the interactive interface based on the motion state parameter corresponding to the head posture detection result includes: Based on a motion direction parameter corresponding to a first target detection result, controlling the virtual object to perform a turning motion operation, wherein the first target detection result represents a lateral motion posture of the head of the target object; Based on the jumping motion parameters corresponding to the second target detection result, the virtual object is controlled to perform a jumping motion operation, wherein the second target detection result represents the head-up motion posture or the head-down motion posture of the target object, and the head posture detection result includes the first target detection result and the second target detection result.
12. The method according to claim 1, wherein: Displaying multiple prop objects of at least one type in the interactive interface, and the virtual objects to be moved include: In response to the head posture detection result indicating that the time length during which the head of the target object maintains a preset posture meets a preset time length condition, the prop object and the moving virtual object are displayed in the interactive interface.
13. The method according to claim 1, wherein: In response to the motion operation result indicating that a preset condition is satisfied between the virtual object and a target prop object among the plurality of prop objects, generating target interaction data corresponding to the type of the target prop object includes: In response to the motion operation result indicating that a preset condition is satisfied between the virtual object and the target prop object, a target change form of the target prop object and the target interaction data are displayed in an interaction interface.
14. The method according to claim 1 or 13, wherein: The preset condition includes at least one of the following: A first preset condition, indicating that the distance between the virtual object and the target prop object in the interactive interface satisfies a first preset distance condition; The second preset condition indicates that the shape of the motion trajectory of the virtual object in the interactive interface satisfies a preset trajectory shape condition, and the distance between the motion trajectory and the target prop object satisfies a second preset distance condition.
15. An interactive device based on head movement, comprising: A display module, used for displaying a plurality of prop objects of at least one type and a virtual object to be subjected to a motion operation in an interactive interface; A detection module is used to detect the head movement posture of the target object and obtain the head posture detection result; A motion operation result obtaining module, used for controlling the virtual object to perform a motion operation in the interactive interface based on the motion state parameter corresponding to the head posture detection result, to obtain a motion operation result; as well as The target interaction data generating module is used to generate target interaction data corresponding to the type of the target prop object in response to the motion operation result indicating that a preset condition is satisfied between the virtual object and a target prop object among the plurality of prop objects.
16. An electronic device comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 14.
17. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 14.
18. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 14.