WO2023124698A1 - 增强现实场景的展示 - Google Patents
增强现实场景的展示 Download PDFInfo
- Publication number
- WO2023124698A1 WO2023124698A1 PCT/CN2022/134853 CN2022134853W WO2023124698A1 WO 2023124698 A1 WO2023124698 A1 WO 2023124698A1 CN 2022134853 W CN2022134853 W CN 2022134853W WO 2023124698 A1 WO2023124698 A1 WO 2023124698A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- display
- virtual object
- virtual
- objects
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating three-dimensional [3D] models or images for computer graphics
Definitions
- the present disclosure relates to the technical field of augmented reality, in particular to a display of augmented reality scenes.
- Augmented Reality (AR) technology superimposes a virtual model on the real world, thereby presenting the real environment and virtual objects in the same picture or space in real time.
- AR Augmented Reality
- Embodiments of the present disclosure provide a display method, device, AR device, and storage medium of an augmented reality AR scene.
- an embodiment of the present disclosure provides a method for displaying an augmented reality AR scene, the method including: in response to identifying multiple target identification objects from the current scene image, according to the multiple target identification objects respectively Corresponding to the virtual object, determine the target joint display data for multiple virtual objects; according to the initial relative poses of each of the virtual objects and the AR device in the world coordinate system, determine each of the virtual objects and the AR device The first relative pose data in the world coordinate system; according to the first relative pose data of each of the virtual objects and the AR device and the joint display data of the target, display multiple objects on the AR device the virtual object.
- an embodiment of the present disclosure provides a device for displaying an augmented reality AR scene, the device comprising: a joint data determination module configured to, in response to identifying multiple target identification objects from the current scene image, according to the The virtual objects respectively corresponding to the plurality of target identification objects determine the target joint display data for the plurality of virtual objects; the first pose determining module is configured to, according to each of the virtual objects and the AR device in the world coordinate system In the initial relative pose, determine the first relative pose data of each of the virtual objects and the AR device in the world coordinate system; the first presentation module is configured to, according to each of the virtual objects and the AR device The first relative pose data and the target joint display data, displaying multiple virtual objects on the AR device.
- the embodiment of the present disclosure provides an augmented reality AR device, including: a processor; and a memory, communicably connected to the processor, the memory stores computer instructions that can be read by the processor , the computer instructions are used to cause the processor to execute the method according to any implementation manner of the first aspect.
- an embodiment of the present disclosure provides a storage medium storing computer instructions for causing a computer to execute the method according to any embodiment of the first aspect.
- the display method of the embodiment of the present disclosure can make the multiple virtual objects interact when multiple target identification objects are identified, presenting a joint display effect and improving the display effect of the virtual image.
- each virtual object is not limited to being displayed at a fixed display position, which makes the joint display effect between multiple virtual objects more realistic and improves user experience.
- Fig. 1 is a schematic structural diagram of an AR device according to some implementations of the present disclosure.
- FIGS. 2a and 2b are schematic structural diagrams of an AR device according to some implementations of the present disclosure.
- Fig. 3 is a structural block diagram of an AR device according to some implementations of the present disclosure.
- FIG. 4 is a flowchart illustrating a method in some embodiments according to the present disclosure.
- Figure 5 is a schematic diagram illustrating a method in some embodiments according to the present disclosure.
- FIG. 6 is a flowchart illustrating a method in some embodiments according to the present disclosure.
- Figure 7 is a flow chart illustrating a method in some embodiments according to the present disclosure.
- FIG. 8 is a flowchart illustrating a method in some embodiments according to the present disclosure.
- FIG. 9 is a flowchart illustrating a method in some embodiments according to the present disclosure.
- Figure 10 is a flowchart illustrating a method in some embodiments according to the present disclosure.
- Fig. 11 is a structural block diagram of a display device according to some embodiments of the present disclosure.
- Displaying AR effects based on markers is a way to display virtual objects in augmented reality scenes.
- This method requires pre-made markers, such as preset graphics drawn on the surface of items based on Hamming Code technology. etc., the preset graphics may be, for example, cartoon images, two-dimensional codes, barcodes, etc.
- the AR device recognizes the Marker in the current scene through the camera, it can superimpose the corresponding virtual object on the current scene image to realize the superimposed display effect of the virtual object and the real scene.
- the virtual object corresponding to the identified object is preset.
- the AR device recognizes the identified object, it can be identified on the display screen of the AR device based on the preset display effect
- the virtual object corresponding to the object is displayed.
- the identification object can be a preset graphic drawn on the surface of a calendar or a postcard.
- a corresponding virtual object can be presented on the display screen of the AR device and superimposed on the surface of the identification object to make a preset.
- Set the visual effect of the action For a multi-identified object scene, when the AR device recognizes multiple identified objects, each corresponding virtual object can only be displayed on the surface of the corresponding identified object, and there is no interaction between the virtual objects in this display mode. Sex, the display effect is not good.
- Embodiments of the present disclosure provide a display method, device, AR device, and storage medium of an augmented reality scene, aiming at improving the display effect of virtual objects in the AR scene and improving user experience.
- the embodiment of the present disclosure provides a method for displaying an augmented reality scene, and the method can be applied to an AR device.
- the AR device described in the embodiments of the present disclosure can be any terminal device with AR functions, such as head-mounted devices such as AR glasses and AR helmets, or handheld devices such as smart phones and tablet computers, or smart phones. Wrist-worn devices such as watches and smart bracelets, etc., are not limited in this disclosure.
- the AR device described in the present disclosure is described by taking AR glasses as an example.
- the AR device 100 includes a main body 101, and the main body 101 includes a bracket structure for wearing and supporting.
- the display screen 110 is arranged on the main body 101 , and after the user wears the AR device 100 , the display screen 110 can be located directly in front of the user's eyes, so that the user can easily observe the images displayed on the display screen 110 .
- the AR device 100 also includes a camera 120, which is used to collect images of the current scene.
- the AR device 100 also includes a processor disposed inside the main body 101 , and the processor is used to superimpose the current scene image captured by the camera 120 with the virtual object, and display it on the display screen 110 .
- the AR device described in the present disclosure is described by taking a smart phone as an example.
- the AR device 100 includes a housing 102, which is a shell structure for supporting the main body of the mobile phone.
- the display screen 110 is arranged on the front of the casing 102, and the camera 120 is arranged on the front and/or the back of the casing 102.
- the camera 120 is arranged on the back of the casing.
- the camera 120 is used to collect the current scene image, so that the processor of the smart phone superimposes the current scene image collected by the camera 120 with the virtual object, and displays it on the display screen 110 .
- FIG. 3 shows a structural block diagram of an AR device in the present disclosure.
- the AR device in an embodiment of the present disclosure will be further described below in conjunction with FIG. 3 .
- the AR device 100 includes a processor 130 , a memory 140 , a camera 120 , a display screen 110 and an IMU (Inertial Measurement Unit, inertial measurement unit) sensor 160 .
- IMU Inertial Measurement Unit, inertial measurement unit
- the processor 130 , the memory 140 , the camera 120 , the display screen 110 and the IMU sensor 160 establish a communicable connection between any of them through the bus 150 .
- the processor 130 can be any type of processor with one or more processing cores. It can perform single-threaded or multi-threaded operations, and is used to parse instructions to perform operations such as obtaining data, performing logical operation functions, and delivering operation processing results.
- the memory 140 may include a non-volatile computer-readable storage medium, such as at least one magnetic disk storage device, a flash memory device, a distributed storage device located remotely with respect to the processor 130, or other non-volatile solid-state storage devices.
- the memory may have a program storage area for storing non-volatile software programs, non-volatile computer-executable programs and modules, which are invoked by the processor 130 to make the processor 130 execute one or more method steps below.
- the memory 140 may also include a storage part such as a volatile random storage medium or a hard disk, as a data storage area for storing calculation processing results and data output by the processor 130 .
- the camera 120 is used to collect the current scene image, so that the processor 130 can perform fusion processing for the virtual object according to the collected current scene image, so as to realize the AR display effect.
- the camera 120 can be any type of camera suitable for implementation, such as a black and white camera, an RGB camera, etc.
- the camera 120 can be divided into a monocular camera and a binocular camera according to the number of cameras, which is not limited in the present disclosure. .
- the display screen 110 is configured to receive the display information issued by the processor 130 , so as to present a corresponding display image on the display screen 110 according to the display information, so that the user can observe the AR display effect through the display screen 110 .
- the display screen 110 may be any display screen type suitable for implementation, such as an LCD (Liquid Crystal Display, liquid crystal display) display screen, an OLED (Organic Light-Emitting Diode, organic light-emitting semiconductor) display screen, etc., This disclosure does not limit this.
- the IMU sensor 160 is mainly used to detect and measure the acceleration and rotational motion of the AR device itself. Its basic principle is to use the law of inertia to measure the acceleration and rotational motion, and can calculate the pose of the AR device itself in real time based on the sensor signal.
- the IMU sensor 160 may include, for example, a three-axis or six-axis gyroscope, an acceleration sensor, and the like.
- the display method of the augmented reality AR scene of the example of the present disclosure includes:
- each target identification object corresponds to a respective virtual object.
- the current scene image refers to a scene image collected in real time by a camera of an AR device.
- the camera 120 collects scene images within the viewing range, and displays the collected scene images on the display screen 110 through data processing.
- the images observed by the user in real time on the display screen 110 are The current scene image. It can be understood that as the pose of the AR device changes, the collected current scene image changes accordingly, that is, the current scene image is a real-time image.
- the target identification object refers to the marker used to trigger the display of the AR effect, that is, the above-mentioned Marker.
- the specific presentation method of the target identification object may be, for example, a two-dimensional code, a preset graphic, etc., which is not limited in the present disclosure.
- the current scene image includes at least two target identification objects, so that the AR device can recognize multiple target identification objects from the current scene image.
- the current scene image is as shown in FIG. 5, which includes two postcards 200
- the target identification object includes cartoon graphics drawn on the surface of each postcard 200, that is, cartoon graphics 210 and cartoon graphics 220.
- the cartoon graphic 210 and the cartoon graphic 220 as target identification objects can be drawn based on, for example, Hamming code technology, so that the AR device can recognize and analyze the cartoon graphic when it collects an image containing the cartoon graphic.
- the process of drawing and analyzing Hamming codes can be understood and fully implemented by those skilled in the art by referring to related technologies, which is not limited in the present disclosure.
- the target identification object is a preset graphic drawn on the surface of the object.
- the AR device captures the scene image including the preset graphic, it can extract and identify the feature points of the scene image through image detection technology, so that This preset graphic can be recognized from the scene image.
- image detection and recognition of preset images can be understood and fully implemented by those skilled in the art with reference to related technologies, and the present disclosure does not limit this.
- the target identification object is associated with the corresponding virtual object.
- a model database including at least one virtual object may be pre-established, and the model database includes the virtual object and the target identification object associated with the virtual object.
- the virtual object corresponding to the target identification object can be determined by searching the model database.
- a virtual object is represented as a virtual image rendered and presented on the display screen of an AR device.
- the display effect of the interaction between the virtual object and the real scene can be presented.
- the AR device detects and recognizes the collected current scene image through the image detection technology, and if the target identification object is recognized from the current scene image, the virtual object corresponding to the target identification object can be determined.
- a virtual object corresponding to each target identification object is generated, wherein each virtual object is not placed in the corresponding target identification object Positions are displayed separately, but a joint display effect is produced between multiple virtual objects.
- the joint display effect refers to any rendering effect that can cause multiple virtual objects to be linked, for example, superposition, surround, interaction, etc. between multiple virtual objects.
- corresponding joint display effects may be preset based on different combinations of virtual objects.
- a joint display relationship is introduced.
- the joint display relationship represents the corresponding relationship between the virtual object and the joint display data.
- the joint display data refers to the data that makes the virtual object produce a corresponding joint display effect.
- the joint display data may include, for example, the virtual object Position data and attitude data. Therefore, when the corresponding combination of virtual objects is identified from the current scene image, the corresponding target joint presentation data can be determined according to the preset joint presentation relationship, and the corresponding joint presentation effect can be presented on the display screen of the AR device.
- the AR device can recognize two target identification objects from the current scene image, that is, a cartoon graphic 210 and a cartoon graphic 220 . Therefore, the AR device can determine the target joint presentation data corresponding to the two virtual objects in this example by searching the preset joint presentation relationship according to the virtual objects corresponding to the cartoon graphic 210 and the cartoon graphic 220 .
- the target joint presentation data corresponding to the two virtual objects of the cartoon graphic 210 and the cartoon graphic 220 indicates "two virtual objects chasing each other".
- the joint display data can also be any other data suitable for realizing the display effect, as long as the linkage effect between the two virtual objects is guaranteed, and the present disclosure does not limit this.
- a corresponding object category may be set for each virtual object in advance, so as to pre-establish a correspondence relationship between the object category and joint presentation data, that is, a joint presentation relationship.
- the AR device recognizes a virtual object belonging to one or more object categories, it can find the corresponding target joint display data according to the joint display relationship.
- the AR device when it recognizes the target identification object from the current scene image, it can display the joint display of the virtual object on the AR device based on the simultaneous localization and mapping (Simultaneous Localization And Mapping, SLAM) technology Effect.
- the SLAM technology can realize the spatial positioning of the AR device and the map construction for the current scene, so that the superimposed display effect of the virtual object and the real scene can be rendered on the current scene image displayed by the AR device, making the display effect of the virtual object more realistic.
- S420 Determine first relative pose data of each virtual object and the AR device in the world coordinate system according to the initial relative pose data of each virtual object and the AR device in the world coordinate system.
- the AR device when displaying a virtual object based on SLAM, it is necessary to map the virtual object and the AR device into the same coordinate system, so that when the two move relative to each other, the AR device can use the IMU sensor 130 to calculate and determine the distance between the two in real time.
- the coordinate system is the world coordinate system described in this disclosure.
- feature extraction may be performed on the target identification object in advance based on image detection technology to obtain at least one preset key point of the target identification object, and a world coordinate system is established based on the at least one preset key point.
- the first initial pose may include the initial position and initial pose of the virtual object.
- the initial pose of the AR device in the world coordinate system that is, the second initial pose
- the second initial pose can also include the initial position and initial position of the AR device. attitude.
- the pose of the IMU sensor 160 may be determined as the initial pose of the AR device in the world coordinate system when the AR device 100 captures the first frame of the scene image.
- the initial pose of the AR device and the initial pose of the virtual object can be Get the initial relative pose of the virtual object and the AR device.
- the relative position of the virtual object and the AR device is determined according to the position difference between the two, and the relative posture of the virtual object and the AR device is determined according to the initial posture difference between the virtual object and the AR device.
- the IMU sensor 160 may detect that the pose (position and posture) of the AR device 100 changes.
- the gyroscope can determine the posture of the AR device after the pose change according to the angular deviation between the AR device in the three-axis direction and the initial pose, and the acceleration sensor can detect the movement acceleration during the pose change of the AR device, and solve the problem through inertial navigation.
- the position after the movement is obtained by the calculation method, so as to determine the pose data of the AR device after movement.
- the aforementioned initial relative pose is updated accordingly to obtain the relative pose between the updated pose of the AR device and the pose of the virtual object data, that is, the first relative pose data.
- the world coordinate system can be mapped to the camera coordinate system of the AR device through rotation and translation, and then mapped from the camera coordinate system to the screen coordinate system of the AR device.
- the AR device After the AR device determines the first relative pose data between itself and each virtual object in real time, it can map the first relative pose data to the screen coordinate system of the AR device according to the above mapping relationship, and determine the position of each virtual object. Display pose data in the screen coordinate system. Then the AR device renders and displays each virtual object on the display screen of the AR device according to the display pose data of each virtual object and the previously determined joint display data, so that the user can watch the real-time joint display effect of multiple virtual objects and Pose changes.
- a user wears AR glasses such as shown in FIG. 1 to watch a scene such as shown in FIG. 5 .
- the target joint display data indicates "two virtual objects chasing each other", so that the AR device can render two virtual objects on the display screen according to the target joint display data, so that the two virtual objects present a display effect of chasing each other.
- the AR device can determine the change of the relative distance between itself and each virtual object in the world coordinate system based on SLAM technology.
- the The size of the virtual object rendered on the display screen can gradually decrease; conversely, when the relative distance between the AR device and the virtual object decreases, the size of the virtual object rendered on the display screen can gradually increase. Therefore, the rendering effect of the virtual object conforms to the "far smaller and near larger" when viewed by human eyes in a real scene, so the display of the virtual object is more realistic.
- the AR device when the AR effect is displayed, can recognize one or more target identification objects from the collected current scene image.
- the process of identifying the target identification object from the current scene image includes:
- S610 Perform feature point extraction on the current scene image to obtain feature information corresponding to at least one feature point included in the current scene image.
- the AR device 100 can collect the current scene image through the camera 120. It can be understood that the current scene image can be a single frame image collected by the camera, or a multi-frame image in the video stream collected by the camera. There is no limit to this.
- the detection area including the object to be detected in the current scene image can be located by an image detection algorithm, and then one or more feature points of the object to be detected can be extracted in the detection area.
- the image detection algorithm can be used to first determine the areas of the two postcards 200 as the area to be tested, and then perform feature points on the cartoon graphics 210 and cartoon graphics 220 included on the two postcards 200 to be tested. Extract to obtain the feature information of each object to be tested.
- the feature information of the object to be tested can be compared with the feature point information of the pre-stored target identification object. If the similarity between the two is greater than the preset threshold, it means that the object to be tested is The target identification object; otherwise, if the similarity is not greater than the preset threshold, it means that the object to be tested is not the target identification object.
- Fig. 5 it is assumed that the pre-stored feature point information of the target identification object corresponds to the cartoon figure 210 and the cartoon figure 220, so that the feature information of the cartoon figure extracted from the current scene image and the pre-stored target identification object feature Point information is compared, and the similarity between the two is greater than the preset threshold, so as to determine that the target identification object is recognized in the current scene image.
- the feature point information described in the embodiments of the present disclosure may include texture feature value, RGB feature value, gray value and other information that can identify the feature point feature corresponding to the feature point, which is not limited in the present disclosure.
- the virtual object corresponding to each target identification object can be further obtained, and the corresponding target joint display can be determined according to the combination of multiple virtual objects data.
- a corresponding object category may be set for each virtual object, and the corresponding target joint presentation data is determined according to the object category of the virtual object, which will be described below with reference to the embodiment of FIG. 7 .
- the display method of the example of the present disclosure includes:
- the object categories described in the embodiments of the present disclosure may include, for example, "animal”, "plant”, “decoration” and so on. Therefore, when the AR device determines a virtual object through a corresponding target identification object, it can determine its corresponding object category according to the virtual object.
- the object category of the virtual object corresponding to the cartoon graphic 210 and the cartoon graphic 220 in the example shown in FIG. 5 may be "animal".
- the corresponding relationship between object categories and joint presentation data may be established in advance according to combinations of different object categories.
- the pre-established correspondence is shown in Table 1 below:
- the joint presentation effect presented by the corresponding target joint presentation data 1 is "chasing each other".
- the presented joint display effect may be that the virtual object “Little Dragon” and the virtual object “Squirrel” chase each other.
- the joint display effect presented by the corresponding target joint display data 2 is "the plant is superimposed as the background of the animal", for example, the virtual The object A is a lion, and the virtual object B is a bush.
- the joint display effect presented may be that the virtual object B "grass” is presented as the background of the virtual object A lion.
- the joint display effect presented by the corresponding target joint display data 3 is "decoration surrounds the animal", for example, The virtual object A is a little dragon, and the virtual object B is auspicious clouds.
- the joint display effect presented can be that the virtual object B "auspicious clouds” surrounds the virtual object A "little dragon”.
- the joint display effect presented by the corresponding target joint display data 4 is "plants superimposed on each other", for example, the virtual object A is a grass, and the virtual object B is a flower, and the joint display effect presented may be that the virtual object B "flower” is superimposed on the virtual object A "grass”.
- the corresponding target joint display relationship can be determined according to the object categories of the multiple virtual objects and the above joint display relationship Show data.
- the AR device recognizes that the current scene image contains two virtual objects, and the object category of the two virtual objects is "animal”.
- the corresponding target joint display can be determined.
- the data is "data 1”
- the joint display effect presented on the display screen according to data 1 is "chasing each other”.
- the presentation method of the example of the present disclosure includes:
- S810. Perform image detection on the current scene image to obtain at least one preset key point of at least one of the multiple target identification objects.
- the world coordinate system can be established based on at least one preset key point of any target identification object.
- the preset key point can be the center point of the cartoon figure 210
- the center point of the cartoon figure 210 is used as the origin O of the coordinate system
- the direction parallel to the short side of the postcard 200 and passing through the origin O is used as the X axis, so that The direction parallel to the long side of the postcard 200 and passing through the origin O is taken as the Y axis
- the direction perpendicular to the X and Y axes and passing through the origin O is taken as the Z axis, thereby establishing a world coordinate system O-XYZ.
- the process of establishing the world coordinate system in FIG. 5 is only an example of the implementation of the present disclosure.
- the world coordinate system can also be established according to other preset key points, for example, the vertex in the lower left corner of the postcard 200 can be used as The coordinate origin O establishes a coordinate system, and for example, the center point of the cartoon figure 220 can be used as the coordinate origin O to establish a coordinate system, etc., and the disclosure does not limit this.
- the first initial pose may include the initial position and initial pose of each virtual object.
- the initial pose of the AR device in the world coordinate system that is, the second initial pose
- the second initial pose can also include The initial position and initial pose of the AR device.
- the pose of the IMU sensor 160 may be determined as the initial pose of the AR device in the world coordinate system when the AR device 100 captures the first frame of the scene image.
- the initial pose of the AR device and the virtual object can be obtained.
- the initial relative pose of the virtual object and the AR device For example, the relative position data of the virtual object and the AR device is determined according to the initial position difference between the virtual object and the AR device, and the relative posture data of the virtual object and the AR device are determined according to the initial posture difference between the virtual object and the AR device.
- the initial relative pose of the virtual object and the AR device is determined according to the initial position difference between the virtual object and the AR device.
- the relative pose change between the AR device and the virtual object is detected in real time, but also the relative pose change between the target identification object and the virtual object is detected, thereby producing different auxiliary display effects, It will be described below in conjunction with FIG. 9 .
- the presentation method of the example of the present disclosure further includes:
- the target joint display data, and the target auxiliary display data of each of the virtual objects display multiple virtual objects on the AR device. object.
- the linkage effect among the above-mentioned multiple virtual objects is defined as "joint display effect”.
- Auxiliary display effects refer to auxiliary effects that can be superimposed on joint display effects, such as visual effects brought about by adjusting rendering parameters such as brightness, exposure, and transparency of joint display effects, which can be used as auxiliary display effects in this disclosure .
- Auxiliary display data refers to data that enables a virtual object to produce a corresponding auxiliary display effect, and the auxiliary display data may include, for example, data for adjusting parameters such as brightness, transparency, exposure, and angle of the virtual object.
- the current scene image can be as shown in FIG. 5.
- the AR device recognizes the target identification object (cartoon graphics 210 and cartoon graphics 220) in the current scene image (FIG. 5), it can realize virtual The joint display effect of the object.
- the pose of each target identification object can be detected simultaneously based on image detection technology. It can be understood that during the display process of virtual objects, the pose of the target identification object may change, such as user Moving the postcard 200 makes the pose of the target identification object in the current scene image detected by the AR device change.
- the process of determining the target auxiliary display data of the virtual object includes:
- the AR device can obtain the first pose data of the virtual object in the world coordinate system, and at the same time, the AR device can detect and obtain the second pose data of the target identification object in the world coordinate system, for example, based on the image
- the detection technology determines the detection frame of the postcard 200, and determines the second pose data of the target identification object in the current scene image according to the difference of the detection frame before and after the pose change of the postcard 200.
- the relative pose between the virtual object and the target identification object can be determined according to the first pose data and the second pose data, that is, the The second relative pose data.
- the corresponding relationship between the second relative pose data and the auxiliary display data may be established in advance based on the second relative pose data.
- the second relative pose data includes the relative distance between the virtual object and the target identification object in the world coordinate system
- the corresponding auxiliary display data includes the transparency of the virtual object, so that the pre-established auxiliary display relationship can be shown in Table 2 below Show:
- the target auxiliary display data of the virtual object is "transparency 0%"
- the target auxiliary display data of the virtual object is "transparency 25%”
- the target auxiliary display data of the virtual object is "transparency 50%. %”. That is, the farther the relative distance between the virtual object and the target identification object is, the more transparent the auxiliary display effect of the virtual object is.
- the second relative pose data includes the relative posture (such as relative angle) of the virtual object and the target identification object in the world coordinate system
- the corresponding auxiliary display data includes the brightness of the virtual object, so that the pre-established auxiliary display
- the target auxiliary display data of the virtual object is "brightness 100%"
- the target auxiliary display data of the virtual object is "brightness 75%”
- the target auxiliary display data of the virtual object is "brightness 50%”. %" That is, the larger the relative angle between the virtual object and the target identification object, the lower the brightness of the virtual object.
- the second relative pose data also includes the relative distance and relative posture of the virtual object and the target identification object corresponding to the virtual object in the world coordinate system
- the corresponding auxiliary display data also includes the transparency and brightness of the virtual object
- auxiliary display data may also include color, brightness, transparency, exposure One or more data in degrees or display angles, which is not limited in the present disclosure.
- each virtual object can be rendered and displayed based on the target auxiliary display data and the aforementioned target joint display data, so that the user can watch the virtual objects present the joint display effect on the display screen of the AR device at the same time It also has an auxiliary display effect.
- the corresponding multiple virtual objects can interact with each other to present a joint display effect and increase the interaction of the AR scene. and improve the display effect of virtual images.
- virtual objects are displayed based on SLAM, and each virtual object is not limited to displaying at a fixed display location, so that the combined display effect among multiple virtual objects is more realistic and user experience is improved.
- different auxiliary display effects can be displayed in real time according to the relative pose changes between the target identification object and the virtual object, thereby increasing the interactivity of the AR scene and improving the display effect of the virtual image.
- the embodiment of the present disclosure provides an augmented reality AR scene display device, and the device can be applied to an AR device.
- the AR device may be, for example, the AR glasses shown in FIG. 1 .
- the AR device may be, for example, a smart phone as shown in Fig. 2 and Fig. 2b. This disclosure does not limit this.
- the display device of the augmented reality AR scene of the example of the present disclosure includes:
- the joint data determination module 10 is configured to, in response to identifying multiple target identification objects from the current scene image, determine target joint display data for multiple virtual objects according to the virtual objects corresponding to the multiple target identification objects;
- the first pose determining module 20 is configured to determine the first relative pose data of each virtual object and the AR device in the world coordinate system according to the initial relative pose data of each virtual object and the AR device in the world coordinate system ;
- the world coordinate system is determined according to the characteristics of any target identification object extracted in advance;
- the first display module 30 is configured to display multiple virtual objects on the AR device according to the first relative pose data of each virtual object and the AR device and the target joint display data.
- the display device of the present disclosure further includes:
- the auxiliary data determination module is configured to, for each virtual object, during the display process of the virtual object, identify the second relative pose data of the object in the world coordinate system according to the virtual object and the target corresponding to the virtual object, determining targeted assistive display data for the virtual object;
- the first display module 30 is configured to display multiple virtual objects on the AR device according to the first relative pose data of each virtual object and the AR device, target joint display data, and target auxiliary display data of each virtual object.
- the auxiliary data determination module is configured to:
- the first pose data of the virtual object in the world coordinate system and the second pose data of the target identification object corresponding to the virtual object in the world coordinate system are acquired;
- the target auxiliary display data corresponding to the second relative pose data is determined.
- the second relative pose data includes a relative position and/or a relative pose between the virtual object and a target identification object corresponding to the virtual object.
- the preset auxiliary display data includes one or more data of the virtual object's color, brightness, transparency, or display angle.
- the joint data determination module 10 is configured to:
- Multiple target identification objects in the current scene image are determined by comparing the feature information corresponding to at least one feature point with the pre-stored feature point information of the identification objects.
- the joint data determination module 10 is configured to:
- the target joint display data is determined.
- the first pose determination module 20 is configured to:
- the first initial pose of each virtual object in the world coordinate system and the second initial pose of the AR device in the world coordinate system determine the initial relative pose of each virtual object and the AR device in the world coordinate system.
- An embodiment of the present disclosure provides an AR device, including:
- the memory is communicably connected to the processor, and the memory stores computer instructions that can be read by the processor, and the computer instructions are used to make the processor execute the method according to any implementation manner of the first aspect.
- Embodiments of the present disclosure provide a storage medium storing computer instructions, which are used to make a computer execute the method according to any embodiment of the first aspect.
- This disclosure relates to the field of augmented reality.
- acquiring the image information of the target object in the real environment and then using various visual correlation algorithms to detect or identify the relevant features, states and attributes of the target object, and thus obtain the image information that matches the specific application.
- AR effect combining virtual and reality.
- the target object may involve faces, limbs, gestures, actions, etc. related to the human body, or markers and markers related to objects, or sand tables, display areas or display items related to venues or places.
- Vision-related algorithms can involve visual positioning, SLAM, 3D reconstruction, image registration, background segmentation, object key point extraction and tracking, object pose or depth detection, etc.
- Specific applications can not only involve interactive scenes such as guided tours, navigation, explanations, reconstructions, virtual effect overlays and display related to real scenes or objects, but also special effects processing related to people, such as makeup beautification, body beautification, special effect display, virtual Interactive scenarios such as model display.
- the relevant features, states and attributes of the target object can be detected or identified through the convolutional neural network.
- the above-mentioned convolutional neural network is a neural network model obtained by performing model training based on a deep learning framework.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
| 对象类别 | 联合展示数据 | 联合展示效果 |
| 动物+动物 | 数据1 | 互相追逐 |
| 动物+植物 | 数据2 | 植物叠加为动物的背景 |
| 动物+装饰物 | 数据3 | 装饰物围绕在动物周围 |
| 植物+植物 | 数据4 | 植物互相叠加在一起 |
| …… | …… | ……. |
| 相对距离 | 透明度 |
| L0~L1 | 0% |
| L1~L2 | 25% |
| L2~L3 | 50% |
| 相对角度 | 亮度 |
| α0~α1 | 100% |
| α1~α2 | 75% |
| α2~α3 | 50% |
Claims (11)
- 一种增强现实AR场景的展示方法,其特征在于,所述方法包括:响应于从当前场景图像中识别到多个目标标识对象,根据所述多个目标标识对象所分别对应的虚拟对象,确定针对多个所述虚拟对象的目标联合展示数据;根据各个所述虚拟对象与AR设备的在世界坐标系中的初始相对位姿,确定各个所述虚拟对象与所述AR设备的在所述世界坐标系中的第一相对位姿数据;根据各个所述虚拟对象与所述AR设备的所述第一相对位姿数据和所述目标联合展示数据,在所述AR设备展示多个所述虚拟对象。
- 根据权利要求1所述的展示方法,其特征在于,还包括:针对每个所述虚拟对象,在该虚拟对象的展示过程中,根据该虚拟对象与该虚拟对象对应的所述目标标识对象在所述世界坐标系中的第二相对位姿数据,确定该虚拟对象的目标辅助展示数据;所述根据各个所述虚拟对象与所述AR设备的所述第一相对位姿数据和所述目标联合展示数据,在所述AR设备展示多个所述虚拟对象,包括:根据各个所述虚拟对象与所述AR设备的所述第一相对位姿数据、所述目标联合展示数据以及各个所述虚拟对象的所述目标辅助展示数据,在所述AR设备展示多个所述虚拟对象。
- 根据权利要求2所述的展示方法,其特征在于,根据该虚拟对象与该虚拟对象对应的所述目标标识对象在所述世界坐标系中的第二相对位姿数据,确定该虚拟对象的所述目标辅助展示数据,包括:在该虚拟对象的展示过程中,获取该虚拟对象在所述世界坐标系中的第一位姿数据,以及该虚拟对象对应的所述目标标识对象在所述世界坐标系中的第二位姿数据;根据所述第一位姿数据和所述第二位姿数据,确定所述第二相对位姿数据;根据所述第二相对位姿数据与预先设置的辅助展示数据之间的对应关系,确定与所述第二相对位姿数据对应的所述目标辅助展示数据。
- 根据权利要求3所述的展示方法,其特征在于,所述第二相对位姿数据包括该虚拟对象与该虚拟对象对应的所述目标标识对象之间的相对位置和/或相对姿态。
- 根据权利要求3所述的展示方法,其特征在于,所述预先设置的辅助展示数据包括该虚拟对象的颜色、亮度、透明度或展示角度中的一种或多种数据。
- 根据权利要求1至5任一项所述的展示方法,其特征在于,从所述当前场景图像中识别所述多个目标标识对象,包括:对所述当前场景图像进行特征点提取,得到所述当前场景图像包括的至少一个特征点对应的特征信息;通过将所述至少一个特征点对应的特征信息与预先存储的标识对象的特征点信息进行对比,确定所述当前场景图像中的所述多个目标标识对象。
- 根据权利要求1至6任一项所述的展示方法,其特征在于,根据所述多个目标标识对象所分别对应的虚拟对象,确定针对多个所述虚拟对象的所述目标联合展示数据,包括:获取每个所述虚拟对象的对象类别;基于各所述虚拟对象的对象类别与预先设置的联合展示数据之间的对应关系,确定所述目标联合展示数据。
- 根据权利要求1至7任一项所述的展示方法,其特征在于,还包括:对所述当前场景图像进行图像检测,得到所述多个目标标识对象中至少之一的至少一个预设关键点;基于所述至少一个预设关键点,建立所述世界坐标系;根据各个所述虚拟对象在所述世界坐标系中的第一初始位姿,和所述AR设备在所述世界坐标系中的第二初始位姿,确定各个所述虚拟对象与所述AR设备在所述世界坐标系中的所述初始相对位姿。
- 一种增强现实AR场景的展示装置,其特征在于,所述装置包括:展示数据确定模块,被配置为响应于从当前场景图像中识别到多个目标标识对象,根据所述多个目标标识对象所分别对应的虚拟对象,确定针对多个所述虚拟对象的目标联合展示数据;第一位姿确定模块,被配置为根据各个所述虚拟对象与AR设备的在世界坐标系中的初始相对位姿,确定各个所述虚拟对象与所述AR设备的在所述世界坐标系中的第一相对位姿数据;第一展示模块,被配置为根据各个所述虚拟对象与所述AR设备的所述第一相对位姿数据和所述目标联合展示数据,在所述AR设备展示多个所述虚拟对象。
- 一种AR设备,其特征在于,包括:处理器;和存储器,与所述处理器可通信连接,所述存储器存储有能够被所述处理器读取的计算机指令,所述计算机指令用于使所述处理器执行根据权利要求1至8任一项所述的方法。
- 一种存储介质,其特征在于,存储有计算机指令,所述计算机指令用于使计算机执行根据权利要求1至8任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111667151.9 | 2021-12-31 | ||
| CN202111667151.9A CN114299262A (zh) | 2021-12-31 | 2021-12-31 | 增强现实ar场景的展示方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023124698A1 true WO2023124698A1 (zh) | 2023-07-06 |
Family
ID=80972813
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/134853 Ceased WO2023124698A1 (zh) | 2021-12-31 | 2022-11-29 | 增强现实场景的展示 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114299262A (zh) |
| WO (1) | WO2023124698A1 (zh) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117237436A (zh) * | 2023-08-14 | 2023-12-15 | 北京移目科技有限公司 | 用于确定至少两个用户之间的相对位姿关系的方法与系统 |
| CN118802984A (zh) * | 2024-07-19 | 2024-10-18 | 深圳零匙科技有限公司 | 一种基于物联网的智能锁管理方法及系统 |
| CN121746654A (zh) * | 2026-02-26 | 2026-03-27 | 腾讯科技(深圳)有限公司 | 虚拟元素展示方法、装置、穿戴设备、存储介质和计算机程序产品 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114299262A (zh) * | 2021-12-31 | 2022-04-08 | 北京绵白糖智能科技有限公司 | 增强现实ar场景的展示方法及装置 |
| CN116048693A (zh) * | 2022-12-27 | 2023-05-02 | 维沃移动通信有限公司 | 显示方法、装置及ar设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10380803B1 (en) * | 2018-03-26 | 2019-08-13 | Verizon Patent And Licensing Inc. | Methods and systems for virtualizing a target object within a mixed reality presentation |
| CN111610998A (zh) * | 2020-05-26 | 2020-09-01 | 北京市商汤科技开发有限公司 | Ar场景内容的生成方法、展示方法、装置及存储介质 |
| CN112348969A (zh) * | 2020-11-06 | 2021-02-09 | 北京市商汤科技开发有限公司 | 增强现实场景下的展示方法、装置、电子设备及存储介质 |
| CN112991551A (zh) * | 2021-02-10 | 2021-06-18 | 深圳市慧鲤科技有限公司 | 图像处理方法、装置、电子设备和存储介质 |
| CN114299262A (zh) * | 2021-12-31 | 2022-04-08 | 北京绵白糖智能科技有限公司 | 增强现实ar场景的展示方法及装置 |
| CN114332429A (zh) * | 2021-12-31 | 2022-04-12 | 北京绵白糖智能科技有限公司 | 增强现实ar场景的展示方法及装置 |
-
2021
- 2021-12-31 CN CN202111667151.9A patent/CN114299262A/zh not_active Withdrawn
-
2022
- 2022-11-29 WO PCT/CN2022/134853 patent/WO2023124698A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10380803B1 (en) * | 2018-03-26 | 2019-08-13 | Verizon Patent And Licensing Inc. | Methods and systems for virtualizing a target object within a mixed reality presentation |
| CN111610998A (zh) * | 2020-05-26 | 2020-09-01 | 北京市商汤科技开发有限公司 | Ar场景内容的生成方法、展示方法、装置及存储介质 |
| CN112348969A (zh) * | 2020-11-06 | 2021-02-09 | 北京市商汤科技开发有限公司 | 增强现实场景下的展示方法、装置、电子设备及存储介质 |
| CN112991551A (zh) * | 2021-02-10 | 2021-06-18 | 深圳市慧鲤科技有限公司 | 图像处理方法、装置、电子设备和存储介质 |
| CN114299262A (zh) * | 2021-12-31 | 2022-04-08 | 北京绵白糖智能科技有限公司 | 增强现实ar场景的展示方法及装置 |
| CN114332429A (zh) * | 2021-12-31 | 2022-04-12 | 北京绵白糖智能科技有限公司 | 增强现实ar场景的展示方法及装置 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117237436A (zh) * | 2023-08-14 | 2023-12-15 | 北京移目科技有限公司 | 用于确定至少两个用户之间的相对位姿关系的方法与系统 |
| CN118802984A (zh) * | 2024-07-19 | 2024-10-18 | 深圳零匙科技有限公司 | 一种基于物联网的智能锁管理方法及系统 |
| CN121746654A (zh) * | 2026-02-26 | 2026-03-27 | 腾讯科技(深圳)有限公司 | 虚拟元素展示方法、装置、穿戴设备、存储介质和计算机程序产品 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114299262A (zh) | 2022-04-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023124693A1 (zh) | 增强现实场景的展示 | |
| US9779512B2 (en) | Automatic generation of virtual materials from real-world materials | |
| US10295826B2 (en) | Shape recognition device, shape recognition program, and shape recognition method | |
| US9123272B1 (en) | Realistic image lighting and shading | |
| US10176636B1 (en) | Augmented reality fashion | |
| CN111510701A (zh) | 虚拟内容的显示方法、装置、电子设备及计算机可读介质 | |
| US11069075B2 (en) | Machine learning inference on gravity aligned imagery | |
| CN111833458B (zh) | 图像显示方法及装置、设备、计算机可读存储介质 | |
| US10163049B2 (en) | Inconspicuous tag for generating augmented reality experiences | |
| CN114299262A (zh) | 增强现实ar场景的展示方法及装置 | |
| KR20180108709A (ko) | 사용자의 현실적인 신체 모델에 가상으로 옷을 입혀보는 방법 | |
| US9979946B2 (en) | I/O device, I/O program, and I/O method | |
| CN115803750B (zh) | 使用参考框架的眼镜的虚拟试戴系统 | |
| US9906778B2 (en) | Calibration device, calibration program, and calibration method | |
| CN105814611A (zh) | 信息处理设备、信息处理方法、以及程序 | |
| US11670157B2 (en) | Augmented reality system | |
| EP3036719A1 (en) | Simulating three-dimensional views using planes of content | |
| EP3695381B1 (en) | Floor detection in virtual and augmented reality devices using stereo images | |
| WO2023124691A1 (zh) | 增强现实场景的展示 | |
| US10171800B2 (en) | Input/output device, input/output program, and input/output method that provide visual recognition of object to add a sense of distance | |
| US9449427B1 (en) | Intensity modeling for rendering realistic images | |
| JP6656382B2 (ja) | マルチメディア情報を処理する方法及び装置 | |
| US11763558B1 (en) | Visualization of existing photo or video content | |
| HK40062803A (zh) | 增强现实ar场景的展示方法及装置 | |
| CN115345927A (zh) | 展品导览方法及相关装置、移动终端和存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22913956 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22913956 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/12/2024) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22913956 Country of ref document: EP Kind code of ref document: A1 |

