US 12,731,361 B2
Electronic device for processing image, and operation method of electronic device
Isak Choi, Suwon-si (KR); Dongchan Kim, Suwon-si (KR); Jinyoung Hwang, Suwon-si (KR); and Dongnam Byun, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Apr. 20, 2023, as Appl. No. 18/137,266.
Application 18/137,266 is a continuation of application No. PCT/KR2023/005164, filed on Apr. 17, 2023.
Claims priority of application No. 10-2022-0049149 (KR), filed on Apr. 20, 2022; and application No. 10-2022-0133618 (KR), filed on Oct. 17, 2022.
Prior Publication US 2023/0343061 A1, Oct. 26, 2023
Int. Cl. G06V 10/25 (2022.01); G06T 15/20 (2011.01); G06V 10/24 (2022.01); G06V 10/46 (2022.01)
CPC G06V 10/25 (2022.01) [G06T 15/20 (2013.01); G06V 10/248 (2022.01); G06V 10/46 (2022.01)] 18 Claims
OG exemplary drawing
 
1. A method, performed by an electronic device, of processing an image, the method comprising:
obtaining a first image of a three-dimensional (3D) object comprising at least one surface by using a first camera, the at least one surface having a non-flat shape;
identifying a region of interest (ROI) within the first image of the 3D object, which corresponds to the at least one surface, by applying the first image of the 3D object to a first artificial intelligence (AI) model;
identifying first keypoints representing the ROI;
obtaining data about a 3D shape type of the 3D object by applying the first image of the 3D object to a second AI model;
obtaining a virtual object corresponding to the 3D shape type of the 3D object and obtaining a set of initial values of a 3D parameter of the virtual object;
adjusting the set of initial values of the 3D parameter of the virtual object, based on the first keypoints;
obtaining the adjusted set of initial values of the 3D parameter of the virtual object as a set of values of a 3D parameter related to at least one of the 3D object, the at least one surface, or the first camera;
estimating the non-flat shape of the at least one surface, based on the set of values of the 3D parameter; and
obtaining a flat surface image in which the non-flat shape of the at least one surface is flattened, by performing a perspective transformation on the at least one surface.