Character display method, device, electronic device, and storage medium
By incorporating character movement trajectory data and dynamic special effect processing, the method and device enhance augmented reality character displays, improving visual clarity and applicability across diverse scenarios.
Patent Information
- Application Number
- JP2023504123
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-09-10
- Filing Date
- 2021-08-23
- Publication Date
- 2024-10-28
- Estimated Expiration
- 2041-08-23
AI Technical Summary
Existing character display methods in augmented reality technology use static approaches, resulting in unnatural display effects and limited application scenarios.
A method and device that acquire character movement trajectory data, perform dynamic special effect processing, and display characters on actual scene images, enhancing visual clarity and applicability across various scenarios.
The method and device enable clearer and more engaging character displays in augmented reality, providing a better visual experience through dynamic special effects.
Smart Images

Figure 0007574400000001 
Figure 0007574400000002 
Figure 0007574400000003
Abstract
Description
[Technical field]
[0001] This application claims the benefit of priority from Chinese Patent Application No. 202010948338.5, filed on September 10, 2020, the entire contents of which are incorporated herein by reference.
[0002] An embodiment of the present disclosure relates to a method, an apparatus, an electronic device, and a storage medium for displaying characters. [Background technology]
[0003] Augmented reality (AR) display technology is a technology that skillfully combines virtual information with the real world, and by incorporating more special effect content into virtual and augmented reality display technology, application scenes can be displayed better.
[0004] The application of text in virtual and augmented reality display is an important component of virtual and augmented reality display technology. Known text display solutions generally use static text display methods, which results in unnatural text display effects and a single display method. Summary of the Invention [Means for solving the problem]
[0005] In response to the above problem, the embodiments of the present disclosure provide a method, device, electronic device, and storage medium for displaying characters.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for displaying a character, the method comprising: acquiring a real-scene photographed image; obtaining a character to be displayed; calling up character movement trajectory data and performing dynamic special effect processing on the character to be displayed; and displaying the characters after the dynamic special effect processing on the real scene photographed image.
[0007] In a second aspect, an embodiment of the present disclosure provides a display device for displaying characters, the display device comprising: A communication module for acquiring a captured image of a real scene and characters to be displayed; a processing module for calling up character movement trajectory data and performing dynamic special effect processing on the characters to be displayed input by a user; and a display module for displaying the characters after the dynamic special effects processing on the real scene photographed image.
[0008] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising at least one processor and a memory; The memory stores computer executable instructions, When the at least one processor executes the computer-executable instructions stored in the memory, the at least one processor is caused to perform the character display method described in the first aspect above and various possible aspects related to the first aspect.
[0009] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having computer-executable instructions stored thereon, the computer-readable storage medium causing, when executed by a processor, to implement the method for displaying characters as described in the first aspect above and various possible related aspects of the first aspect.
[0010] The character display method, device, electronic device, and storage medium according to the embodiments of the present disclosure obtain a real-life captured image and the characters to be displayed, retrieve the character movement trajectory data, perform dynamic special effect processing on the characters to be displayed, and display the characters after the dynamic special effect processing on the real-life captured image, thereby realizing the function of displaying dynamic special effects on characters in augmented virtual reality display, making the character display effect clearer, and the display method can be widely applied to various application scenarios, providing users with a better visual sensory experience.
[0011] In order to more clearly describe the technical solutions in the embodiments of the present disclosure or known technologies, the following briefly describes the drawings used in the description of the embodiments or known technologies. It is obvious that the drawings described below are some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings based on these drawings without creative labor. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a schematic diagram of the network architecture on which the present disclosure is based. [Diagram 2] FIG. 2 is a schematic diagram of the first scene that forms the basis of the method of displaying characters. [Diagram 3] FIG. 3 is a schematic diagram of another network architecture on which the present disclosure is based. [Figure 4] FIG. 4 is a schematic diagram of the second scene, which is the basis for the method of displaying characters. [Diagram 5] FIG. 5 is a diagram showing a process of a character display method according to an embodiment of the present disclosure. [Figure 6] FIG. 6 is a schematic diagram of a first interface of the character display method according to the present disclosure. [Figure 7] FIG. 7 is a schematic diagram of a second interface of the character display method according to the present disclosure. [Figure 8] FIG. 8 is a schematic diagram of a third interface of the character display method according to the present disclosure. [Figure 9] FIG. 9 is a schematic diagram of a fourth interface of the character display method according to the present disclosure. [Figure 10] FIG. 10 is a configuration block diagram of a character display device according to an embodiment of the present disclosure. [Figure 11] FIG. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure are described below clearly and completely with reference to the drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and are not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person skilled in the art without requiring creative labor shall all belong to the protection scope of the present disclosure.
[0014] Augmented reality (AR) display technology is a technology that skillfully combines virtual information with the real world. By incorporating more special effect content into virtual and augmented reality display technology, application scenes can be presented better.
[0015] The application of text in virtual and augmented reality display is an important part of the virtual and augmented reality display technology. Known text display methods generally use static text display methods, which makes the text display effect unnatural and monotonous.
[0016] In response to such problems, an embodiment of the present disclosure provides a character display method, which retrieves character movement trajectory data, performs dynamic special effect processing on the characters to be displayed, and displays the characters after the dynamic special effect processing on a captured real-world image based on augmented reality technology, thereby realizing the function of displaying dynamic special effects on characters in augmented reality display, making the character display effect clearer. This display method can be widely applied to various application scenarios, and can provide users with a better visual sensory experience.
[0017] Referring to FIG. 1, FIG. 1 is a schematic diagram of a network architecture on which the present disclosure is based. The network architecture shown in FIG. 1 may specifically include a terminal 1, a character display device 2, and a server 3.
[0018] Specifically, the terminal 1 may be a hardware device for capturing real scenes and displaying the captured real scenes, such as a user's mobile phone, a smart home device, or a tablet computer, the character display device 2 may be a client or display terminal integrated or installed on the terminal 1, and the server 3 may include a server cluster installed in the cloud for storing movement trajectory data of various characters.
[0019] The character display device 2 operates on the terminal 1 and is capable of providing display pages to the terminal 1, whereby the terminal 1 uses its screen or display components to display the pages provided by the character display device 2 to the user.
[0020] At the same time, the character display device 2 can further use the network components of the terminal 1 to interact with the server 3 to obtain character movement trajectory data pre-stored in the server 3 .
[0021] In some alternative embodiments, the terminal 1 can also cache the movement trajectory data of various characters in the server 3 for ease of use. For example, the terminal 1 can store the movement trajectory data of various characters, and by retrieving the movement trajectory data of the characters, dynamic special effect processing is performed on the characters to be displayed, and the characters after the dynamic special effect processing are displayed on the real scene photographed image captured by the terminal 1.
[0022] In particular, the architecture shown in FIG. 1 can be applied to multiple application scenarios, and FIG. 2 is a schematic diagram of the first scenario, which is the basis for how characters are displayed.
[0023] As shown in Fig. 2, in this scene, the user activates the virtual augmented reality display function provided by the character display device, transmits an operation command to display the target character via the terminal 1 to the character display device 2, and the character display device 2 interacts with the server 3 to obtain the corresponding character movement trajectory data. The character display device 2 processes the target character using the character movement trajectory data, and displays the processed character on the real scene image captured by the terminal.
[0024] In the scene, the user can perform operations such as screen video capture on the processed real-world image to obtain an image work with a personal style, and the processed real-world image can also be used as an illustration of a navigation scene in a virtual augmented reality display, an illustration of a travel scene in a virtual augmented reality display, etc.
[0025] Also, referring to FIG. 3, FIG. 3 is a schematic diagram of another network architecture on which the present disclosure is based, and the network architecture shown in FIG. 3 may specifically include a plurality of terminals 1, a character display device 2, a server 3, and an imaging system 4.
[0026] 3 differs from the architecture shown in Fig. 1 in that the character display device 2 is integrated in a server 3. In the network architecture shown in Fig. 3, the photographing system 4 can interact with the server 3 and provide the character display device 2 with real-world photographed images, and the character display device 2 processes the real-world photographed images using the character display method according to the present disclosure and transmits the processed images to multiple terminals 1, enabling the terminals 1 to view and acquire them.
[0027] The photographing system 4 may be composed of a plurality of photographing devices installed in the same photographing area, and the plurality of photographing devices photograph the photographing area at different photographing angles. When the photographing system 4 photographs the photographing area, the photographed real scene photographed image is transmitted to the server 3, transferred to the character display device 2 via the server 3, and presented on the terminal 1.
[0028] In particular, the architecture shown in Fig. 3 can be applied to the scene of displaying characters in a video live scene. Fig. 4 is a schematic diagram of the second scene, which is the basis of the method of displaying characters.
[0029] As shown in Figure 4, in this scene, multi-angle real-scene images captured by the shooting system are processed by a character display device in the server and transmitted to terminals 1 located in different locations, allowing each user to view them.
[0030] Hereinafter, the character display method according to the present disclosure will be further described by taking the structure shown in Fig. 1 as an example. The application of the character display method to the structure shown in Fig. 3 is similar to the application to the structure shown in Fig. 1, and detailed description will be omitted.
[0031] In the first aspect, referring to Fig. 5, Fig. 5 is a diagram showing a process of a character display method according to an embodiment of the present disclosure. The character display method according to an embodiment of the present disclosure includes steps 101 to 104.
[0032] In step 101, a photographed image of the actual scene is acquired.
[0033] In step 102, the character to be displayed is obtained.
[0034] In the present disclosure, multiple methods can be used to obtain the characters to be displayed.
[0035] In one alternative embodiment, the characters to be displayed are obtained directly by receiving character information input by a user.
[0036] In another alternative embodiment, the display device can obtain speech input by a user, perform a speech conversion process on the speech, and obtain characters to be displayed.
[0037] In yet another selectable embodiment, gesture information input by a user is acquired, and a character corresponding to the gesture information is determined based on a mapping relationship between the gesture information and a character set in advance, and the character corresponding to the gesture information is set as the character to be displayed. The gesture information includes one or more of sign language information, hand gesture information, and facial expression information.
[0038] In step 103, character movement trajectory data is called up and dynamic special effect processing is performed on the characters to be displayed.
[0039] In step 104, the characters after the dynamic special effects processing are displayed on the photographed image of the actual scene.
[0040] As described above, the execution body of the processing method provided in this example is the display device of the above-mentioned characters. As described above, the display device of the characters may be installed in a terminal or a server, and no matter what equipment it is installed in, it can accept the operation triggered by the user by the equipment (terminal or server) in which it is installed, perform the corresponding processing, and send the processing result to the terminal for display.
[0041] As a difference from known techniques, the solution underlying the present disclosure includes steps of retrieving character movement trajectory data, performing dynamic special effect processing on the character to be displayed, and displaying the character after the dynamic special effect processing on the real scene captured image.
[0042] By using the solution disclosed in the present disclosure, the function of displaying dynamic special effects for characters in augmented reality display can be realized, making the character display effect clearer. This display method can be widely applied to various application scenarios and provide users with a better visual sensory experience.
[0043] Fig. 6 is a schematic diagram of a first interface of the character display method according to the present disclosure, and Fig. 7 is a schematic diagram of a second interface of the character display method according to the present disclosure. As shown in Fig. 6, first, when a user triggers a character display device to execute the display function, the character display device first obtains a real scene photographed image by interacting with a photographing component or a photographing system of a terminal. Next, the display device obtains the character to be displayed, calls up the character's movement trajectory data, and performs dynamic special effect processing on the character to be displayed. As shown in Fig. 7, the display device displays the character after the dynamic special effect processing on the real scene photographed image.
[0044] In an alternative embodiment, step 103 may be realized in the following manner.
[0045] In step 1031, a user command to select a type of dynamic special effect is received.
[0046] In step 1032, the character display device can retrieve the corresponding type of character movement trajectory data from the character movement trajectory database according to the selected type of dynamic special effect.
[0047] Wherein, the type of dynamic special effect specifically refers to the user-selectable character effect provided by the character display device to the user, and enables different dynamic special effect processes to be performed on the characters according to different dynamic special effect types, so as to present different dynamic movement trajectories and different rendering results. Character movement trajectory data corresponding to different dynamic special effect types are pre-designed by the developer and stored in the character movement trajectory database of the server, so that the character display device can call them at any time.
[0048] In step 1023, a three-dimensional character modeling of the character to be displayed is generated based on the selected type of dynamic special effect, and character modeling data is obtained.
[0049] In step 1034, the character modeling data is processed using the acquired character movement trajectory data to acquire the character after dynamic special effects processing.
[0050] Furthermore, based on the selected type of dynamic special effect, a three-dimensional character modeling of the character to be displayed is generated, and character modeling data is obtained. The character modeling data may specifically be composed of the three-dimensional character coordinates of the character. Taking FIG. 7 as an example, for example, if the character is "Dear", modeling processing is performed on "Hai" and "Kei" accordingly, and the corresponding three-dimensional character models "Hai" and "Kei" are obtained. Next, the center coordinates of the two three-dimensional character models are taken as the three-dimensional character coordinates of the character.
[0051] The character motion trajectory data includes character position coordinates in different motion frames. For example, in a certain type of dynamic special effect, for example, the character motion trajectory "slides" from the left side of the interface to the right side of the interface, and the "slide" time is 1 second (corresponding to N motion frames), so that the character motion trajectory data includes character position coordinates in each motion frame.
[0052] For example, the character position coordinates in the first movement frame are [(x11, y11, z11), (x12, y12, z12)], where (x11, y11, z11) are used to represent the character position coordinates of "hai" in the first movement frame, and (x12, y12, z12) are used to represent the character position coordinates of "kei" in the first movement frame.
[0053] In the Nth movement frame, the character position coordinates are [(xN1, yN1, z21), (xN2, yN2, zN2)], where (xN1, yN1, zN1) are used to represent the character position coordinates of "hai" in the Nth movement frame, and (xN2, yN2, zN2) are used to represent the character position coordinates of "kei" in the Nth movement frame.
[0054] In other words, for "hai," a set of character position coordinates in N movement frames such as (x11, y11, z11), (x21, y21, z21), ..., (xN1, yN1, z21) becomes the movement trajectory at the time corresponding to the N movement frames, and similarly, for "kei," a set of character position coordinates in N movement frames such as (x12, y12, z12), (x22, y22, z22), ..., (xN2, yN2, zN2) becomes the movement trajectory at the time corresponding to the N movement frames.
[0055] Of course, the character position coordinate is used to represent the position coordinate of each character. That is, when using the same type of dynamic special effect, the character position coordinate in the character movement trajectory data corresponding to the characters with different numbers is also different. Accordingly, when the number of characters changes, the display device needs to re-determine the character position coordinate in each movement frame of each character, so as to ensure that each character in the character can be accurately displayed.
[0056] In step 1023, the modeling data of the character is processed using the acquired character movement trajectory data to acquire the character after dynamic special effects processing.
[0057] Specifically, in this step, the display device uses a pre-configured coordinate mapping script to map the 3D character coordinates of the character into a coordinate system underlying the character movement trajectory data, ensuring that both use coordinates in the same coordinate system.
[0058] Next, the display device performs coordinate alignment processing on the three-dimensional character coordinates of the mapped characters and the character position coordinates in each movement frame in the character movement trajectory data, i.e., aligns the three-dimensional character coordinates of the center point of each character in the character with the character position coordinates corresponding to the character, and finally, the characters after the alignment processing are regarded as characters after dynamic special effects processing.
[0059] Optionally, in the solution disclosed herein, the dynamic special effect processing of the characters further includes special effect processing for the character shape of the characters. According to different types of dynamic special effects selected by a user, the display device processes the character shape of the characters using different special effect processing algorithms, for example, on the basis of the three-dimensional models of "Dear" and "Hi", further performs special effect processing on the three-dimensional models, for example, performs art word processing to make the three-dimensional models of the characters have a certain artistic style.
[0060] In an alternative embodiment, the method further includes the step of displaying the character after the dynamic special effect processing on the real scene photographed image after obtaining the character after the dynamic special effect processing. Specifically, the step may be realized by a virtual reality augmentation algorithm, for example, a SLAM combination algorithm, that is, the character after the dynamic special effect processing and the real scene photographed image are combined and the combined real scene photographed image is displayed. The SLAM combination algorithm is a known algorithm model that combines virtual information and a real scene image to display, and the combination algorithm and the 3D character coordinates of the character after the matching processing in each moving frame are used to realize the function of combining the character with the real scene photographed image and displaying it.
[0061] Selectably, the display method further includes a function of selecting a special effect display area. Specifically, the step of displaying the character after the dynamic special effect processing in the real scene photographed image further includes a step of determining a special effect display area in the real scene photographed image based on the type of the selected dynamic special effect, and a step of displaying the character after the dynamic special effect processing in the special effect display area of the real scene photographed image.
[0062] Furthermore, in the process of determining the special effect display area, a target identification process is performed on the real-life photographed image based on the selected type of dynamic special effect, the area in which the target in the real-life photographed image is located is confirmed, and the special effect display area is determined based on the area in which the target in the real-life photographed image is located.
[0063] Taking a face-based selfie scene as an example, FIG. 8 is a schematic diagram of the third interface of the character display method of the present disclosure. As shown in FIG. 8, in this scene, the display device can obtain a real-life captured image including a face by activating the front camera of the terminal, and then select one dynamic special effect from multiple dynamic special effect types provided in the interface to display characters corresponding to the special effect display area of the face in the real-life captured image.
[0064] Specifically, the third interface in FIG. 8 is set with a plurality of types of dynamic special effects, such as type A, type B, type C, and type D. When a command for a special effect type of "type A (for example, type A is a character glasses special effect)" selected by a user is received, a special effect display area for generating the character in a real scene photographed image, for example, an area where the eyes of a face in a real scene photographed image are located, is first determined based on the type, and then the character movement trajectory data corresponding to the type of special effect is called up, and dynamic special effect processing is performed on the character (for example, "GOOD GIRL" input by the user), and finally, the processed character is displayed in the acquired special effect display area (for example, an area where the eyes are located). In one embodiment, a related virtual object can be further added to the special effect display area, and the processed character can be displayed on the virtual object. For example, in FIG. 8, virtual glasses can be further placed in the eye area first, and the processed character can be displayed on the virtual glasses to enhance the beauty of the interface.
[0065] Fig. 9 is a schematic diagram of a fourth interface of the character display method according to the present disclosure, and as shown in Fig. 9, the display device identifies and processes the face in the current real scene photographed image based on the type of the dynamic special effect, checks the position area of the face's eyes in the image, and then determines the special effect display area based on the area where the eyes are located, and accordingly, when the face rotates or changes position in the image, the special effect display area also changes, thereby obtaining the schematic diagram shown in Fig. 9. For example, the position and angle of the processed character also change in the screen according to the change in the position and angle of the face.
[0066] Further, in the present disclosure, the character display device can obtain characters to be displayed in a plurality of ways.
[0067] In one alternative embodiment, the characters to be displayed are obtained directly by receiving character information input by a user.
[0068] In another alternative embodiment, the display device can obtain speech input by a user and perform a speech conversion process on the speech to obtain characters to be displayed.
[0069] In yet another selectable embodiment, the display device may further acquire gesture information input by a user, determine a character corresponding to the gesture information based on a mapping relationship between the gesture information and a character set in advance, and set the character corresponding to the gesture information as the character to be displayed. The gesture information includes one or more of sign language information, hand gesture information, and facial expression information.
[0070] A character display method according to an embodiment of the present disclosure obtains a real-scene photographed image, retrieves character movement trajectory data, performs dynamic special effect processing on the character to be displayed, and displays the character after the dynamic special effect processing on the real-scene photographed image, thereby realizing the function of displaying dynamic special effects on characters in a virtual augmented reality display, making the character display effect clearer. The display method can be widely applied to various application scenarios, and can provide users with a better visual sensory experience.
[0071] Corresponding to the character display method of the above embodiment, Fig. 10 is a block diagram of a character display device according to an embodiment of the present disclosure. For ease of explanation, only parts related to the embodiment of the present disclosure are shown. Referring to Fig. 10, the character display device includes a communication module 10, a processing module 20, and a display module 30.
[0072] The communication module 10 is used to acquire the captured image of the actual scene and the characters to be displayed.
[0073] The processing module 20 is used to retrieve the character movement trajectory data and perform dynamic special effect processing on the characters to be displayed.
[0074] The display module 30 is used for displaying the characters after the dynamic special effects processing on the real scene photographed image.
[0075] In an alternative embodiment, the communication module 10 is adapted to receive a user instruction to select a type of dynamic special effect; The processing module 20 is further used to determine a special effect display area in the real-life captured image based on the selected type of dynamic special effect; The display module 30 is used for displaying the dynamic special effect processed text in a special effect display area of the real scene photographed image.
[0076] In an optional embodiment, the processing module 20 is further used to perform a target identification process on the real-world image based on the type of dynamic special effect selected, to identify an image area in the real-world image in which a target to be identified is located, and to determine the special effect display area based on the image area in which the target to be identified is located.
[0077] In an alternative embodiment, the communication module 10 is adapted to receive a user instruction to select a type of dynamic special effect; Specifically, the processing module 20 is used for retrieving corresponding type of character movement trajectory data from a character movement trajectory database based on the selected type of dynamic special effect; generating 3D character modeling of the character to be displayed based on the selected type of dynamic special effect, and obtaining character modeling data; and processing the character modeling data using the character movement trajectory data, and obtaining the character after the dynamic special effect processing.
[0078] In an optional embodiment, the character modeling data includes three-dimensional character coordinates of a character, and the character movement trajectory data includes character position coordinates in different movement frames, and the processing module 20 is specifically used for using a preset coordinate mapping script to map the three-dimensional character coordinates of the character to a coordinate system underlying the character movement trajectory data, performing a coordinate alignment process on the mapped three-dimensional character coordinates of the character and the character position coordinates in each movement frame in the character movement trajectory data, and setting the character after the alignment process as the character after the dynamic special effect processing.
[0079] In an alternative embodiment, the processing module 20 is specifically used to perform special effects processing on the character shapes of the characters.
[0080] In an optional embodiment, the display module 30 is specifically used for combining the dynamic special effects processed text with the real scene image based on an augmented reality display technology, and displaying the combined real scene image.
[0081] In an alternative embodiment, the communication module 10 is further used to obtain a voice input by a user, perform a voice conversion process on the voice, and obtain the characters to be displayed.
[0082] In an optional embodiment, the communication module 10 is further used for obtaining gesture information input by a user, determining a corresponding character of the gesture information based on a mapping relationship between the gesture information and a character preset, and setting the corresponding character of the gesture information as the character to be displayed.
[0083] In an optional embodiment, the gesture information includes one or more of sign language information, hand gesture information, and facial expression information.
[0084] A character display device according to an embodiment of the present disclosure acquires a real-scene photographed image, acquires characters to be displayed, calls up character movement trajectory data, performs dynamic special effect processing on the characters to be displayed, and displays the characters after dynamic special effect processing on the real-scene photographed image, thereby realizing the function of displaying dynamic special effects on characters in virtual augmented reality display, making the character display effect clearer, and the display method can be widely applied to various application scenarios, providing users with a better visual sensory experience.
[0085] The electronic device of this embodiment can be used to implement the technical solutions of the above method embodiments, and the realization principles and technical effects are similar, so detailed descriptions are omitted here in this embodiment.
[0086] Referring to FIG. 11, a structural schematic diagram of an electronic device 900 suitable for implementing the embodiments of the present disclosure is shown, and the electronic device 900 may be a terminal device or a media library. The terminal device may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (abbreviated as PDA), tablet computers (abbreviated as Portable Android Devices (abbreviated as PAD), portable multimedia players (abbreviated as Portable Media Players (PMP)), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 11 is merely an example and does not limit the functions and scope of use of the embodiments of the present disclosure.
[0087] As shown in Fig. 11, the electronic device 900 may include a character display method (e.g., a central processor, a graphics processor, etc.) 901, which can perform various appropriate operations and processes based on a program stored in a read only memory (ROM) 902 or a program uploaded from a storage device 908 to a random access memory (RAM). The RAM 903 further stores various programs and data required for the operation of the electronic device 900. The character display method 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0088] Typically, devices such as input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 907 including, for example, a screen, speaker, oscillator, etc., storage devices 908 including, for example, a magnetic tape, hard disk, etc., and communication devices 909 may be connected to the I / O interface 905. The communication devices 909 allow the electronic device 900 to communicate wirelessly or via wires with other devices to exchange data. Although FIG. 11 illustrates the electronic device 900 having various devices, it should be understood that it is not required to implement or include all of the illustrated devices. More or fewer devices may alternatively be implemented or included.
[0089] In particular, according to an embodiment of the present disclosure, the above process described with reference to the flowcharts may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device 909, or may be installed from a storage device 908, or may be installed from a ROM 902. When the computer program is executed by the character display method 901, it performs the above functions defined by the method of the embodiment of the present disclosure.
[0090] As described, the computer-readable medium of the present disclosure may be a computer-readable signal medium, or a computer-readable storage medium, or any combination of both. The computer-readable storage medium may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more conductors, 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, the computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable program code. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program used by or in combination with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted by any suitable medium, including, but not limited to, a wire, a cable, RF (radio frequency), etc., or any suitable combination of the above.
[0091] The computer-readable medium may be included in the electronic device, or may exist separately from the electronic device without being incorporated in the electronic device.
[0092] The computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.
[0093] Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or a combination thereof. Such programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computer, partially on the user computer, as one independent software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or media library. When referring to a remote computer, the remote computer may be connected to the user computer via any type of network, such as a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., connected via the Internet using an Internet Service Provider).
[0094] The flowcharts and block diagrams in the drawings illustrate the architecture, functions, and operations that can be realized by the systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowcharts or block diagrams may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing the specified logical function. It should be noted that in some alternative implementations, the functions marked in the boxes may be executed in a different order than the order marked in the drawings. For example, two boxes shown in succession may actually be executed substantially in parallel or in the reverse order, as determined by the related functionality. It should be noted that each box in the block diagrams and / or flowcharts, and combinations of boxes in the block diagrams and / or flowcharts, may be implemented in a dedicated system based on hardware that executes the specified functions or operations, or may be implemented in a combination of dedicated hardware and computer instructions.
[0095] The units described in relation to the embodiments of the present disclosure may be implemented in a software manner or a hardware manner. In some cases, the names of the units do not limit the units themselves, for example, the first obtaining unit may be further described as "a unit for obtaining at least two Internet Protocol addresses".
[0096] The functions described herein may be performed at least in part by one or more pieces of logic hardware. For example, without limitation, exemplary types of logic hardware 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), etc.
[0097] In the context of this disclosure, a machine-readable medium may be a tangible medium, which may contain or store a program used by or in combination with an instruction execution system, device, or apparatus. 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 apparatus, or any suitable combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0098] Below, several examples of the present disclosure are presented.
[0099] In a first aspect, according to one or more embodiments of the present disclosure, a method for displaying characters includes: acquiring a real-scene photographed image; obtaining a character to be displayed; calling up character movement trajectory data and performing dynamic special effect processing on the character to be displayed; and displaying the characters after the dynamic special effect processing on the real scene photographed image.
[0100] In an optional embodiment, the step of displaying the character after the dynamic special effect processing on the real scene photographed image includes: receiving a user instruction to select a type of dynamic special effect; determining a special effect display area in the real scene photographed image based on the selected type of dynamic special effect; and displaying the character after the dynamic special effect processing in a special effect display area of the actual scene photographed image.
[0101] In an optional embodiment, the step of determining a special effect display area in the real-life captured image based on the selected type of dynamic special effect comprises: performing a target identification process on the real-life image based on the selected type of dynamic special effect, and identifying an image area in the real-life image where a target to be identified is located; determining the special effects display area based on an image area in which the identified target is located.
[0102] In an optional embodiment, the step of calling up character movement trajectory data and performing dynamic special effect processing on the character to be displayed comprises: receiving a user instruction to select a type of dynamic special effect; calling up character movement trajectory data of a corresponding type from a character movement trajectory database according to the selected type of dynamic special effect; generating a three-dimensional character modeling of the character to be displayed according to the selected type of dynamic special effect, and obtaining character modeling data; and processing modeling data of the character using character movement trajectory data to obtain the character after the dynamic special effect processing.
[0103] In an alternative embodiment, the character modeling data includes three-dimensional character coordinates of a character; The character movement trajectory data includes character position coordinates in different movement frames of the movement trajectory; The step of processing modeling data of the character using character movement trajectory data to obtain a character after dynamic special effect processing includes: Mapping the three-dimensional character coordinates of the characters into a coordinate system that serves as an underlying basis for character movement trajectory data using a preset coordinate mapping script; performing a coordinate matching process on the three-dimensional character coordinates of the mapped characters and the character position coordinates in each movement frame in the character movement trajectory data; and a step of setting the character after the matching process as the character after the dynamic special effect process.
[0104] In an optional embodiment, the dynamic special effects processing comprises: It further includes special effect processing for the character shapes of characters.
[0105] In an optional embodiment, the step of displaying the character after the dynamic special effect processing on the real scene photographed image includes: The method includes a step of combining the character after the dynamic special effect processing and the real scene photographed image based on an augmented reality display technology, and displaying the combined real scene photographed image.
[0106] In an alternative embodiment, the method comprises: The method further includes the steps of acquiring a voice input by a user, performing a voice conversion process on the voice, and acquiring the characters to be displayed.
[0107] In an alternative embodiment, the method comprises: The method further includes a step of acquiring gesture information input by a user, determining a character corresponding to the gesture information based on a mapping relationship between predetermined gesture information and characters, and setting the character corresponding to the gesture information as the character to be displayed.
[0108] In an alternative embodiment, the gesture information includes one or more of sign language information, hand gesture information, and facial expression information.
[0109] In a second aspect, according to one or more embodiments of the present disclosure, a display device for displaying characters includes: A communication module for acquiring a captured image of a real scene and characters to be displayed; a processing module for calling character movement trajectory data and performing dynamic special effect processing on the character to be displayed; and a display module for displaying the characters after the dynamic special effects processing on the real scene photographed image.
[0110] In an alternative embodiment, the communication module is adapted to receive a selection command of a type of dynamic special effect by a user; The processing module is further used for determining a special effect display area in the real-world captured image based on a selected type of dynamic special effect; The display module is used for displaying the dynamic special effect processed text in a special effect display area of the real scene photographed image.
[0111] In an optional embodiment, the processing module is further used to perform a target identification process on the real-world image based on the type of dynamic special effect selected, to identify an image area in the real-world image in which a target to be identified is located, and to determine the special effect display area based on the image area in which the target to be identified is located.
[0112] In an alternative embodiment, the communication module is adapted to receive a selection command of a type of dynamic special effect by a user; The processing module is specifically used for retrieving corresponding type of character movement trajectory data from a character movement trajectory database based on the selected type of dynamic special effect; generating three-dimensional character modeling of the character to be displayed based on the selected type of dynamic special effect, obtaining character modeling data; and processing the character modeling data using the character movement trajectory data to obtain the character after the dynamic special effect processing.
[0113] In an alternative embodiment, the character modeling data includes three-dimensional character coordinates of a character, and the character motion trajectory data includes character position coordinates in different motion frames; Specifically, the processing module is used to use a preset coordinate mapping script to map the three-dimensional character coordinates of the character to a coordinate system that is the basis of the character movement trajectory data, to perform coordinate alignment processing on the three-dimensional character coordinates of the mapped character and the character position coordinates in each movement frame in the character movement trajectory data, and to make the character after the alignment processing the character after the dynamic special effect processing.
[0114] In an alternative embodiment, the processing module is specifically used to perform special effect processing on the character shapes of the characters.
[0115] In an optional embodiment, the display module is specifically used for combining the character after the dynamic special effects processing with the real scene photographed image based on an augmented reality display technology, and displaying the combined real scene photographed image.
[0116] In an alternative embodiment, the communication module is further used to obtain a voice input by a user, perform a voice conversion process on the voice, and obtain the characters to be displayed.
[0117] In an optional embodiment, the communication module is further used for acquiring gesture information input by a user, determining a character corresponding to the gesture information based on a mapping relationship between a preset gesture information and a character, and setting the character corresponding to the gesture information as the character to be displayed.
[0118] In an alternative embodiment, the gesture information includes one or more of sign language information, hand gesture information, and facial expression information.
[0119] In a third aspect, according to one or more embodiments of the present disclosure, an electronic device includes at least one processor and a memory; The memory stores computer executable instructions, The at least one processor executes computer executable instructions stored in the memory, causing the at least one processor to perform the method for displaying characters described in any one of the preceding claims.
[0120] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided having computer-executable instructions stored thereon, which, when executed by a processor, realizes a method of displaying characters as described in any one of the above.
[0121] The above description is merely a description of the preferred embodiments of the present disclosure and the technical principles used. As can be understood by those skilled in the art, the scope of the present disclosure is not limited to the technical solution consisting of a specific combination of the above technical features, but should also include other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the concept of the above disclosure. For example, the above features may be substituted with technical features having similar functions (not limited) disclosed in the present disclosure.
[0122] Also, although operations have been described in a particular order, this should not be understood as requiring that these operations be performed in the particular order shown, or sequentially. In some cases, multitasking and parallel processing may be advantageous. Similarly, although the above discussion includes a number of specific implementation details, these should not be construed as limiting the scope of the disclosure. Some features that are described in the context of separate embodiments may be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may be implemented in multiple embodiments separately or in any suitable subcombination manner.
[0123] Although the subject matter has been described in language specific to structural features and / or logical operations of a method, the subject matter defined in the appended claims should not be limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms for implementing the claims.
Claims
1. A method for displaying characters, comprising: acquiring a real-scene photographed image; obtaining a character to be displayed; calling up character movement trajectory data and performing dynamic special effect processing on the character to be displayed; displaying the characters after the dynamic special effect processing on the real scene photographed image; Including, The step of calling up character movement trajectory data and performing dynamic special effect processing on the character to be displayed includes: receiving a user instruction to select a type of dynamic special effect; calling up character movement trajectory data of a corresponding type from a character movement trajectory database according to the selected type of dynamic special effect; generating a three-dimensional character modeling of the character to be displayed according to the selected type of dynamic special effect, and obtaining character modeling data; processing modeling data of the character using character movement trajectory data to obtain the character after the dynamic special effect processing; Including, the character modeling data includes three-dimensional character coordinates of a character; The character movement trajectory data includes character position coordinates in different movement frames of the movement trajectory; The step of processing modeling data of the character using character movement trajectory data to obtain the character after the dynamic special effect processing includes: Mapping the three-dimensional character coordinates of the character into a coordinate system that serves as an underlying basis for character movement trajectory data using a preset coordinate mapping script; performing a coordinate matching process on the three-dimensional character coordinates of the mapped characters and the character position coordinates in each movement frame in the character movement trajectory data; a step of setting the character after the coordinate alignment processing as the character after the dynamic special effect processing; Including, method.
2. The step of displaying the characters after the dynamic special effect processing on the actual scene photographed image includes: receiving a user instruction to select a type of dynamic special effect; determining a special effect display area in the real scene photographed image based on the selected type of dynamic special effect; displaying the character after the dynamic special effect processing in a special effect display area of the actual scene photographed image; The method of claim 1 , comprising:
3. The step of determining a special effect display area in the real scene photographed image based on the selected type of dynamic special effect includes: performing a target identification process on the real-life image based on the selected type of dynamic special effect, and identifying an image area in the real-life image where a target to be identified is located; determining the special effect display area based on an image area in which the identified target is located; The method of claim 2.
4. The dynamic special effect processing further comprises: Including special effects processing for character shapes. The method according to any one of claims 1 to 3.
5. The step of displaying the characters after the dynamic special effect processing on the actual scene photographed image includes: a step of combining the character after the dynamic special effect processing and the real scene photographed image based on an augmented reality display technology, and displaying the combined real scene photographed image; The method of claim 1.
6. The method further comprises: The method includes a step of acquiring a voice input by a user, performing a voice conversion process on the voice, and acquiring characters to be displayed. The method according to any one of claims 1 to 5.
7. The method further comprises: acquiring gesture information input by a user, determining a character corresponding to the gesture information based on a mapping relationship between the gesture information and a character set in advance, and setting the character corresponding to the gesture information as the character to be displayed; The method according to any one of claims 1 to 5.
8. The gesture information includes one or more of sign language information, hand gesture information, and facial expression information. The method of claim 7.
9. a communication module for acquiring a photographed image of a real scene and acquiring characters to be displayed; a processing module for calling character movement trajectory data and performing dynamic special effect processing on the character to be displayed; a display module for displaying characters after dynamic special effects processing on the real scene photographed image; Including, The processing module includes: receiving a user instruction to select a type of dynamic special effect; According to the type of the selected dynamic special effect, call up the corresponding type of character movement trajectory data from the character movement trajectory database; Generate a three-dimensional character modeling of the character to be displayed according to the selected type of dynamic special effect, and obtain character modeling data; and processing modeling data of the character using character movement trajectory data to obtain the character after the dynamic special effect processing; the character modeling data includes three-dimensional character coordinates of a character; The character movement trajectory data includes character position coordinates in different movement frames of the movement trajectory; Processing modeling data of the character using movement trajectory data of the character to obtain the character after the dynamic special effect processing, using a preset coordinate mapping script, mapping the three-dimensional character coordinates of the character into a coordinate system that serves as an underlying basis for character movement trajectory data; A coordinate matching process is performed on the three-dimensional character coordinates of the mapped characters and the character position coordinates in each movement frame in the character movement trajectory data; and The character after the coordinate alignment process is regarded as the character after the dynamic special effect process. Including, A display device for characters.
10. At least one processor; A memory, The memory stores computer executable instructions, An electronic device, which, when executed by the at least one processor, causes the at least one processor to perform the method of any one of claims 1 to 8.
11. It stores computer executable instructions, When the processor executes the computer-executable instructions, Carrying out the method according to any one of claims 1 to 8 A computer-readable storage medium.
Citation Information
Patent Citations
Device and method for generating animation data, and device and method for generating animation video
JP2003051029A
Three-dimensional character mail system
JP2010225174A
Image recognition device, and image recognition method
JP2015102897A
Server system, application program distribution server, terminal for browsing, content browsing method, application program, distribution method and application program distribution method
JP2020053026A
Image processing device, image processing method, and program
WO2019230225A1
