# US 2023/0274471 A1 · Virtual object display method, storage medium and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0274471 A1
- Document ID: US20230274471A1
- Status: Published application
- Kind: A1
- Application number: 18/313,862
- Filed: 2023-05-08
- Published: 2023-08-31
- Earliest claimed: 2020-11-09
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Ke JIN; Jijunnan LI
- Web page: https://patentgrep.com/patent/US20230274471A1

## CPC

- H04S 7/303: {Tracking of listener position or orientation}
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06T 7/248: {involving reference images or patches}
- G06T 7/74: {involving reference images or patches}
- G06T 11/00: Two-dimensional [2D] image generation
- G06T 11/60: Creating or editing images; Combining images with text
- G06V 20/20: in augmented reality scenes
- G06T 2207/10028: Range image; Depth image; 3D point clouds
- G06T 2210/21: Collision detection, intersection
- H04S 2400/11: Positioning of individual sound objects, e.g. moving airplane, within a sound field (H04S2420/13 takes precedence)
- H04S 2400/15: Aspects of sound capture and related signal processing for recording or reproduction
- H04S: STEREOPHONIC SYSTEMS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A virtual object display method, a non-transitory computer-readable storage medium and an electronic device. The virtual object display method includes operations as follows. Localization is performed on the first device to determine a pose of the first device in a target coordinate system; a pose of a second device in the target coordinate system is determined, where the second device is configured to play audio; a virtual object corresponding to the audio is determined, and a pose of the virtual object in the target coordinate system is determined based on the pose of the second device in the target coordinate system; and in response to the second device is playing the audio, the virtual object is displayed on a display interface of the first device according to the pose of the first device in the target coordinate system and the pose of the virtual object in the target coordinate system.

## Claims

### Claim 1

A virtual object display method, implemented by a first device, comprising:
performing localization on the first device to determine a pose of the first device in a target coordinate system;
determining a pose of a second device in the target coordinate system, wherein the second device is configured to play audio;
determining a virtual object corresponding to the audio, and determining, based on the pose of the second device in the target coordinate system, a pose of the virtual object in the target coordinate system; and
in response to the second device is playing the audio, displaying, according to the pose of the first device in the target coordinate system and the pose of the virtual object in the target coordinate system, the virtual object on a display interface of the first device.

### Claim 2 (depends on 1)

The virtual object display method as claimed in claim 1, wherein determining the pose of the second device in the target coordinate system, comprises:
obtaining a pose of the second device in a coordinate system of the second device; and
transforming, based on a pose transformation relationship between the target coordinate system and the coordinate system of the second device, the pose of the second device in the coordinate system of the second device into the pose of the second device in the target coordinate system.

### Claim 3 (depends on 2)

The virtual object display method as claimed in claim 2, wherein the pose of the second device in the coordinate system of the second device is determined based on Bluetooth localization or Wi-Fi localization by the second device.

### Claim 4 (depends on 2)

The virtual object display method as claimed in claim 2, further comprising:
selecting a plurality of marker points, and determining positions of the plurality of marker points in the target coordinate system and the coordinate system of the second device; and
performing coordinate alignment based on a corresponding relationship between positions of the plurality of marker points in the target coordinate system and the coordinate system of the second device, and obtaining the pose transformation relationship between the target coordinate system and the coordinate system of the second device.

### Claim 5 (depends on 1)

The virtual object display method as claimed in claim 1, further comprising:
sending audio data of the audio to the second device, and controlling the second device to play the audio.

### Claim 6 (depends on 5)

The virtual object display method as claimed in claim 5, wherein determining the virtual object corresponding to the audio, comprises:
obtaining, based on the audio, audio identification information of the audio; and
determining, based on a relationship between the audio identification information and the virtual object, the virtual object corresponding to the audio.

### Claim 7 (depends on 1)

The virtual object display method as claimed in claim 1, wherein determining the virtual object corresponding to the audio, comprises:
receiving audio identification information of the audio sent by the second device; and
determining, based on a relationship between the audio identification information and the virtual object, the virtual object corresponding to the audio.

### Claim 8 (depends on 1)

The virtual object display method as claimed in claim 1, wherein determining the virtual object corresponding to the audio, comprises:
receiving the virtual object corresponding to the audio sent by the second device.

### Claim 9 (depends on 1)

The virtual object display method as claimed in claim 1, wherein determining the virtual object corresponding to the audio, comprises:
obtaining, by a sound pickup device of the first device, audio data of the audio;
extracting an audio feature of the audio data; and
analyzing the audio feature of the audio data, and generating, according to a result of analyzing the audio feature, the virtual object corresponding to the audio.

### Claim 10 (depends on 1)

The virtual object display method as claimed in claim 1, further comprising:
determining a pose of a real object in the target coordinate system, wherein the real object is in a scene;
obtaining, in response to the pose of the real object in the target coordinate system overlapping with the pose of the virtual object in the target coordinate system, a collision parameter of the real object in an overlapping area and a collision parameter of the virtual object in the overlapping area; and
generating and displaying a virtual collision image, based on the collision parameter of the real object and the collision parameter of the virtual object.

### Claim 11 (depends on 1)

The virtual object display method as claimed in claim 1, wherein the target coordinate system is a coordinate system of map construction of a mapping device;
wherein performing localization on the first device to determine the pose of the first device in the target coordinate system, comprises:
obtaining a current frame and depth information corresponding to the current frame to obtain feature point information of the current frame;
calculating, based on the feature point information of the current frame and feature point information of a keyframe in a keyframe set of map construction, a pose transformation relationship between a coordinate system of the first device and the coordinate system of the mapping device;
obtaining the pose of the first device in the coordinate system of the first device; and
transforming, based on the pose transformation relationship, the pose of the first device in the coordinate system of the first device into the pose of the first device in the target coordinate system.

### Claim 12 (depends on 11)

The virtual object display method as claimed in claim 11, wherein the first device is the mapping device, and the virtual object display method further comprises:
obtaining a scene image and depth information corresponding to the scene image in advance; and
constructing a map based on the scene image and the depth information corresponding to the scene image.

### Claim 13 (depends on 12)

The virtual object display method as claimed in claim 12, wherein constructing the map based on the scene image and the depth information corresponding to the scene image, comprises:
performing feature extraction on the scene image to obtain feature information;
performing, based on the feature information, visual tracking and motion estimation to obtain an intermediate result;
obtaining local point cloud data based on the depth information corresponding to the scene image and camera intrinsic parameters of the first device;
generating global point cloud data based on the intermediate result and the local point cloud data; and
constructing the map based on the global point cloud data.

### Claim 14 (depends on 12)

The virtual object display method as claimed in claim 12, wherein performing feature extraction on the scene image to obtain feature information, comprises:
combining a feature extraction algorithm and a feature descriptor algorithm to determine a feature extraction mode; and
performing, based on the feature extraction mode, the feature extraction on the scene image to obtain the feature information.

### Claim 15 (depends on 11)

The virtual object display method as claimed in claim 11, wherein the pose transformation relationship between the coordinate system of the first device and the coordinate system of the mapping device is calculated by using an iterative closest point algorithm.

### Claim 16 (depends on 1)

The virtual object display method as claimed in claim 1, wherein determining the pose of the second device in the target coordinate system, comprises:
obtaining an image containing the second device and depth information of the second device relative to the first device; and
analyzing the image and the distance information combined with the pose of the first device in the target coordinate system to determine the pose of the second device in the target coordinate system.

### Claim 17 (depends on 1)

The virtual object display method as claimed in claim 1, wherein the virtual object is a wave spreading around the second device with the second device as a center, an amplitude of up and down vibration of the wave is determined according to a volume of the audio, and a flow rate of the wave is determined according to a rhythm of the audio.

### Claim 18

A non-transitory computer readable storage medium stored with a computer program, wherein the computer program is configured to be executed by a processor to:
perform localization on a first device to determine a pose of the first device in a target coordinate system;
determine a pose of a second device in the target coordinate system, wherein the second device is configured to play audio;
determine a virtual object corresponding to the audio, and determining, based on the pose of the second device in the target coordinate system, a pose of the virtual object in the target coordinate system; and
display, according to the pose of the first device in the target coordinate system and the pose of the virtual object in the target coordinate system, the virtual object in an augmented reality environment on a display interface of the first device when the second device is playing the audio.

### Claim 19

An electronic device, comprising:
a processor; and
a memory, configured to store one or more programs, wherein the one or more programs are configured to, when executed by the processor, cause the processor to:
determine a pose of the electronic device and a pose of a second device in a target coordinate system, wherein the second device is configured to play audio;
determine a virtual object corresponding to the audio, and determining, based on the pose of the second device in the target coordinate system, a pose of the virtual object in the target coordinate system; and
in response to the second device playing the audio, display, according to the pose of the electronic device in the target coordinate system and the pose of the virtual object in the target coordinate system, the virtual object on a display interface of the electronic device.

### Claim 20 (depends on 19)

The electronic device as claimed in claim 19, wherein the processor is further configured to:
obtain, based on the audio, audio identification information of the audio; and
determine, based on a relationship between the audio identification information and the virtual object, the virtual object corresponding to the audio.
