Interactive video interactive prompt method, device, terminal and storage medium
Through real-time recognition and feedback of users' facial movements, the problem of invalid interaction in interactive videos is solved, the enthusiasm and success rate of user interaction are improved, and the smooth development of the plot is ensured.
Patent Information
- Application Number
- CN201911279586.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-13
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2039-12-13
AI Technical Summary
During interactive video playback, it is difficult for users to obtain real-time feedback at interactive nodes, resulting in an increase in invalid interactive operations and low user enthusiasm for interaction.
By acquiring the user's real-time facial image, identifying facial movements, and displaying interactive feedback information based on the target facial movement, including facial model images and comparison prompts, the movements of the facial model image are adjusted in real time so that users can understand the correctness of the current movements. sex and needs correction.
It reduces invalid interactions, improves the success rate and enthusiasm of user interactive operations, and ensures the smooth advancement of the plot or the selection of the correct plot development direction.
Smart Images

Figure CN112995773B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of video technology, and in particular to an interactive prompt method, device, terminal and storage medium for interactive video. Background Art
[0002] With the development of video technology, interactive videos have emerged, which are different from traditional videos that only play a single content. Interactive videos allow users to interact based on video content during video playback, thereby advancing the development of the plot or choosing different plot development directions.
[0003] Currently, when an interactive video is played to an interactive node, users can perform interactive operations through prompts. In this process, how to use technical solutions to optimize interactive operation prompts, reduce invalid interactions, and enhance user interaction enthusiasm has become an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide an interactive video interaction prompt method, device, terminal and storage medium, which optimizes the prompts of interactive operations to reduce invalid interactions and enhance user interaction enthusiasm.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] An interactive prompting method for an interactive video, comprising:
[0007] When the video plays to the interactive node, interactive prompt information is displayed;
[0008] A real-time facial image of a user is obtained, real-time facial movements corresponding to the real-time facial image are identified, and interactive feedback information is displayed according to the real-time facial movements; the interactive feedback information at least includes a facial model image, and a comparison prompt between the real-time facial movement and the target facial movement required by the interactive prompt information; wherein the facial movement of the facial model image is adjusted in real time with the real-time facial movement.
[0009] Optionally, the target facial motion includes a target facial rotation direction; the real-time facial motion includes a real-time facial rotation direction;
[0010] The facial movement of the facial model image is adjusted in real time with the real-time facial movement. Specifically, the facial rotation direction of the facial model image is adjusted in real time with the real-time facial rotation direction.
[0011] Optionally, the comparison prompt includes: a correct prompt when the real-time face rotation direction is consistent with the target face rotation direction, and an error prompt when the real-time face rotation direction is inconsistent with the target face rotation direction.
[0012] Optionally, the method further includes:
[0013] If the user's facial image is not detected, a first prompt message is displayed, where the first prompt message is used to prompt the user to expose his face within the image acquisition range of the terminal.
[0014] Optionally, the displaying of interactive prompt information includes:
[0015] Display an interactive prompt image and / or interactive prompt text; the interactive prompt image displays the target facial action in an image form, and the interactive prompt text describes the target facial action in a text form.
[0016] Optionally, the method further includes:
[0017] If within the preset interaction time, it is detected that the real-time face rotation direction is consistent with the target face rotation direction, and the rotation angle value of the real-time face rotation direction is greater than the predetermined angle value, the interaction success result information is displayed;
[0018] If within the preset interaction time, it is detected that the real-time face rotation direction is inconsistent with the target face rotation direction, or it is detected that the real-time face rotation direction is consistent with the target face rotation direction but the rotation angle value of the real-time face rotation direction is not greater than the preset angle value, the interaction failure result information is displayed.
[0019] Optionally, the method further includes:
[0020] If within the preset interaction time, it is detected that the real-time face rotation direction remains consistent with the target face rotation direction for a set time, the interaction success result information is displayed;
[0021] If within the preset interaction time, it is detected that the time for which the real-time face rotation direction remains consistent with the target face rotation direction does not reach the set time, or the real-time face rotation direction is inconsistent with the target face rotation direction, interaction failure result information is displayed.
[0022] The embodiment of the present invention further provides an interactive video interactive prompting device, comprising:
[0023] An interactive prompt display module is used to display interactive prompt information when the video is played to an interactive node;
[0024] The interactive feedback module is used to obtain a real-time facial image of a user, identify the real-time facial movements corresponding to the real-time facial image, and display interactive feedback information according to the real-time facial movements; the interactive feedback information at least includes a facial model image, and a comparison prompt between the real-time facial movements and the target facial movements required by the interactive prompt information; wherein the facial movements of the facial model image are adjusted in real time with the real-time facial movements.
[0025] An embodiment of the present invention also provides a terminal, comprising at least one memory and at least one processor, wherein the memory stores one or more computer executable instructions, and the processor calls the one or more computer executable instructions to execute the interactive prompt method of the interactive video described above.
[0026] An embodiment of the present invention further provides a storage medium, wherein the storage medium stores one or more computer executable instructions, and the one or more computer executable instructions are used to execute the interactive prompt method of the interactive video described above.
[0027] The interactive prompt method for interactive videos provided by the embodiment of the present invention can use the user's facial movements as the user's interactive operations. When the video is played to the interactive node, the embodiment of the present invention can display interactive prompt information, and the interactive prompt information can prompt the user to perform the target facial movement; thereby, the embodiment of the present invention can obtain the user's real-time facial image, identify the real-time facial movement corresponding to the real-time facial image, and provide real-time feedback on the facial movement performed by the user at the display level to reduce the user's invalid interaction. The embodiment of the present invention can display interactive feedback information according to the real-time facial movement, and the interactive feedback information at least includes a facial model image, and a comparison prompt of the real-time facial movement and the target facial movement required by the interactive prompt information; wherein the facial movement of the facial model image is adjusted in real time with the real-time facial movement.
[0028] It can be seen that the embodiment of the present invention reflects the user's real-time facial movements as facial movements of the facial model image, thereby providing real-time feedback on the user's facial movements from a display level; and displays a comparison prompt between the real-time facial movements and the target facial movements, so that the user can clearly understand whether the facial movements currently being performed are correct; in the embodiment of the present invention, when the interactive feedback information includes the facial model image and the comparison prompt, the user can correct the facial movements in time through the prompts of the interactive feedback information during the execution of the facial movements, thereby reducing invalid interactions, and improving the success rate of the user's facial movements, thereby improving the user's enthusiasm for interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0030] Figure 1 A flowchart of an interactive video interactive prompting method provided by an embodiment of the present invention;
[0031] Figure 2 An example diagram of a face model image provided by an embodiment of the present invention;
[0032] Figure 3 An example diagram of interactive prompt information provided by an embodiment of the present invention;
[0033] Figure 4 Another flow chart of the interactive prompting method of interactive video provided by an embodiment of the present invention;
[0034] Figure 5 An example diagram of a comparison prompt provided by an embodiment of the present invention;
[0035] Figure 6 An example diagram of an application provided by an embodiment of the present invention;
[0036] Figure 7 A block diagram of an interactive video interactive prompting device provided by an embodiment of the present invention;
[0037] Figure 8 A block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0039] When an interactive video (hereinafter referred to as the video) is played to an interactive node, the user is required to perform interactive operations to advance the plot development or choose different plot development directions; taking the setting of different branch plots after the interactive node of the video as an example, when the video is played to an interactive node, the prompt information displayed on the screen is required to prompt the user to complete the interactive operation and realize the selection of the branch plot.
[0040] Currently, when a video is played to an interactive node, static images or dynamic images are mainly displayed to prompt the user to perform interactive operations. This method only uses static images or dynamic images to prompt the user to perform the operations to be performed, and lacks real-time feedback of the user's interactive operations during the user's interactive operations. This causes users to perform more invalid interactions because they cannot obtain feedback on their interactive operations. More invalid interactions will make it impossible for the plot to proceed smoothly or to choose the direction of plot development, resulting in low user interaction enthusiasm.
[0041] Based on the above description, an embodiment of the present invention considers using the user's facial movements as the user's interactive operations, and provides real-time feedback on the user's interactive operations from a display level, so that the user can correct the user's interactive operations in a timely manner through feedback prompts during the interactive operation, thereby reducing the user's ineffective interactions and enhancing the user's enthusiasm for interaction.
[0042] In an optional implementation, Figure 1 The optional process of the interactive prompt method of the interactive video provided by the embodiment of the present invention is shown, and the process can be applied to a terminal, such as a smart phone, a tablet computer, a PC (personal computer), a smart TV, and other terminal devices for playing videos; Figure 1 , the process may include:
[0043] Step S100: When the video is played to an interactive node, interactive prompt information is displayed.
[0044] The video referred to in the embodiment of the present invention is an interactive video. The interactive node is a node set in the video that supports user participation in interaction. The interactive node of the video can be recorded by the interactive script of the video, and the interactive script can set the user interaction method, content, etc. Optionally, a video can have one or more interactive nodes. When the video is played to any interactive node, the interactive prompt method provided by the embodiment of the present invention can be executed, so as to promote the development of the plot or select different plot development directions based on the user's interactive operation.
[0045] The embodiment of the present invention uses the user's facial movements as the user's interactive operations. In order to enable the user to have a reference standard for performing facial movements, in an optional implementation, the interactive prompt information can prompt the user of the target facial movement to be performed; optionally, the embodiment of the present invention can define different forms of target facial movements according to actual conditions, for example, the target facial rotation direction can be defined as the target facial movement, and the specified movements of facial organs (such as frowning, blinking, etc.) can be defined as the target facial movement. The embodiment of the present invention is not limited to the form of the target facial movement.
[0046] Step S110, obtaining a real-time facial image of the user, identifying real-time facial movements corresponding to the real-time facial image, and displaying interactive feedback information according to the real-time facial movements; the interactive feedback information at least includes a facial model image, and a comparison prompt between the real-time facial movements and the target facial movements required by the interactive prompt information; wherein the facial movements of the facial model image are adjusted in real time with the real-time facial movements.
[0047] Optionally, the embodiment of the present invention can obtain the real-time facial image of the user through the camera of the terminal. If the terminal does not detect the facial image of the user through the camera, a first prompt message can be displayed on the terminal interface, and the first prompt message is used to prompt the user to expose the face within the image acquisition range of the terminal. Optionally, the embodiment of the present invention can activate the camera of the terminal when the video is played to the interactive node, or can activate the camera of the terminal while displaying the interactive prompt message. Of course, it does not exclude that the camera is always in an activated state.
[0048] Optionally, taking the example of a terminal playing a video through a video application, the video application should have the permission to call the terminal camera so as to activate the terminal camera and obtain the user's facial image captured by the camera. Therefore, if the embodiment of the present invention detects that the video application does not have the permission to call the terminal camera, an authorization prompt for calling the camera can be displayed on the terminal interface. The authorization prompt can optionally be displayed in a pop-up window.
[0049] When a real-time facial image of the user is obtained, an embodiment of the present invention can identify the real-time facial movements corresponding to the real-time facial image. Based on different forms of target facial movements, the forms of the real-time facial movements identified from the real-time facial image may also be different. For example, if the target facial movement is the direction of facial rotation, then the real-time facial movement identified from the real-time facial image should be the facial rotation direction and the rotation angle value, etc. For another example, if the target facial movement is frowning, then the real-time facial movement identified from the real-time facial image should be the movement of the eyebrow area. Based on different forms of target facial movements, an embodiment of the present invention can adapt to and adjust the form of the recognized real-time facial movement, which may be determined according to the actual interaction settings, and the embodiment of the present invention is not limited to this.
[0050] In order to provide real-time feedback on the facial movements performed by the user at the display level, the embodiment of the present invention can display interactive feedback information according to the real-time facial movements; the interactive feedback information can provide real-time feedback on the facial movements performed by the user from two levels:
[0051] 1. The interactive feedback information may include a face model image, the facial movements of the face model are adjusted in real time according to the recognized real-time facial movements; for example, Figure 2As shown, the video interface can display a face model image in the shape of a human face. The face model can be a 3D model or a 2D model. Based on the real-time facial movements recognized by the embodiment of the present invention, the facial movements of the face model image can be adjusted in real time so that the facial movements of the face model image are consistent with the real-time facial movements. For example, if the user's face turns left, the face model image also turns left. If the user's face turns right, the face model image also turns right.
[0052] 2. The interactive feedback information may include a comparison prompt between the user's real-time facial movement and the target facial movement. For example, when the user's real-time facial movement is consistent with the target facial movement, the embodiment of the present invention may display a correct prompt; when the target's real-time facial movement is inconsistent with the target facial movement, the embodiment of the present invention may display an error prompt. Thus, by comparing the user's real-time facial movement with the target facial movement, the user can promptly know whether the currently executed facial movement is correct. For example, taking the target facial movement as the target facial rotation direction, when the user's real-time facial rotation direction is consistent with the target facial rotation direction, the comparison prompt may be a correct prompt; and when the real-time facial rotation direction is inconsistent with the target facial rotation direction, the comparison prompt may be an error prompt.
[0053] Optionally, the interactive feedback information may be displayed on a video interface, such as being superimposed on the video interface; of course, the interactive feedback information may also be displayed on a non-video interface, and the embodiment of the present invention is not limited to this.
[0054] The interactive prompt method for interactive videos provided by the embodiment of the present invention can use the user's facial movements as the user's interactive operations. When the video is played to the interactive node, the embodiment of the present invention can display interactive prompt information, and the interactive prompt information can prompt the user to perform the target facial movement; thereby, the embodiment of the present invention can obtain the user's real-time facial image, identify the real-time facial movement corresponding to the real-time facial image, and provide real-time feedback on the facial movement performed by the user at the display level to reduce the user's invalid interaction. The embodiment of the present invention can display interactive feedback information according to the real-time facial movement, and the interactive feedback information at least includes a facial model image, and a comparison prompt of the real-time facial movement and the target facial movement required by the interactive prompt information; wherein the facial movement of the facial model image is adjusted in real time with the real-time facial movement.
[0055] It can be seen that the embodiment of the present invention reflects the user's real-time facial movements as facial movements of the facial model image, thereby providing real-time feedback on the user's facial movements from a display level; and displays a comparison prompt between the real-time facial movements and the target facial movements, so that the user can clearly understand whether the facial movements currently being performed are correct; in the embodiment of the present invention, when the interactive feedback information includes the facial model image and the comparison prompt, the user can correct the facial movements in time through the prompts of the interactive feedback information during the execution of the facial movements, thereby reducing invalid interactions, and improving the success rate of the user's facial movements, thereby improving the user's enthusiasm for interaction.
[0056] Optionally, when the video is played to an interactive node, the embodiment of the present invention can display interactive prompt information by displaying interactive prompt images and / or interactive prompt texts. For example, the interactive prompt information can be prompt information of static images, prompt information of dynamic images, prompt information of texts, etc., or can be prompt information of images (static or dynamic images) combined with texts. The interactive prompt information can be displayed on the video interface, such as by superimposing the interactive prompt information on the video interface; in another optional implementation, the embodiment of the present invention can also display the interactive prompt information in an area of the terminal screen that is different from the video interface. For example, when the video is not played in full screen, the interactive prompt information can be displayed in an area of the screen that is different from the video interface.
[0057] In an optional implementation, the interactive prompt image can be considered as interactive prompt information in the form of an image, which is used to display the target facial action in an image form. The interactive prompt image can be a dynamic image. By displaying the dynamic image of the target facial action, the user can be vividly prompted to perform the target facial action. Of course, the interactive prompt image can also be a static image, and the embodiment of the present invention does not limit this. The interactive prompt text can be considered as interactive prompt information in the form of text, which is used to describe the target facial action in text form. Optionally, the interactive prompt text can also be combined with the video content of the interactive node. For example, the interactive prompt text can describe the impact of the user performing the target facial action on the video plot.
[0058] For example, the target facial action is to turn the face to the left, and the video content of the interactive node is a video character avoiding a trap. Figure 3 As shown, the interactive prompt information can be displayed on the video interface, wherein the interactive prompt image can be set to a dynamic image of turning the face to the left, and the interactive prompt text can be set to "Turn your face to the left to avoid the trap."
[0059] In an optional implementation, the user can perform facial movements by rotating the face, so that at the display level, the face rotation direction of the face model image can be adjusted in real time with the rotation direction of the user's face; optionally, Figure 4Another optional process of the interactive prompt method of the interactive video provided by the embodiment of the present invention is shown. Figure 4 As shown, the process may include:
[0060] Step S200: When the video is played to an interactive node, interactive prompt information is displayed.
[0061] Step S210: Acquire a real-time facial image of the user, and identify a real-time facial rotation direction corresponding to the real-time facial image.
[0062] Step S220, adjusting the face rotation direction of the face model image in real time according to the real-time face rotation direction; and, if the real-time face rotation direction is consistent with the target face rotation direction required by the interactive prompt information, displaying a correct prompt; if the real-time face rotation direction is inconsistent with the target face rotation direction, displaying an error prompt.
[0063] In an embodiment of the present invention, the interactive feedback information includes a facial model image and a comparison prompt; more specifically, the facial rotation direction of the facial model image is adjusted with the real-time facial rotation direction; the comparison prompt includes a correct prompt and an error prompt, specifically, if it is detected that the real-time facial rotation direction is consistent with the target facial rotation direction, a correct prompt is displayed, and if it is detected that the real-time facial rotation direction is inconsistent with the target facial rotation direction, an error prompt is displayed.
[0064] For example, the target face is rotated to the left. Figure 5 As shown in FIG. 1 , the user's face turns left, and the face model image superimposed on the video interface turns left. Since the leftward rotation is consistent with the rotation direction of the target face, the correct prompt is displayed (the correct prompt is as follows: Figure 5 If the user's face turns right, the face model image also turns right. Since the rightward rotation is inconsistent with the target face rotation direction, an error message is displayed (the error message is as follows Figure 5 exclamation mark).
[0065] Optionally, further, based on the user's real-time facial movements, the embodiment of the present invention can detect whether the real-time facial movements match the target facial movements, so as to determine the branch video content for subsequent playback of the video based on the obtained matching results.
[0066] It is understandable that the matching results are divided into two situations: the real-time facial action matches the target facial action, and the real-time facial action does not match the target facial action. Based on different matching results, the embodiment of the present invention can display different interaction result information. For example, when the real-time facial action matches the target facial action, it indicates that the user interaction is successful, and the interaction success result information can be displayed. When the real-time facial action does not match the target facial action, it indicates that the user interaction fails, and the interaction failure result information can be displayed.
[0067] In an optional implementation, an embodiment of the present invention may pre-set an interaction time for a user to perform an interactive operation, thereby detecting whether the real-time facial movement matches the target facial movement within the preset interaction time to obtain a matching result; in a more specific optional implementation, if within the interaction time, the real-time facial movement matches the target facial movement at least once (the number of times may be set according to actual conditions, such as once or more), then the embodiment of the present invention may immediately obtain a matching result that the real-time facial movement matches the target facial movement; if within the interaction time, the real-time facial movement is never detected to match the target facial movement, then at the end of the interaction time, the embodiment of the present invention may obtain a matching result that the real-time facial movement does not match the target facial movement.
[0068] For example, taking the target facial action including the target facial rotation direction as an example, the real-time facial action matching the target facial action may be that the real-time facial rotation direction of the user matches the target facial rotation direction; more specifically, the real-time facial rotation direction matches the target facial rotation direction may be that: when the real-time facial rotation direction is consistent with the target facial rotation direction, the rotation angle value reaches a certain value, or the maintenance time reaches a certain time, rather than just the consistency in direction;
[0069] In an optional implementation, if within a preset interaction time, it is detected that the real-time face rotation direction is consistent with the target face rotation direction, and the rotation angle value of the real-time face rotation direction is greater than a predetermined angle value, then the embodiment of the present invention can determine that the real-time face rotation direction matches the target face rotation direction, that is, the user interaction is successful, and thus the interaction success result information can be displayed;
[0070] If within the preset interaction time, it is detected that the real-time facial rotation direction is inconsistent with the target facial rotation direction, or it is detected that the real-time facial rotation direction is consistent with the target facial rotation direction but the rotation angle value of the real-time facial rotation direction is not greater than the predetermined angle value, then the embodiment of the present invention can determine that the real-time facial rotation direction does not match the target facial rotation direction, that is, the user interaction fails, and the interaction failure result information can be displayed.
[0071] In another optional implementation, if within the preset interaction time, it is detected that the real-time face rotation direction is maintained consistent with the target face rotation direction for a set time, then the embodiment of the present invention can determine that the real-time face rotation direction matches the target face rotation direction, that is, the user interaction is successful, and the interaction success result information can be displayed;
[0072] If within the preset interaction time, it is detected that the time for which the real-time facial rotation direction remains consistent with the target facial rotation direction does not reach the set time, or the real-time facial rotation direction is inconsistent with the target facial rotation direction, then the embodiment of the present invention can determine that the real-time facial rotation direction does not match the target facial rotation direction, that is, the user interaction fails, and the interaction failure result information can be displayed.
[0073] Based on the obtained matching results, the embodiment of the present invention can play the branch video content of the video corresponding to the matching results. Optionally, the interactive nodes of the video can correspond to multiple branch video contents with different plot directions, and different results of the user interaction operation can realize the selection of different branch video contents, thereby promoting the development of the plot in different directions. For example, in the embodiment of the present invention, the embodiment of the present invention can set the first branch video content corresponding to the successful user interaction and the second branch video content corresponding to the failed user interaction. The first branch video and the second branch video content are branch video contents with different plot directions; thus, when the matching result is that the real-time facial action matches the target facial action, the embodiment of the present invention can play the first branch video content, and when the matching result is that the real-time facial action does not match the target facial action, the embodiment of the present invention can play the second branch video content.
[0074] In another optional implementation, a branch video content with a single plot direction can be set after the interactive node of the video. After the user performs the required interactive operation, the video can be advanced to play the branch video content. For example, in an embodiment of the present invention, the video can be smoothly advanced to the next branch video content only when the user's real-time facial movement matches the target facial movement. Therefore, the embodiment of the present invention can play the next branch video content of the video when the matching result is that the real-time facial movement matches the target facial movement; and when the matching result is that the real-time facial movement does not match the target facial movement, the subsequent content of the video will not be played. At this time, the embodiment of the present invention can cyclically prompt the user to perform the target facial movement until a matching result is obtained that the user's real-time facial movement matches the target facial movement, and then play the next branch video content of the video.
[0075] In an optional application example, taking the rotation of the user's face to determine whether the video character escapes from the trap as an example, assuming that when the user's face turns left and the holding time reaches the set time, the video character successfully escapes from the trap; otherwise, the video character fails to escape from the trap. Figure 6 With reference to the example drawings, the video playback process of the embodiment of the present invention may include:
[0076] S1. When the video is played to the interactive node where the video character enters a trap or wants to escape from a trap, an interactive prompt message is displayed on the video interface to prompt the user to turn his face to the left.
[0077] Optionally, further, the embodiment of the present invention can stop playing the video when the video reaches the interactive node; in another optional implementation, if the interactive node corresponds to video content, the video content can be played, such as playing the process of the video character escaping from the trap, and whether the action of the video character escaping from the trap fails or succeeds is determined by whether the time for the user's face to turn left reaches the set time. Optionally, the interactive prompt information can also prompt the user to expose his face within the framing range of the terminal camera.
[0078] S2. Detecting a user's facial image within the viewing range of the terminal camera, obtaining a real-time facial image of the user, identifying a real-time facial rotation direction corresponding to the real-time facial image, and adjusting the facial rotation direction of the facial model image in real time according to the real-time facial rotation direction; and, if the real-time facial rotation direction is a left facial rotation direction, displaying a correct prompt; if the real-time facial rotation direction is a right facial rotation direction, displaying an error prompt.
[0079] Within the set interaction time, based on whether the time when the real-time face rotation direction is maintained as the left face rotation direction reaches the set time, the embodiment of the present invention can be divided into the following branches to execute subsequent processes.
[0080] S3. Within the set interaction time, if it is detected that the real-time face rotation direction remains consistent with the left face rotation direction for a set time, the interaction success result information is displayed, and a branch video content in which the video character successfully escapes from the trap is played.
[0081] S4. Within the set interaction time, if it is detected that the real-time face rotation direction is different from the left face rotation direction, or the time for which the real-time face rotation direction remains consistent with the left face rotation direction does not reach the set time, the interaction failure result information is displayed, and the branch video content of the video character failing to escape from the trap is played.
[0082] The embodiment of the present invention reflects the user's real-time facial movements as facial movements of a facial model image, thereby providing real-time feedback on the user's facial movements from a display level; and displays a comparison prompt between the real-time facial movements and the target facial movements, so that the user can clearly understand whether the facial movements currently being performed are correct; therefore, when the interactive feedback information includes the facial model image and the comparison prompt, the user can correct the facial movements in time through the prompts of the interactive feedback information during the process of performing the facial movements, thereby reducing invalid interactions and improving the success rate of the user's facial movements.
[0083] The above describes multiple implementation schemes provided by the embodiments of the present invention. The various optional methods introduced in the implementation schemes can be combined and cross-referenced with each other without conflict, thereby extending a variety of possible implementation schemes, which can all be considered as implementation schemes disclosed and open in the embodiments of the present invention.
[0084] The interactive video interactive prompt device provided by the embodiment of the present invention is introduced below. The device described below can be considered as a functional module required to be set by the terminal to implement the interactive video interactive prompt method provided by the embodiment of the present invention. The content of the device described below can be referenced to the content of the interactive video interactive prompt method described above.
[0085] In an optional implementation, Figure 7 A block diagram of an interactive video interactive prompting device provided by an embodiment of the present invention is shown, Figure 7 As shown, the device may include:
[0086] The interactive prompt display module 100 is used to display interactive prompt information when the video is played to an interactive node;
[0087] The interactive feedback module 110 is used to obtain a real-time facial image of the user, identify the real-time facial movements corresponding to the real-time facial image, and display interactive feedback information according to the real-time facial movements; the interactive feedback information at least includes a facial model image, and a comparison prompt between the real-time facial movements and the target facial movements required by the interactive prompt information; wherein the facial movements of the facial model image are adjusted in real time with the real-time facial movements.
[0088] Optionally, the target facial motion includes a target facial rotation direction; the real-time facial motion includes a real-time facial rotation direction;
[0089] The facial movement of the facial model image is adjusted in real time with the real-time facial movement. Specifically, the facial rotation direction of the facial model image is adjusted in real time with the real-time facial rotation direction.
[0090] Optionally, the comparison prompt includes: a correct prompt when the real-time face rotation direction is consistent with the target face rotation direction, and an error prompt when the real-time face rotation direction is inconsistent with the target face rotation direction.
[0091] Optionally, the interactive prompting device provided by the embodiment of the present invention may also be used for:
[0092] If the user's facial image is not detected, a first prompt message is displayed, where the first prompt message is used to prompt the user to expose his face within the image acquisition range of the terminal.
[0093] Optionally, the interactive prompt display module 100 is used to display interactive prompt information, including:
[0094] Display an interactive prompt image and / or interactive prompt text; the interactive prompt image displays the target facial action in an image form, and the interactive prompt text describes the target facial action in a text form.
[0095] Optionally, the interactive prompting device provided by the embodiment of the present invention may also be used for:
[0096] If within the preset interaction time, it is detected that the real-time face rotation direction is consistent with the target face rotation direction, and the rotation angle value of the real-time face rotation direction is greater than the predetermined angle value, the interaction success result information is displayed;
[0097] If within the preset interaction time, it is detected that the real-time face rotation direction is inconsistent with the target face rotation direction, or it is detected that the real-time face rotation direction is consistent with the target face rotation direction but the rotation angle value of the real-time face rotation direction is not greater than the preset angle value, the interaction failure result information is displayed.
[0098] Optionally, in another implementation, the interactive prompting device provided by the embodiment of the present invention may also be used for:
[0099] If within the preset interaction time, it is detected that the real-time face rotation direction remains consistent with the target face rotation direction for a set time, the interaction success result information is displayed;
[0100] If within the preset interaction time, it is detected that the time for which the real-time face rotation direction remains consistent with the target face rotation direction does not reach the set time, or the real-time face rotation direction is inconsistent with the target face rotation direction, interaction failure result information is displayed.
[0101] Optionally, the interactive prompting device provided in the embodiment of the present invention can be loaded into the terminal in the form of computer executable instructions (such as a program) to implement the interactive video interactive prompting method provided in the embodiment of the present invention. In an optional implementation, the optional block diagram of the terminal provided in the embodiment of the present invention can be as follows: Figure 8 As shown, it includes: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
[0102] In the embodiment of the present invention, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;
[0103] Optionally, the communication interface 2 may be an interface of a communication module for performing network communication;
[0104] The processor 1 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.
[0105] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0106] The memory 3 stores one or more computer executable instructions, and the processor 1 calls the one or more computer executable instructions to execute the interactive prompt method for interactive video provided in an embodiment of the present invention.
[0107] Optionally, an embodiment of the present invention further provides a storage medium, which can store one or more computer-executable instructions, and the one or more computer-executable instructions are used to execute the interactive prompt method for interactive video provided by the embodiment of the present invention.
[0108] Although the embodiments of the present invention are disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. An interactive video interactive prompting method, characterized in that: include: When the video is played to an interactive node, interactive prompt information is displayed, wherein the interactive prompt information prompts the user to perform a target facial action; Acquire a real-time facial image of a user, identify real-time facial movements corresponding to the real-time facial image, and display interactive feedback information according to the real-time facial movements; The interactive feedback information at least includes a facial model image and a comparison prompt of the real-time facial movement and the target facial movement required by the interactive prompt information; wherein the facial movement of the facial model image is adjusted in real time with the real-time facial movement.
2. The interactive video interactive prompting method according to claim 1, characterized in that: The target facial motion includes a target facial rotation direction; the real-time facial motion includes a real-time facial rotation direction; The facial movement of the facial model image is adjusted in real time with the real-time facial movement. Specifically, the facial rotation direction of the facial model image is adjusted in real time with the real-time facial rotation direction.
3. The interactive video interactive prompting method according to claim 2, characterized in that: The comparison prompt includes: a correct prompt when the real-time face rotation direction is consistent with the target face rotation direction, and an error prompt when the real-time face rotation direction is inconsistent with the target face rotation direction.
4. The interactive video interactive prompting method according to claim 1, characterized in that: The method further comprises: If the user's facial image is not detected, a first prompt message is displayed, where the first prompt message is used to prompt the user to expose his face within the image acquisition range of the terminal.
5. The interactive video interactive prompting method according to claim 1, characterized in that: The interactive prompt information displayed includes: Display an interactive prompt image and / or interactive prompt text; the interactive prompt image displays the target facial action in an image form, and the interactive prompt text describes the target facial action in a text form.
6. The interactive video interactive prompting method according to claim 2 or 3, characterized in that: Also includes: If within the preset interaction time, it is detected that the real-time face rotation direction is consistent with the target face rotation direction, and the rotation angle value of the real-time face rotation direction is greater than the predetermined angle value, the interaction success result information is displayed; If within the preset interaction time, it is detected that the real-time face rotation direction is inconsistent with the target face rotation direction, or it is detected that the real-time face rotation direction is consistent with the target face rotation direction but the rotation angle value of the real-time face rotation direction is not greater than the preset angle value, the interaction failure result information is displayed.
7. The interactive video interactive prompting method according to claim 2 or 3, characterized in that: Also includes: If within the preset interaction time, it is detected that the real-time face rotation direction remains consistent with the target face rotation direction for a set time, the interaction success result information is displayed; If within the preset interaction time, it is detected that the time for which the real-time face rotation direction remains consistent with the target face rotation direction does not reach the set time, or the real-time face rotation direction is inconsistent with the target face rotation direction, interaction failure result information is displayed.
8. An interactive video interactive prompting device, characterized in that: include: An interactive prompt display module, used to display interactive prompt information when the video is played to an interactive node, wherein the interactive prompt information prompts the user to perform a target facial action; An interactive feedback module, used to obtain a real-time facial image of a user, identify real-time facial movements corresponding to the real-time facial image, and display interactive feedback information according to the real-time facial movements; The interactive feedback information at least includes a facial model image and a comparison prompt of the real-time facial movement and the target facial movement required by the interactive prompt information; wherein the facial movement of the facial model image is adjusted in real time with the real-time facial movement.
9. A terminal, characterized in that: It includes at least one memory and at least one processor, wherein the memory stores one or more computer executable instructions, and the processor calls the one or more computer executable instructions to execute the interactive prompt method of interactive video as described in any one of claims 1-7.
10. A storage medium, characterized in that: The storage medium stores one or more computer executable instructions, and the one or more computer executable instructions are used to execute the interactive prompt method of interactive video described in any one of claims 1-7.
Citation Information
Patent Citations
Man-machine interaction method and man-machine interaction system
CN106774936A
Interaction method and device of interactive video playing
CN108156523A
