System and method for straightening curved page content
AssigneeAdobe Systems Incorporated
InventorRam Bhushan Agrawal
Life of this patent
Estimating the term…
Abstract
The page straightening system includes a word module to determine an enclosing quadrilateral of each connected component of curved page content. Further, a line module in the page straightening system is configured to form text lines by joining enclosing quadrilaterals based on a reading order. Subsequently, a correction module in the page straightening system is configured to generate straightened content from the curved content based on the text lines. As such, the page straightening system can automatically straighten curved page content.
Claims17
One or more computer storage media comprising computer-implemented instructions that, when used by one or more computing devices, cause the one or more computing devices to:
- receive curved page content;
- determine a grid with a plurality of straight vertical lines connecting respective top and bottom anchor points, and with a plurality of curved horizontal lines conforming to the curved page content;
- generate another grid with straight vertical lines and straight horizontal lines;
- map respective quads in the grid to corresponding quads in the another grid;
- and
- conduct piecewise perspective correction based on the grid to generate straightened page content at the another grid from the curved page content.
A computer-implemented method, comprising:
- determining a reading order of a plurality of connected components of curved page content;
- forming text lines from the plurality of connected components based on the reading order;
- determining a grid based on the text lines and straight vertical lines connecting respective top and bottom anchor points on two different text lines;
- generating another grid with a plurality of straight vertical lines and a plurality of straight horizontal lines;
- mapping respective quads in the grid to corresponding quads in the another grid;
- and
- conducting piecewise perspective correction based on the grid to generate straightened page content at the another grid from the curved page content.
A system, comprising:
- a processor;
- a word module, coupled to the processor, to determine an enclosing quadrilateral of each component of a plurality of connected components of curved content;
- a line module, coupled to the word module, to form text lines by joining the respective enclosing quadrilaterals based on a reading order of the plurality of connected components;
- and
- a correction module, coupled to the line module, to generate straightened content from the curved content based on the text lines, wherein the correction module is further to conduct piecewise perspective correction based on a grid with a plurality of straight vertical lines connecting respective top and bottom anchor points on two different text lines and a plurality of curved horizontal lines conforming to the text lines.
Dependencies are inferred from the claim text.