Patent ID: 11928771
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 12:
13. A non-transitory machine-readable medium having instructions for detecting a light source for implementing an extended reality session using an electronic device having a camera and a sensor unit, wherein the instructions are executable by one or more processors to cause the electronic device to perform the following operations:
scanning, using the camera, a real environment to establish an environment map of the real environment;
capturing, using the camera, a first image of a real light source from a first location in the real environment;
tracking, using the sensor unit, a first position and a first orientation of the camera in the environment map while the first image is captured;
capturing, using the camera, a second image of the real light source from a second location in the real environment that is different from the first location;
tracking, using the sensor unit, a second position and a second orientation of the camera in the environment map while the second image is captured; and
computing, using the processor, a position of the real light source in the environment map based on the first position, the first orientation, the second position, and the second orientation of the camera,
wherein capturing the first image of the real light source comprises:
reducing an exposure setting of the camera to a first exposure level;
capturing, using the camera, a third image of the real light source at the first exposure level;
reducing the exposure setting of the camera to a second exposure level that is below the first exposure level, wherein the first image of the real light source is captured at the second exposure level; and
using the first image for subsequent analysis of the real light source, wherein the first image captures no more line features than the third image.