| CPC G06V 10/761 (2022.01) [G06V 10/82 (2022.01)] | 20 Claims |

|
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.
|