US 12,243,254 B2
Object measurement method, virtual object processing method, and electronic device
Fantao Zeng, Guangdong (CN)
Assigned to GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed by GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed on Dec. 2, 2022, as Appl. No. 18/061,411.
Application 18/061,411 is a continuation of application No. PCT/CN2021/086654, filed on Apr. 12, 2021.
Claims priority of application No. 202010495293.0 (CN), filed on Jun. 3, 2020.
Prior Publication US 2023/0113647 A1, Apr. 13, 2023
Int. Cl. G06T 7/62 (2017.01); G06T 5/92 (2024.01); G06T 7/12 (2017.01); G06T 7/13 (2017.01); G06T 7/50 (2017.01); G06T 7/70 (2017.01); G06T 7/73 (2017.01); G06T 19/00 (2011.01); G06T 7/80 (2017.01)
CPC G06T 7/62 (2017.01) [G06T 5/92 (2024.01); G06T 7/12 (2017.01); G06T 7/13 (2017.01); G06T 7/50 (2017.01); G06T 7/70 (2017.01); G06T 7/73 (2017.01); G06T 19/006 (2013.01); G06T 7/80 (2017.01); G06T 2207/10024 (2013.01); G06T 2207/10028 (2013.01); G06T 2207/10048 (2013.01); G06T 2207/20164 (2013.01)] 15 Claims
OG exemplary drawing
 
1. An object measurement method, applied to an electronic device capable of displaying a virtual object, comprising:
determining point cloud data of a scene based on a depth image of the scene;
performing a plane segmentation process for the point cloud data and determining surface information of an object in the scene;
determining 3D vertex coordinates of the object in combination with the surface information of the object; and
obtaining a measurement parameter of the object based on the 3D vertex coordinates of the object;
wherein determining the 3D vertex coordinates of the object in combination with the surface information of the object comprises:
acquiring an infrared image of the scene, and extracting corner-point information of the object in the infrared image; and
determining the 3D vertex coordinates of the object based on the corner-point information of the object in the infrared image and the surface information of the object;
wherein determining the 3D vertex coordinates of the object based on the corner-point information of the object in the infrared image and the surface information of the object, comprises:
determining 2D vertex coordinates of the object in the infrared image based on the corner-point information of the object in the infrared image;
determining the 3D vertex coordinates of the object based on the 2D vertex coordinates of the object in the infrared image, a camera parameter of an infrared sensing apparatus configured for taking the infrared image, and the surface information of the object generating the virtual object associated with the measurement parameter of the object, so as to display the object on the electronic device.