Special effect display method and device, equipment and storage medium

By dynamically adjusting the display posture of the special effect object in response to the execution of the equipment in the special effect display, the problem that the special effect object cannot follow the rotation adjustment in the prior art is solved, and a more realistic and natural display effect and a higher visual perception are achieved.

CN119672270APending Publication Date: 2025-03-21BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311233490.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-21
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the display of special effects props, special effects objects cannot adjust their display postures according to rotation when the electronic device rotates, resulting in a decrease in visual perception and does not conform to the physical laws of the real world.

Method used

By responding to the posture adjustment operation of the execution device, the display posture of the special effect object is dynamically adjusted so that it follows the rotation change of the execution device, ensuring that the display posture is associated with the posture information of the execution device.

Benefits of technology

The display posture of the special effect object is more realistic and natural, conforms to the laws of physics, improves the visual perception, and enhances the practicality of the special effect display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119672270A_ABST
    Figure CN119672270A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a special effect display method and device, equipment and a storage medium, and the method comprises the steps: responding to a triggering operation of a target special effect in execution equipment, and displaying a special effect object related to the target special effect in a first display posture, the execution equipment is provided with first posture information, and the first display posture is determined based on the first posture information; in response to a pose adjustment operation of the execution device, the special effect object is adjusted from the first display pose to a second display pose to be displayed, the pose adjustment operation comprises rotation of the execution device, and the execution device has second pose information different from the first pose information; the second display posture is determined based on the second posture information. By means of the method, it can be guaranteed that the display posture of the special effect object is correspondingly adjusted along with changes of the posture of the execution device, and therefore it is guaranteed that the display posture of the displayed special effect object better conforms to the physical law in the real world and is more real and natural, and the visual impression of the displayed special effect object is better improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of image processing technology, and in particular to a special effects display method, device, equipment and storage medium. Background Art

[0002] With the development of network technology, augmented reality (AR) technology is increasingly used in entertainment applications such as live broadcast, short video interactive entertainment, etc. The AR special effects props provided can enhance the visual effects of real picture content in the live broadcast interface, short video interface and even interactive entertainment interface.

[0003] However, in the existing display of special effects props, the special effects objects involved in the special effects props will always be displayed with a fixed direction as the direction of gravity during the rotation of the electronic device. This display posture is inconsistent with the physical laws in the real world, thereby reducing the visual perception of the displayed special effects objects. Summary of the invention

[0004] The present disclosure provides a special effect display method, device, equipment and storage medium, so that the display posture of a special effect object can change with the rotation of an electronic device, thereby showing a better special effect display effect.

[0005] In a first aspect, an embodiment of the present disclosure provides a special effect display method, the method comprising:

[0006] In response to a triggering operation of a target special effect in an execution device, displaying a special effect object related to the target special effect in a first display posture, wherein the execution device has first posture information, and the first display posture is determined based on the first posture information;

[0007] In response to a posture adjustment operation of the execution device, the special effect object is adjusted from the first display posture to a second display posture for display, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

[0008] In a second aspect, the embodiments of the present disclosure further provide a special effects display device, the device comprising:

[0009] A first response module, configured to respond to a triggering operation of a target special effect in an execution device and display a special effect object related to the target special effect in a first display posture, wherein the execution device has first posture information, and the first display posture is determined based on the first posture information;

[0010] A second response module is used to adjust the special effect object from the first display posture to a second display posture for display in response to a posture adjustment operation of the execution device, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

[0011] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0012] one or more processors;

[0013] a storage device for storing one or more programs,

[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the special effects display method provided in the first aspect of the embodiment of the present disclosure.

[0015] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to implement the special effects display method provided in the first aspect of the embodiments of the present disclosure.

[0016] The disclosed embodiments provide a special effect display method, apparatus, device and storage medium, the method comprising: first, in response to a triggering operation of a target special effect in an execution device, displaying a special effect object involved in the target special effect in a first display posture, wherein the execution device has first posture information, and the first display posture is determined based on the first posture information; then, in response to a posture adjustment operation of the execution device, the special effect object is adjusted from the first display posture to a second display posture for display, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information. The above technical solution associates the display posture of the special effect object with the posture information of the execution device, and after the target special effect is triggered for special effect display, the display posture of the special effect object involved in the target special effect can be determined according to the posture of the execution device, and it can ensure that the display posture of the special effect object is adjusted accordingly with the change of the posture of the execution device, thereby ensuring that the display posture of the presented special effect object is more real and natural. Compared with the prior art, the display method of the special effect objects in the present technical solution is more in line with the physical laws in the real world, thereby better improving the visual perception of the displayed special effect objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0018] Figure 1a A display effect diagram of the special effects before the execution device rotates is given;

[0019] Figure 1b A display effect diagram of a special effect display using an existing special effect display method after the execution device rotates is given;

[0020] Figure 2 A flow chart of a special effect display method provided by an embodiment of the present disclosure is given;

[0021] Figure 3 A display effect diagram of a special effect display performed by using the special effect display method provided by the embodiment of the present disclosure after the execution device rotates is provided;

[0022] Figure 4 A structural schematic diagram of a special effect display device provided by an embodiment of the present disclosure;

[0023] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0027] It should be noted that the concepts such as "first" and "target" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0032] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0033] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0034] It should be noted that one of the application scenarios of the special effects display method provided in this embodiment can be described as: in an entertainment interactive scenario of trying on clothes, assuming that a scarf special effect to be tried on is selected and a trigger operation for the scarf special effect is generated, the tried-on scarf can be displayed on the neck of the wearer; in this try-on scenario, assuming that the execution device held by the wearer is in a posture state where the screen interface is presented as a vertical screen, the vertical screen direction can be regarded as the default falling direction of the special effects scarf being tried on, whereby the special effects scarf being tried on can fall downward along the vertical screen direction during the display process.

[0035] Continuing with the above description, when the wearer adjusts the posture state of the execution device, such as adjusting the execution device from a portrait state to a landscape state, in the existing special effects display method, since the portrait screen direction of the execution device is assumed to be the falling direction of the special effects scarf being tried on, even if the execution device has been rotated from a portrait screen to a landscape screen, the special effects scarf being tried on will still fall along the default falling direction.

[0036] For example, Figure 1a A display effect diagram of the special effects before the execution device rotates is given. Figure 1a As shown, the posture state of the execution device 1 is in the portrait state. In the try-on scenario, the screen interface in the portrait state presents the captured image information of the main object 10 (the wearer). It can be seen that the main object 10 is displayed in a form adapted to the portrait state in the portrait state; after the scarf special effect in the try-on scenario is triggered, the special effect scarf 11 involved is displayed on the neck of the main object 10, and the direction from the top to the bottom of the screen of the execution device 1 in the portrait state is regarded as the default falling direction, then the special effect scarf 11 is displayed with the tail end falling along the falling direction.

[0037] Following the above description, Figure 1a Based on the scenario shown, Figure 1b A display effect diagram of a special effect display using an existing special effect display method after the execution device rotates is given, such as Figure 1b As shown, the posture state of the execution device 1 is rotated from the portrait state to the landscape state, and the main object 10 presented in the screen interface is adjusted to be displayed in a form suitable for the landscape screen; but the display posture of the triggered special effect scarf 11 cannot be adjusted along with the posture state of the execution device 1, and the special effect scarf 11 is still displayed with the tail end hanging down along the default falling direction (the corresponding gravity direction in the portrait state).

[0038] It can be seen that when the posture state of the executing device is adjusted, the actual direction of gravity has changed from top to bottom in the portrait state to top to bottom in the landscape state, while the special effects scarf is still displayed from top to bottom in the portrait state, which is inconsistent with the physical law that objects fall along the direction of gravity in the real world, affecting the display effect of the special effects scarf.

[0039] This embodiment provides a special effect display method, which can effectively solve the above-mentioned problems existing in the existing special effect display.

[0040] Specifically, Figure 2 A flow chart of a special effect display method provided by an embodiment of the present disclosure is given. The embodiment of the present disclosure is applicable to the case where a special effect display is performed on a triggered target special effect. The method can be executed by a special effect display device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device as an execution terminal, which can be a mobile terminal, a PC or a server, etc.

[0041] like Figure 2 As shown, a special effect display method provided by an embodiment of the present disclosure specifically includes the following operations:

[0042] S210. In response to a triggering operation of a target special effect in an execution device, display a special effect object related to the target special effect in a first display posture, wherein the execution device has a first posture information, and the first display posture is determined based on the first posture information.

[0043] In this embodiment, it can be considered that entertainment interactive application software is installed on the execution device, and special effect function plug-ins are integrated in this type of application software, which provides different types of special effect props. Different special effect props have different special effect functions. The visual effects of real picture content can be enriched by triggering special effect props during the entertainment interaction process.

[0044] It can be known that the integrated special effects function plug-in can be displayed in the interactive interface of the application software in the form of a special effects prop box or a special effects prop list, from which the operator can select the special effects props he wants to use. The selected special effects props can be recorded as the target special effects, and by selecting the target special effects, a trigger operation for the target special effects can be generated.

[0045] In this embodiment, this step can be used to respond to the trigger operation of the generated target special effect to achieve special effect rendering of the target special effect, and the special effect content actually to be presented after the selected target special effect is rendered can be recorded as the special effect object involved in the target special effect. The special effect object to be presented after rendering in this step will be displayed in the relevant application screen of the execution device in the first display posture. Among them, the execution device can be understood as an electronic device that executes the method provided in this embodiment, and the posture information of the execution device when responding to the trigger operation can be recorded as the first posture information, and the first posture information can be used to determine the first display posture of the special effect object when it is displayed.

[0046] In this embodiment, the display posture of the special effect object can be understood as the display direction or form of the special effect object in the relevant application screen. Taking the special effect props with drape in the try-on special effect as an example, such as special effect scarves, special effect necklaces, etc., the corresponding display posture may include the direction in which the tail of the special effect scarf falls, or the direction in which the tail of the special effect necklace falls, etc. For example, the display posture of the special effect water flow may include the direction in which the special effect water flow shows, etc.

[0047] In this embodiment, the posture information of the execution device can be understood as the movement and spatial orientation information of the execution device in three-dimensional space, and its posture information can be obtained by collecting information through sensors built into the execution device (such as gyroscopes, acceleration sensors, magnetic sensors, etc.). An implementation method of determining the display posture of the special effect object through posture information can be described as follows: the spatial orientation information of the execution device can be determined through the posture information, and the target orientation to which the gravity direction of the execution device under the posture points can also be determined through the spatial orientation information; at the same time, the default display orientation information that affects the display direction of the special effect object can be obtained. If it is detected that the target orientation pointed by the gravity direction of the execution device does not match the default display orientation information of the special effect object, the spatial coordinate information corresponding to the execution device in the spatial coordinate system can be used to compensate for the default display orientation information, so that the display orientation of the special effect object is adjusted to coincide with the target orientation, thereby the posture of the special effect object when the target orientation is used as the display direction can be used as the first display posture corresponding to the execution device under the first posture information.

[0048] S220. In response to a posture adjustment operation of the execution device, the special effect object is adjusted from the first display posture to a second display posture for display, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

[0049] In this embodiment, after the special effect objects involved in the triggered target special effect are displayed through the above steps, during the display of the special effect objects, the posture of the executing device is adjusted. This embodiment can detect the posture adjustment of the executing device and respond to the posture adjustment operation of the executing device through this step.

[0050] It can be known that the posture adjustment of the execution device causes the posture information it possesses to change. In this embodiment, the posture information possessed by the execution device after the posture adjustment can be recorded as the second posture information, which is equivalent to the first posture information being changed to the second posture information after the posture adjustment. In this embodiment, it can be considered that the posture adjustment process of the execution device includes the rotation adjustment of the execution device. For example, the execution device can be rotated 90 degrees forward or 90 degrees reverse, from the original vertical screen state to the horizontal screen state. This embodiment is not limited to the rotation from the vertical screen to the horizontal screen, and other rotation angles can also be performed.

[0051] In this embodiment, since the display posture of the special effect object is related to the posture information of the execution device, the posture adjustment of the execution device will affect the display posture of the special effect object. In this embodiment, the display posture of the special effect object can be adjusted from the first display posture to the second display posture for display under the condition that the execution device changes from the first posture information to the second posture information. The second display posture can also be determined by the second posture information.

[0052] The process of determining the second display posture can be described as: extracting the spatial orientation information of the execution device contained in the second posture information, and also obtaining the default display orientation information on which the special effect object display depends. If the gravity orientation determined by the execution device based on the spatial orientation information is different from the default display orientation information, then the spatial coordinate information corresponding to the execution device in the spatial coordinate system can be used to compensate for the default display orientation information, so that the display orientation of the special effect object is adjusted to coincide with the target orientation. In this way, the posture of the special effect object when it takes the target orientation as the display direction can be used as the second display posture corresponding to the execution device under the second posture information.

[0053] It can be seen that in this embodiment, the display posture of the special effect object is associated with the posture of the execution device. As long as the posture of the execution device is adjusted, the display posture of the presented special effect object is also adjusted accordingly.

[0054] In order to better understand the method provided in this embodiment, an example is further given for illustration. First, Figure 1aThe special effect display scene shown is regarded as a display effect diagram of the special effect scarf performing special effect display in the first display posture when the execution device has the first posture information. In this example, the method provided by this embodiment can be used to determine that the first display posture of the special effect scarf is to let the tail end of the special effect scarf fall from the top to the bottom of the screen in the vertical screen state.

[0055] Following the above description, Figure 1a Based on the scenario shown, Figure 3 A display effect diagram of a special effect display performed by the special effect display method provided by the embodiment of the present disclosure after the execution device rotates is provided, such as Figure 3 As shown, the posture state of the execution device 3 is rotated and adjusted from the portrait state to the landscape state, and the main object 30 presented in the screen interface is also adjusted to be displayed in a form suitable for the landscape state; but the display posture of the special effect scarf 11 that is triggered to be presented will also change with the posture adjustment of the execution device 3. It can be seen that the method provided in this embodiment can determine the second display posture of the special effect scarf 31, and the second display posture can be described as the special effect scarf 31 hanging down with its tail end along the direction from the top to the bottom of the screen in the landscape state.

[0056] It can be seen that, through the method provided in this embodiment, when the posture state of the execution device is adjusted, the second display posture of the special effect scarf can be re-determined, so that the special effect scarf is adjusted from the display from top to bottom in the vertical screen state to the display from top to bottom in the horizontal screen state. The adjusted display posture of the special effect scarf conforms to the physical law that objects fall along the direction of gravity in the real world, thereby making the display of the special effect scarf more real and natural.

[0057] The present embodiment provides a special effect display method, which associates the display posture of the special effect object with the posture information of the execution device, and can determine the display posture of the special effect object involved in the target special effect according to the posture of the execution device after triggering the target special effect to display the special effect, and can ensure that the display posture of the special effect object is adjusted accordingly with the change of the posture of the execution device, thereby ensuring that the display posture of the presented special effect object is more real and natural. Compared with the prior art, the display method of the special effect object in this technical solution is more in line with the physical laws in the real world, thereby better improving the visual perception of the displayed special effect object.

[0058] As a first optional embodiment of this embodiment, on the basis of the above embodiment, it can be preferred to record the first posture information and the second posture information as device posture information, and record the first display posture and the second display posture as object display posture.

[0059] In this embodiment, whether the first posture information or the second posture information possessed by the execution device can be regarded as the device posture information of the execution device; similarly, whether the first display posture or the second display posture presented by the special effect object can also be regarded as the object display posture of the special effect object. Considering that the display posture of the special effect object is determined based on the posture information of the execution device, therefore, whether the first display posture is determined based on the first posture information or the second display posture is determined based on the second posture information, it can be regarded as the object display posture determined based on the device posture information.

[0060] On the basis of the above-mentioned preferred embodiment, the first optional embodiment may further specify the step of determining the object display posture of the special effect object based on the device posture information as follows:

[0061] a1) determining a reference coordinate system on which the device posture information is based, and extracting device orientation information of the execution device from the device posture information.

[0062] Generally, the sensor set in the execution device needs to rely on a spatial coordinate system to collect posture information. In this embodiment, the spatial coordinate system on which the sensor relies for data information collection can be determined as the reference coordinate system. In this embodiment, the posture information collected by the sensor can be recorded as device posture information, which can be the first posture information or the second posture information corresponding to the execution device.

[0063] It can be known that, for the execution device, the posture information collected in a certain posture includes the spatial orientation information of the execution device in the three-dimensional space. This step can extract the device orientation information of the execution device from the device posture information. Among them, the device orientation information can be represented by the spatial coordinate information in the reference coordinate system.

[0064] b1) determining the target orientation information corresponding to the device orientation information in a target coordinate system, wherein the target coordinate system is the coordinate system based on which the special effect object is displayed.

[0065] In this embodiment, the space coordinate system that the special effects props rely on when displaying the special effects is often set according to the different special effects functions presented by the special effects props. The space coordinate systems used by different special effects props may be different, and may also be different from the reference coordinate system based on which the execution device collects posture information. This embodiment can determine the coordinate system based on which the special effects object involved in the target special effects is displayed according to the special effects attribute information of the target special effects, and record the coordinate system as the target coordinate system.

[0066] For example, the reference coordinate system based on which the execution device collects posture information may be a coordinate system with the z axis formed in a direction perpendicular to the horizontal plane in space, and the x axis and y axis formed on a plane parallel to the horizontal plane and passing through the origin. The target coordinate system based on the target special effect may be a coordinate system with the z axis in a direction perpendicular to the screen of the execution device, and the x axis and y axis formed on the plane formed by the screen.

[0067] The device orientation information obtained in this embodiment is mainly determined based on the reference coordinate system. In order to facilitate the subsequent determination of the display posture of the special effect object, it is necessary to convert the device orientation information to the target coordinate system to obtain the corresponding target orientation information in the target coordinate system.

[0068] On the basis of the above-mentioned embodiment of the first optional embodiment, determining the target position information corresponding to the device position information in the target coordinate system may be further specified as follows:

[0069] b11) determining coordinate transformation information corresponding to transforming the reference coordinate system to the target coordinate system, wherein the coordinate transformation information includes: coordinate translation information and / or coordinate rotation information.

[0070] In this embodiment, when the reference coordinate system and the target coordinate system are different, the reference coordinate system and the target coordinate system can be coincident by performing conversion operations such as rotation and / or translation of the coordinate axes of the reference coordinate system. This step can determine the coordinate conversion information corresponding to the reference coordinate system to the target coordinate system based on the coordinate system information respectively possessed by the reference coordinate system and the target coordinate system. The coordinate conversion information includes the coordinate translation information and / or coordinate rotation information involved in the conversion operation.

[0071] b12) performing information conversion on the device orientation information according to the coordinate conversion information, and determining the spatial coordinate information formed after the conversion as the target orientation information.

[0072] In this embodiment, the device orientation information can be specifically represented by spatial coordinate information. After determining the coordinate conversion information for converting the reference coordinate system to the target coordinate system, the spatial coordinate information in the reference coordinate system can also be converted into the corresponding coordinate information in the target coordinate system through the coordinate conversion information, and recorded as the target orientation information corresponding to the execution device.

[0073] c1) determining an object display posture of the special effect object according to the target orientation information.

[0074] In this embodiment, after determining the target orientation information corresponding to the execution device in the target coordinate system, the object display posture of the special effect object can be determined through this step. Analysis shows that the object display posture of the special effect object can be specifically expressed as the display direction and display orientation of the special effect object in the relevant application screen. In order to display the special effect object in a display orientation that conforms to the laws of physics, it is necessary to determine the gravity orientation corresponding to the execution device in this position, thereby determining the object display posture of the special effect object that matches the gravity orientation.

[0075] In this embodiment, when the execution device has the target orientation information, it can determine the corresponding gravity orientation through the target orientation information. The target special effect is pre-configured with default display orientation information together with the special effect object to be presented during the design stage. If the execution device detects that the default display orientation information of the special effect object does not match the gravity orientation determined by the target orientation information when presenting it in the posture corresponding to the target orientation information, it is equivalent to a problem that the display of the special effect object does not comply with the laws of physics. It is necessary to adjust the display orientation of the special effect object based on the orientation difference between the default display orientation information and the gravity orientation, so that the display posture presented by the special effect object in the display can meet the condition of falling to the gravity orientation.

[0076] This embodiment can determine the display posture of the special effect object falling towards the gravity direction as the object display posture, wherein this embodiment can adjust the key points on the object model of the special effect object through the orientation difference, so that the object model of the special effect object can render the effect of display orientation adjustment.

[0077] The above technical solution of this first optional embodiment provides a specific implementation of determining the display posture of the special effect object based on the device posture information of the execution device. This implementation takes into account the influence of the device orientation information of the execution device on the display posture of the special effect object, and determines the object display posture that can be achieved by adjusting the display direction of the special effect object through the device orientation information. This technical solution provides the underlying logical support for the special effect object to change with the change of the execution device posture.

[0078] On the basis of the above embodiment of the first optional embodiment, the object display posture of the special effect object can be determined according to the target orientation information and further specified as follows:

[0079] c11) determining the gravity orientation information of the execution device relative to the device screen according to the target orientation information.

[0080] In this embodiment, the target orientation information gives the device orientation of the execution device in the target coordinate system. In this embodiment, the direction pointing to the center of the earth in the target coordinate system can be determined as the gravity orientation. Considering that the special effect object is displayed in a two-dimensional plane on the execution device, it is necessary to determine the projection direction corresponding to the gravity orientation in three-dimensional space on the projection plane formed by the device screen of the execution device.

[0081] In this embodiment, the projection direction can be recorded as the gravity orientation of the execution device relative to the device screen. This step can characterize the gravity orientation information of the execution device relative to the device screen in combination with the target orientation information. For example, the projection information of the target orientation information on the device screen and the projection coordinate system can be determined, and the gravity orientation formed by the projection can be represented according to the projection information and the projection coordinate system to form the gravity orientation information.

[0082] c12) acquiring default display orientation information pre-set for the special effect object, and determining a target coordinate axis associated with the display posture of the special effect object from the target coordinate system.

[0083] In this embodiment, in the design stage of the target special effect, the default display orientation can be configured for the special effect object involved in the target special effect, and the default display orientation information of the default display orientation can be recorded. The default display orientation information can be the spatial orientation information of the object model that the special effect object depends on in the three-dimensional space, or it can be the corresponding projection orientation information on the device screen after two-dimensional projection.

[0084] For example, during the special effect design process, the gravity orientation information when the execution device is in a vertical screen state is usually used as the default display orientation information.

[0085] It can be known that the display posture adjustment of the special effect object is often related to a certain coordinate axis or several coordinate axes in the coordinate system, and the associated coordinate axis information can also be recorded in advance. In this embodiment, the coordinate axis associated with the display posture adjustment of the special effect object can be recorded as the target coordinate axis, and the pre-recorded target coordinate axis information can be obtained.

[0086] Exemplarily, the display posture adjustment of the special effect object may be related to the z-axis in the target coordinate system. In this step, the z-axis can be recorded as the target coordinate axis.

[0087] c13) Determine the linkage control information corresponding to the special effect object based on the default display orientation information and the gravity orientation information, wherein the linkage control information is data information of the linkage point created relative to the special effect object, and the linkage point is bound to at least part of the object key points in the object model of the special effect object.

[0088] In this embodiment, after determining the gravity orientation information and the default display orientation information, it can be determined whether the default display orientation represented by the default display orientation information is consistent with the gravity orientation represented by the gravity orientation information. If not, it is necessary to adjust the display orientation of the special effect object to be consistent with the gravity orientation. This embodiment can determine the linkage control information on which the display orientation adjustment of the special effect object depends through this step.

[0089] It should be noted that for the special effects objects to be displayed in the special effects props, in order to enable the special effects objects to follow the movement of the target subject (the physical object captured from the real world), the linkage points required for following the movement will be designed for the special effects objects during the special effects design stage, and the linkage points will be bound to some or all of the object key points contained in the object model of the special effects object to achieve the control of the key points involved in the special effects object by the linkage points, so as to present the motion effect of the special effects object by controlling the movement of the key points.

[0090] Among them, the object model of the special effect object can be understood as the three-dimensional model on which the construction of the special effect object depends, which can determine the style in which the special effect object is presented. For example, the object model of the special effect scarf is a three-dimensional scarf model. The object model is composed of point-to-point lines through the set object key points. The form in which the object key points change can control the form in which the special effect object changes in the presentation effect, and the control of the change of the object key points can be an additionally set linkage point. By binding the linkage point with the object key points involved in the change of the special effect object, the change of the object key points can be controlled.

[0091] In the implementation of the special effect object following the movement of the target subject, the linkage points set are also associated with the key points of the target subject object. As long as the movement of the key points of the target subject is detected, its movement information can be transmitted to the linkage points, so that the linkage points drive the movement of the key points of the object, and finally achieve the effect of the special effect object following the movement of the target subject.

[0092] In this embodiment, the adjustment of the display posture of the special effect object can also be achieved by relying on the linkage point, and after determining the adjustment information involved in the adjustment of the default display orientation of the special effect object to the gravity orientation, the linkage control information on which the display posture adjustment of the special effect object depends can be determined based on the adjustment information. The linkage control information is data information of the linkage point created relative to the special effect object, and the data information can be determined by the default display orientation information and the gravity orientation information. For example, the orientation difference between the default display orientation and the gravity orientation can be determined, and the orientation difference can be converted into the rotation adjustment information required for the adjustment, thereby forming the linkage control information.

[0093] Furthermore, in this first optional embodiment, the linkage control information corresponding to the special effect object may be determined according to the default display orientation information and the gravity orientation information as follows:

[0094] c131) determining the orientation difference between the default display orientation information and the gravity orientation, and determining a target coordinate axis associated with the display posture of the special effect object from the target coordinate system.

[0095] In this embodiment, the orientation difference of adjusting the default display orientation to the gravity orientation can be determined through this step, and the orientation difference can be represented by the coordinate increment information used to characterize the orientation information. At the same time, this step can also determine the coordinate axis that the special effect object display posture adjustment depends on in the space coordinate system from the special effect attribute information pre-recorded relative to the special effect object, which is recorded as the target coordinate axis in this embodiment.

[0096] c132) Determine the rotation information of the special effect object relative to the target coordinate axis based on the azimuth difference.

[0097] In this embodiment, the above-mentioned determined azimuth difference can be considered as the coordinate increment information relied on for azimuth adjustment on the device screen serving as the projection plane. After the coordinate increment information is back-projected into the three-dimensional space, specifically into the coordinate space corresponding to the target coordinate system, the spatial angle rotation information of the special effect object relative to the target coordinate axis in the target coordinate system can be obtained, which is recorded as the rotation information of the target coordinate axis in this embodiment.

[0098] c133) Using the rotation information, determine the linkage control information corresponding to the special effect object.

[0099] In this embodiment, in the target coordinate system, the linkage adjustment information of the linkage points bound to some object key points on the object model on which the special effect object depends can be determined based on the rotation information, and the linkage adjustment information constitutes the linkage control information of the special effect object.

[0100] The above technical solution of this embodiment provides a specific implementation of the linkage control information, and provides basic data support for the technical implementation of adjusting the special effect object as the posture of the execution device is adjusted.

[0101] c14) determining a target display orientation of the special effect object through the linkage control information, and determining a posture of the special effect object in the target display orientation as the object display posture.

[0102] In this embodiment, after the linkage control information is determined through the above steps, it is equivalent to determining the point position adjustment information of the linkage point. This step can control the linkage point according to the point position adjustment information to drive the object key points bound in the object model to adjust the point position. The object model composed of the object key points after the position adjustment corresponds to a new display orientation on the device screen. This display orientation can be used as the target display orientation of the special effect object. The target display orientation includes the orientation information for the special effect object to appear to be displayed hanging down along the gravity orientation.

[0103] This embodiment can render the special effect object through the position information of the target display position, so that the special effect object can be displayed in a posture corresponding to the target display position at the interaction level, and the posture can be determined as the object display posture.

[0104] Furthermore, in this first optional embodiment, determining the target display orientation of the special effect object through the linkage control information may be concretized as follows:

[0105] c141) extracting linkage adjustment information corresponding to the linkage point from the linkage control information.

[0106] In this embodiment, linkage adjustment information on which the movement of the linkage point depends can be obtained.

[0107] c142) Control the key points of the bound objects in the object model to adjust their point positions according to the linkage adjustment information.

[0108] In this embodiment, it can be determined that the linkage points have established binding relationships with the object key points in the special effect model that the special effect object depends on, and then this step can be used to control the object key points with binding relationships to adjust their point positions according to the linkage adjustment information.

[0109] c143) Determine the target display orientation of the special effect object based on the display orientation of the object model after position adjustment.

[0110] In this embodiment, the object key points after point position adjustment are combined with other object key points in the object model to constitute the model data information of the object model after linkage adjustment. This step can render the object model according to the model data information, so that at the interactive level, the special effect object presented by the rendering is displayed in a display orientation that matches the model data information. The display orientation can be recorded as the target display orientation of the special effect object.

[0111] The above technical scheme of this embodiment takes into account the influence of the posture information of the executing device on the object model that the special effect object depends on in the three-dimensional space, and the adjustment of the display position of the object model depends on the linkage control of the linkage point on the key points of the object in the object model, so that the display posture of the special effect object can change with the rotation of the electronic device, reflecting a better special effect display effect.

[0112] As a second optional embodiment of this embodiment, the target special effect can be further specified. In this optional embodiment, when optimizing the target special effect as a try-on special effect, the special effect object can be optimized as a special effect wearing object.

[0113] In this second optional embodiment, an exemplary special effects application scenario is provided, which specifically optimizes the target special effects into a try-on special effect, which is equivalent to providing a try-on scenario for the special effects application. The special effects object also preferably has a special effects wearing object, which can be a special effects scarf, a special effects necklace, and special effects earrings, etc.

[0114] In the given special effects application scenario, this second optional embodiment can also specifically optimize the display of the special effects object involved in the target special effects in the first display posture as follows: display the special effects wearing object in the first display posture at the set trial wearing position of the target subject.

[0115] In this embodiment, the target subject can be regarded as a physical object in the real world, and the image containing its content can be obtained by the image capture device as a try-on, and the special effect wearing object needs to be presented in the image, and can be displayed at the set try-on position involved in the target subject according to the determined first display posture. Among them, the set try-on position can be pre-set according to different special effect wearing objects, such as the try-on position corresponding to the special effect earrings can be the ears of the target subject, and the try-on position of the special effect scarf and special effect necklace can be the neck of the target subject. Among them, in the first display posture, the special effect wearing object is displayed with the tail end of the special effect wearing object hanging down in a direction that coincides with the gravity direction corresponding to the execution device.

[0116] Following the above description, in the above special effect application scenario, the second optional embodiment may further adjust the special effect object from the first display posture to the second display posture for display, which may be specifically optimized as follows:

[0117] a2) adjusting the display direction of the target subject on the screen interface according to the second posture information.

[0118] In this embodiment, the execution device supports the sensing capability of posture adjustment. When the posture of the execution device is adjusted, the entity object captured by the image capture device can be displayed in the image screen in a direction that adapts to the posture change. In this step, the display direction of the target subject in the image screen can be adjusted according to the second posture information after the posture adjustment. For example, when the vertical screen state is adjusted to the horizontal screen state, the target subject is also adjusted from the display direction adapted to the vertical screen to the display direction adapted to the horizontal screen.

[0119] b2) controlling the special effect wearing object to be displayed at a set trial wearing position after the display direction of the target body is adjusted, and adjusting the first display posture to a second display posture for display.

[0120] It can be known that when the display direction of the target subject changes, the coordinate information of the set trial wearing position for presenting the special effect wearing object on the target subject also changes. Combined with the following relationship between the special effect wearing object and the target subject, this step can control the special effect wearing object to follow and display at the set trial wearing position after the display direction is adjusted, and the display posture is also adjusted from the first display posture to the second display posture. Among them, the special effect wearing object is also displayed in a hanging posture with the tail end coinciding with the gravity direction of the execution device in the second display posture.

[0121] The above technical solution of this embodiment provides the effect display of the posture change of the special effect object execution device to display the posture adjustment from the perspective of the special effect application scene. Therefore, the display method of the special effect object is more in line with the physical laws in the real world, thereby better improving the visual perception of the displayed special effect object.

[0122] Figure 4 A structural diagram of a special effect display device provided by an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the device includes: a first response module 41 and a second response module 42.

[0123] A first response module 41 is used for displaying a special effect object related to the target special effect in a first display posture in response to a triggering operation of a target special effect in an execution device, wherein the execution device has first posture information, and the first display posture is determined based on the first posture information;

[0124] The second response module 42 is used to respond to the posture adjustment operation of the execution device to adjust the special effect object from the first display posture to the second display posture for display, wherein the posture adjustment operation includes the rotation of the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

[0125] The technical solution provided by the disclosed embodiment associates the display posture of the special effect object with the posture information of the execution device, and can determine the display posture of the special effect object involved in the target special effect according to the posture of the execution device after triggering the target special effect to display the special effect, and can ensure that the display posture of the special effect object is adjusted accordingly with the change of the posture of the execution device, thereby ensuring that the display posture of the presented special effect object is more realistic and natural. Compared with the prior art, the display method of the special effect object in this technical solution is more in line with the physical laws in the real world, thereby better improving the visual perception of the displayed special effect object.

[0126] Further, the first posture information and the second posture information are recorded as device posture information, and the first display posture and the second display posture are recorded as object display posture;

[0127] The device includes: a display posture determination module, and the display posture determination module may specifically include:

[0128] A first determining unit, configured to determine a reference coordinate system based on the device posture information, and extract device orientation information of the execution device from the device posture information;

[0129] A second determining unit, configured to determine target orientation information corresponding to the device orientation information in a target coordinate system, wherein the target coordinate system is a coordinate system based on which the special effect object is displayed;

[0130] A third determining unit is configured to determine an object display posture of the special effect object according to the target orientation information.

[0131] Furthermore, the second determining unit may be specifically configured to:

[0132] Determine coordinate conversion information corresponding to converting the reference coordinate system to the target coordinate system, the coordinate conversion information including: coordinate translation information and / or coordinate rotation information;

[0133] The device orientation information is converted according to the coordinate conversion information, and the converted spatial coordinate information is determined as the target orientation information.

[0134] Furthermore, the third determining unit may specifically include:

[0135] A coordinate axis determination subunit, configured to determine the gravity orientation information of the execution device relative to the device screen according to the target orientation information;

[0136] A rotation value determination subunit, used for acquiring the default display orientation information pre-set for the special effect object, and determining the target coordinate axis associated with the display posture of the special effect object from the target coordinate system;

[0137] an information updating subunit, configured to determine linkage control information corresponding to the special effect object according to the default display orientation information and the gravity orientation information, wherein the linkage control information is data information of linkage points created relative to the special effect object, and the linkage points are bound to at least part of object key points in the object model of the special effect object;

[0138] The posture control subunit is used to determine the target display orientation of the special effect object through the linkage control information, and determine the posture of the special effect object in the target display orientation as the object display posture.

[0139] Furthermore, the posture control subunit can be specifically used for:

[0140] Extracting linkage adjustment information corresponding to the linkage point from the linkage control information;

[0141] Controlling the key points of the bound objects in the object model to adjust the point positions according to the linkage adjustment information;

[0142] The target display orientation of the special effect object is determined by the display orientation of the object model after the position adjustment.

[0143] Further, when the target special effect is a try-on special effect, the special effect object is a special effect wearing object;

[0144] The first response module 42 can be specifically used for:

[0145] In response to a triggering operation of a target special effect in an execution device, the special effect wearing object is displayed in the first display posture at a set trial wearing position of the target subject.

[0146] Furthermore, the second response module 42 is further configured to adjust the display direction of the target subject on the screen interface according to the second posture information after the posture adjustment of the execution device in response to the posture adjustment operation of the execution device;

[0147] The second response module 42 can be specifically used for:

[0148] In response to the posture adjustment operation of the execution device, the special effect object is adjusted from the first display posture to the second display posture, and the special effect object is controlled to follow the target subject to be displayed at the set trial wearing position after the display direction is adjusted.

[0149] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 5 , which shows an electronic device (eg, Figure 5The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0150] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0151] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0152] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart 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 non-transitory computer-readable medium, and the computer program contains 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 a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0153] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0154] The electronic device provided in the embodiment of the present disclosure and the special effects display method provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0155] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the special effect display method provided in the above embodiment is implemented.

[0156] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0157] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0158] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0159] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0160] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: responds to a deformation special effect applying operation, obtains a deformation special effect three-dimensional model corresponding to the applied target deformation special effect and an object three-dimensional model of the target object, wherein the deformation special effect applying operation is to apply the target deformation special effect on the target object; forms an object special effect adjustment model based on the deformation special effect three-dimensional model and the object three-dimensional model, and replaces the target object with a deformation special effect object generated by the object special effect adjustment model and displays it; and when the deformation special effect object is adjusted from a current posture to a target posture, displays the deformation special effect object according to the presentation state of the object special effect adjustment model in the target posture.

[0161] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0162] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0163] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0164] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0165] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0166] According to one or more embodiments of the present disclosure, [Example 1] provides a special effect display method, the method comprising: in response to a trigger operation of a target special effect in an execution device, displaying a special effect object involved in the target special effect in a first display posture, wherein the execution device has a first posture information, and the first display posture is determined based on the first posture information; in response to a posture adjustment operation of the execution device, adjusting the special effect object from the first display posture to a second display posture for display, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

[0167] According to one or more embodiments of the present disclosure, [Example 2] provides a special effect display method, the method optimization includes recording the first posture information and the second posture information as device posture information, recording the first display posture and the second display posture as object display posture;

[0168] The step of determining the object display posture of the special effect object based on the device posture information includes: determining a reference coordinate system on which the device posture information is based, and extracting device orientation information of the execution device from the device posture information; determining target orientation information corresponding to the device orientation information in a target coordinate system, wherein the target coordinate system is the coordinate system on which the special effect object display is based; and determining the object display posture of the special effect object according to the target orientation information.

[0169] According to one or more embodiments of the present disclosure, [Example 3] provides a special effect display method, which includes further optimizing the target orientation information corresponding to the device orientation information in the target coordinate system, which can be optimized as follows: determining the coordinate transformation information corresponding to the reference coordinate system being transformed to the target coordinate system, wherein the coordinate transformation information includes: coordinate translation information and / or coordinate rotation information;

[0170] The device orientation information is converted according to the coordinate conversion information, and the converted spatial coordinate information is determined as the target orientation information.

[0171] According to one or more embodiments of the present disclosure, [Example Four] provides a special effects display method, which includes further optimizing the object display posture of the special effects object determined according to the target orientation information, and can be specifically optimized as follows: determining the gravity orientation information of the execution device relative to the device screen according to the target orientation information; obtaining the default display orientation information pre-set for the special effects object, and determining the target coordinate axis associated with the display posture of the special effects object from the target coordinate system; determining the linkage control information corresponding to the special effects object according to the default display orientation information and the gravity orientation information, wherein the linkage control information is data information of the linkage point created relative to the special effects object, and the linkage point is bound to at least part of the object key points in the object model of the special effects object; determining the target display orientation of the special effects object through the linkage control information, and determining the posture of the special effects object in the target display orientation as the object display posture.

[0172] According to one or more embodiments of the present disclosure, [Example Five] provides a special effects display method, which includes determining the target display orientation of the special effects object through the linkage control information, and determining the posture of the special effects object in the target display orientation as the object display posture. The further optimization can be specifically optimized as follows: extracting the linkage adjustment information corresponding to the linkage point from the linkage control information; controlling the key points of the bound object in the object model to adjust the point positions according to the linkage adjustment information; and determining the target display orientation of the special effects object with the display orientation of the object model after the position adjustment.

[0173] According to one or more embodiments of the present disclosure, [Example 6] provides a special effect display method, the method optimization includes when the target special effect is a try-on special effect, the special effect object is a special effect wearing object;

[0174] The displaying of the special effect object involved in the target special effect in a first display posture includes:

[0175] The special effect wearing object is displayed in the first display posture at a set trial wearing position of the target subject.

[0176] According to one or more embodiments of the present disclosure, [Example 7] provides a special effect display method, which, after responding to the posture adjustment operation of the execution device, further optimizes and includes adjusting the display direction of the target subject on the screen interface according to the second posture information after the posture adjustment of the execution device;

[0177] It also includes further optimization of adjusting the special effect object from the first display posture to the second display posture for display, which may specifically include: adjusting the special effect object from the first display posture to the second display posture, and controlling the special effect object to follow the target subject to display at the set trial wearing position after the display direction is adjusted.

[0178] According to one or more embodiments of the present disclosure, [Example Eight] provides a special effect display device, which includes: a first response module, used to respond to the triggering operation of the target special effect in the execution device, and display the special effect object involved in the target special effect in a first display posture, wherein the execution device has a first posture information, and the first display posture is determined based on the first posture information; a second response module, used to respond to the posture adjustment operation of the execution device, and adjust the special effect object from the first display posture to a second display posture for display, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

[0179] According to one or more embodiments of the present disclosure, [Example 9] provides an electronic device, which includes one or more processors; a storage device 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 special effects display method as described in any one of the above Examples 1 to Example 7.

[0180] According to one or more embodiments of the present disclosure, [Example 10] provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute the special effects display method described in any one of Examples 1 to 7.

[0181] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0182] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0183] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A special effects display method, characterized in that: include: In response to a triggering operation of a target special effect in an execution device, displaying a special effect object related to the target special effect in a first display posture, wherein the execution device has first posture information, and the first display posture is determined based on the first posture information; In response to a posture adjustment operation of the execution device, the special effect object is adjusted from the first display posture to a second display posture for display, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

2. The method according to claim 1, characterized in that The first posture information and the second posture information are recorded as device posture information, and the first display posture and the second display posture are recorded as object display posture; The step of determining the object display posture of the special effect object based on the device posture information comprises: Determine a reference coordinate system on which the device posture information is based, and extract device orientation information of the execution device from the device posture information; Determine the target orientation information corresponding to the device orientation information in a target coordinate system, where the target coordinate system is the coordinate system based on which the special effect object is displayed; The object display posture of the special effect object is determined according to the target orientation information.

3. The method according to claim 2, characterized in that The determining the target position information corresponding to the device position information in the target coordinate system includes: Determine coordinate conversion information corresponding to converting the reference coordinate system to the target coordinate system, the coordinate conversion information including: coordinate translation information and / or coordinate rotation information; The device orientation information is converted according to the coordinate conversion information, and the spatial coordinate information formed after the conversion is determined as the target orientation information.

4. The method according to claim 2, characterized in that: The determining the object display posture of the special effect object according to the target orientation information includes: Determining the gravity orientation information of the execution device relative to the device screen according to the target orientation information; Acquiring default display orientation information pre-set for the special effect object, and determining a target coordinate axis associated with a display posture of the special effect object from the target coordinate system; Determining linkage control information corresponding to the special effect object according to the default display orientation information and the gravity orientation information, wherein the linkage control information is data information of linkage points created relative to the special effect object, and the linkage points are bound to at least part of object key points in the object model of the special effect object; The target display orientation of the special effect object is determined through the linkage control information, and the posture of the special effect object in the target display orientation is determined as the object display posture. Rotation information relative to the target coordinate axis, and using the rotation information for the special effect object.

5. The method according to claim 4, characterized in that The determining, according to the default display orientation information and the gravity orientation information, the linkage control information corresponding to the special effect object comprises: Determine the position difference between the default display orientation information and the gravity orientation, and determine the target coordinate axis associated with the display posture of the special effect object from the target coordinate system; Determining rotation information of the special effect object relative to the target coordinate axis according to the azimuth difference; The rotation information is used to determine linkage control information corresponding to the special effect object.

6. The method according to claim 4, characterized in that The determining the target display orientation of the special effect object by using the linkage control information includes: Extracting linkage adjustment information corresponding to the linkage point from the linkage control information; Controlling the key points of the bound objects in the object model to adjust the point positions according to the linkage adjustment information; The target display orientation of the special effect object is determined by the display orientation of the object model after the position adjustment.

7. The method according to claim 1, characterized in that When the target special effect is a try-on special effect, the special effect object is a special effect wearing object. The displaying of the special effect object involved in the target special effect in a first display posture includes: Displaying the special effect wearing object in the first display posture at a set trial wearing position of the target subject; The adjusting the special effect object from the first display posture to the second display posture for display includes: Adjusting the display direction of the target subject on the screen interface according to the second posture information; The special effect wearing object is controlled to be displayed at a set trial wearing position after the display direction of the target body is adjusted, and the first display posture is adjusted to a second display posture for display.

8. A special effects display device, characterized in that: include: A first response module, configured to respond to a triggering operation of a target special effect in an execution device and display a special effect object related to the target special effect in a first display posture, wherein the execution device has first posture information, and the first display posture is determined based on the first posture information; A second response module is used to adjust the special effect object from the first display posture to a second display posture for display in response to a posture adjustment operation of the execution device, wherein the posture adjustment operation includes rotating the execution device, and the execution device has second posture information different from the first posture information; the second display posture is determined based on the second posture information.

9. An electronic device, characterized in that: include: one or more processors; a storage device 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 special effects display method as described in any one of claims 1-7.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the special effects display method as described in any one of claims 1-7 when executed by a computer processor.