Layout analysis
AssigneeNextvpu (Shanghai) Co., Ltd.
InventorsLinfeng Li, Haijiao Cai, Xinpeng Feng, Ji Zhou
Life of this patent
Estimating the term…
Abstract
A layout analysis method, an electronic device, and a non-transitory computer-readable storage medium are provided. The layout analysis method includes: obtaining coordinate information of a plurality of text lines in an image; creating a layout model of the image according to the coordinate information; analyzing a layout structure of the text lines based on the layout model; and determining an order of the text lines relative to each other based on the layout structure.
Claims20
A layout analysis method, comprising:
- obtaining coordinate information of a plurality of text lines in an image;
- creating a layout model of the image according to the coordinate information;
- analyzing a layout structure of the text lines based on the layout model;
- and
- determining an order of the text lines relative to each other based on the layout structure.
An electronic device, comprising:
- a processor;
- and
- a memory storing a program, wherein the program comprises instructions that, when executed by the processor, cause the processor to perform following operations:
- obtaining coordinate information of a plurality of text lines in an image;
- creating a layout model of the image according to the coordinate information;
- analyzing a layout structure of the text lines based on the layout model;
- and
- determining an order of the text lines relative to each other based on the layout structure.
A non-transitory computer-readable storage medium storing a program, wherein the program comprises instructions that, when executed by a processor of an electronic device, cause the electronic device to perform following operations:
- obtaining coordinate information of a plurality of text lines in an image;
- creating a layout model of the image according to the coordinate information;
- analyzing a layout structure of the text lines based on the layout model;
- and
- determining an order of the text lines relative to each other based on the layout structure.
Dependencies are inferred from the claim text.