CN-116173500-B - Augmented reality display method, device, electronic equipment and storage medium
Abstract
The disclosure provides an augmented reality display method, an apparatus, an electronic device and a storage medium. The augmented reality display method comprises the steps of responding to triggering operation of a multi-user shared picture, obtaining view images corresponding to all users, generating an augmented reality spherical model according to the view images corresponding to all users, wherein the augmented reality spherical model is formed by splicing the view images corresponding to all users, and displaying the picture corresponding to the augmented reality spherical model at the head-mounted end of the user. The method disclosed by the invention can be used for displaying the augmented reality scenes of a plurality of users on the head-mounted end of the augmented reality equipment.
Inventors
- LI LEI
- CUI XINYU
Assignees
- 北京字跳网络技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20230214
Claims (11)
- 1. An augmented reality display method, comprising: Responding to triggering operation of a multi-user sharing picture, and acquiring panoramic images of each user in an extended reality scene of the user; Cutting the panoramic images of the users respectively to obtain view images corresponding to the users; Generating an augmented reality spherical model according to the view images corresponding to the users, wherein the augmented reality spherical model is formed by splicing the view images corresponding to the users; And displaying a picture corresponding to the augmented reality spherical model at the head-wearing end of the user.
- 2. The method of claim 1, wherein the obtaining panoramic images of the respective users in their augmented reality scenes comprises: and carrying out segmentation processing on the augmented reality spherical model corresponding to each user to obtain panoramic images of each user in the augmented reality scene.
- 3. The method of claim 1, wherein the responding to the triggering operation of the multi-user shared picture comprises: and responding to the triggering operation of the shared picture request initiated by the main user and responding to the triggering operation of the shared picture request accepted by the slave user.
- 4. The method of claim 1, wherein the view image is a perspective view of a user currently in an augmented reality scene.
- 5. The method according to claim 1, wherein the cutting the panoramic images of the respective users to obtain view images corresponding to the respective users includes: cutting the panoramic images of the users according to a preset view angle distribution rule to obtain view images corresponding to the users.
- 6. The method of claim 5, wherein the cutting the panoramic image of each user according to a preset view angle allocation rule comprises: and cutting the panoramic image of the master user and the panoramic image of the slave user respectively according to the preset angle of view of the master user and the number of people of the slave user.
- 7. The method of claim 3, wherein displaying the corresponding screen of the augmented reality sphere model on the head-mounted end of the user comprises: acquiring sensor data of the head-mounted end uploaded by the main user; According to the sensor data, determining a view image corresponding to the current view angle of the main user in the augmented reality spherical model; and displaying the view image on the head-mounted end of the main user.
- 8. The method as recited in claim 1, further comprising: responding to the triggering operation of the local reading, and acquiring a panoramic video image locally archived by the augmented reality equipment; Cutting at least one panoramic video image according to a preset view angle distribution rule to obtain at least one view image; Splicing the at least one view image to generate an augmented reality spherical model; and displaying a picture corresponding to the augmented reality spherical model at the head-wearing end of the augmented reality equipment.
- 9. An augmented reality display device, comprising: The acquisition module is used for responding to the triggering operation of the multi-user sharing picture, acquiring panoramic images of each user in the augmented reality scene, and respectively cutting the panoramic images of each user to obtain view images corresponding to each user; The processing module is used for generating an augmented reality spherical model according to the view images corresponding to the users, and the augmented reality spherical model is formed by splicing the view images corresponding to the users; And the display module is used for displaying the corresponding picture of the augmented reality spherical model at the head-wearing end of the user.
- 10. An electronic device, comprising: At least one memory and at least one processor; Wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored by the at least one memory to perform the method of any of claims 1 to 8.
- 11. A computer readable storage medium for storing program code which, when run by a computer device, causes the computer device to perform the method of any one of claims 1 to 8.
Description
Augmented reality display method, device, electronic equipment and storage medium Technical Field The disclosure relates to the field of computer technology, and in particular, to an augmented reality display method, an apparatus, an electronic device and a storage medium. Background The augmented reality XR (ExtendedReality) is to combine reality with virtual through a computer to create a virtual environment capable of man-machine interaction. In the related art, an augmented reality single-person game scene cannot provide a "game accompaniment" function of a plurality of user players, that is, a game progress of other users cannot be watched at a "first viewing angle" in a manner of changing a viewing angle while a current user plays an augmented reality game. Disclosure of Invention This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. The disclosure provides an augmented reality display method, an apparatus, an electronic device and a storage medium. The present disclosure adopts the following technical solutions. In some embodiments, the present disclosure provides an augmented reality display method comprising: Responding to the triggering operation of the multi-user sharing picture, and acquiring view images corresponding to all users; Generating an augmented reality spherical model according to the view images corresponding to the users, wherein the augmented reality spherical model is formed by splicing the view images corresponding to the users; And displaying a picture corresponding to the augmented reality spherical model at the head-wearing end of the user. In some embodiments, the present disclosure provides an augmented reality display device comprising: the acquisition module is used for responding to the triggering operation of the multi-user sharing picture and acquiring view images corresponding to all users; The processing module is used for generating an augmented reality spherical model according to the view images corresponding to the users, and the augmented reality spherical model is formed by splicing the view images corresponding to the users; And the display module is used for displaying the corresponding picture of the augmented reality spherical model at the head-wearing end of the user. In some embodiments, the present disclosure provides an electronic device comprising at least one memory and at least one processor; The memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method. In some embodiments, the present disclosure provides a computer readable storage medium for storing program code which, when executed by a processor, causes the processor to perform the above-described method. According to the augmented reality display method, the triggering operation of the multi-user shared picture is responded, the view images corresponding to all users are obtained, the augmented reality spherical model is generated according to the view images corresponding to all users, the augmented reality spherical model is formed by splicing the view images corresponding to all users, and finally the picture corresponding to the augmented reality spherical model is displayed at the head-mounted end of the user. The method disclosed by the invention can be used for displaying the augmented reality scenes of a plurality of users on the head-mounted end of the augmented reality equipment. Drawings The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. Fig. 1 is one of flowcharts of an augmented reality display method of an embodiment of the present disclosure. Fig. 2 is a schematic diagram of augmented reality sphere model synthesis in accordance with an embodiment of the present disclosure. Fig. 3 is a schematic diagram of a data processing flow for multi-user sharing in an embodiment of the present disclosure. Fig. 4 is a schematic diagram of a data processing flow for local archiving in an embodiment of the present disclosure. Fig. 5 is a second flowchart of an augmented reality display method according to an embodiment of the present disclosure. Fig. 6 is an effect diagram of an augmented reality display of an embodiment of the present disclosure. Fig. 7 is a schematic structural diagram of an electronic device according to an embo