US 12,456,281 B2
Layout analysis method and electronic device
Hengzhi Yao, Shenzhen (CN); Liehang Shi, Shenzhen (CN); Zhiyuan Wang, Shanghai (CN); and Letao Li, Shenzhen (CN)
Assigned to Huawei Technologies Co., Ltd., Shenzhen (CN)
Appl. No. 17/916,520
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
PCT Filed Apr. 8, 2021, PCT No. PCT/CN2021/085900
§ 371(c)(1), (2) Date Sep. 30, 2022,
PCT Pub. No. WO2021/204187, PCT Pub. Date Oct. 14, 2021.
Claims priority of application No. 202010270092.0 (CN), filed on Apr. 8, 2020.
Prior Publication US 2023/0154147 A1, May 18, 2023
Int. Cl. G06V 10/82 (2022.01); G06V 10/74 (2022.01)
CPC G06V 10/761 (2022.01) [G06V 10/82 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A layout analysis method, wherein the method comprises:
receiving a first operation performed by a user on a touchscreen of an electronic device, wherein the first operation triggers the electronic device to perform layout analysis;
obtaining at least one region of interest (ROI) in response to the first operation;
determining, based on content of a first interface currently displayed on the touchscreen of the electronic device, type and location information of each of a plurality of to-be-matched regions on the first interface;
determining a degree of overlapping between the at least one ROI and each type of the plurality of to-be-matched regions located within the at least one ROI based on the at least one ROI, and the type and the location information of each of the plurality of to-be-matched regions, wherein at least a first one and a second one of the plurality of to-be-matched regions is a different type;
determining a first service based on at least the degree of overlapping between the at least one ROI and each type of the plurality of to-be-matched regions;
running the first service; and
displaying a second interface on the touchscreen of the electronic device, wherein the second interface comprises a layout analysis result obtained after the first service is run, and wherein the first service is one of an optical character recognition service, a visual shopping service, a text translation service, or a QR code recognition service.