CPC G06T 7/73 (2017.01) [G06V 20/20 (2022.01); G06V 40/11 (2022.01); G06V 40/12 (2022.01); G06T 2207/30204 (2013.01)] | 20 Claims |
1. A method for displaying a virtual character in a plurality of real-world images captured by a camera performed by an electronic device, the method comprising:
capturing an initial real-world image using the camera;
simulating a display of the virtual character in the initial real-world image;
capturing a subsequent real-world image using the camera after a movement of the camera;
determining position and pose updates of the camera associated with the movement of the camera from tracking one or more feature points in the initial real-world image and the subsequent real-world image, including extracting a first feature point in the initial real-world image as a marked image by:
dividing the marked image into a plurality of grid areas; and
extracting, as the first feature point, a feature point from each of at least a subset of the plurality of grid areas; and
adjusting the display of the virtual character in the subsequent real-world image in accordance with the position and pose updates of the camera associated with the movement of the camera.
|