Identifying artifacts in digital documents
AssigneeAdobe Inc.
InventorsUttam Dwivedi, Mohit Gupta, Ashutosh Mehra
Life of this patent
Estimating the term…
Abstract
Techniques described herein implement identifying artifacts in digital documents in a digital medium environment. A document analysis system is leveraged to extract page features from a digital document and to determine whether certain page features represent page artifacts such as headers and footers. Those page features determined to be page artifacts can be extracted from the digital document to generate a reflowed version of the digital document that preserves primary content. The primary content, for instance, is rearranged in the reflowed document to compensate for the extracted page artifacts.
Claims20
A system for generating a reflowed digital document, the system comprising:
- one or more processors;
- and
- one or more computer-readable storage media storing instructions that are executable by the one or more processors to perform operations including:
- extracting page features from pages of the digital document, the page features including a first content type and a second content type;
- determining feature scores for the page features, each feature score indicating a likelihood that a respective page feature represents the second content type on a page of the digital document;
- sorting the page features by applying their respective feature scores to a first likelihood threshold and a second likelihood threshold to identify:
- a set of high confidence features with feature scores above the first likelihood threshold that include a first page feature most likely to correspond to the second content type of the digital document;
- set of mid confidence features that include a second page feature with a feature score between the first threshold and the second threshold;
- and
- a set of low confidence features that include a third page feature with a feature score lower than the second threshold;
- defining an artifact region of one or more pages of the digital document based on a page position of the first page feature;
- determining that a page position of the second page feature spatially coincides with the defined artifact region on at least one page of the digital document and identifying the second page feature as the second content type;
- and
- extracting the first page feature and the second page feature from the digital document to generate the reflowed digital document that includes the first content type.
A method implemented by at least one computing device for generating a reflowed version of a digital document, the method comprising:
- determining, by the at least one computing device, feature scores for page features of the digital document, the page features including a first content type and a second content type, and each feature score indicating a likelihood that a respective page feature represents the second content type of the digital document;
- sorting, by the at least one computing device, the page features by applying their respective feature scores to a first likelihood threshold and a second likelihood threshold to identify a first set of page features with feature scores that exceed the first likelihood threshold, a second set of page features with feature scores between the first likelihood threshold and the second likelihood threshold, and a third set of page features with feature scores that are below the second likelihood threshold;
- defining, by the at least one computing device, an artifact region on at least one page of the digital document based on a position of a page feature of the first set of page features;
- determining, by the at least one computing device, that a page feature from the second set of pages features represents the second content type by determining that a position of the page feature from the second set of page features spatially coincides with a position of the artifact region;
- and
- generating, by the at least one computing device, a reflowed version of the digital document by extracting the page feature of the first set of page features and the page feature of the second set of page features and preserving the first content type of the digital document.
A method implemented by at least one computing device for generating a reflowed version of a digital document, the method comprising:
- extracting page features from pages of the digital document, the page features including a first content type and a second content type;
- determining feature scores for the page features, each feature score indicating a likelihood that a respective page feature represents the second content type on a page of the digital document;
- sorting the page features by applying their respective feature scores to a first likelihood threshold and a second likelihood threshold to identify:
- a set of high confidence features with feature scores above the first likelihood threshold that include a first page feature most likely to correspond to the second content type of the digital document;
- set of mid confidence features that include a second page feature with a feature score between the first threshold and the second threshold;
- and
- a set of low confidence features that include a third page feature with a feature score lower than the second threshold;
- defining an artifact region of one or more pages of the digital document based on a page position of the first page feature;
- determining that a page position of the second page feature spatially coincides with the defined artifact region on at least one page of the digital document and identifying the second page feature as the second content type;
- and
- extracting the first page feature and the second page feature from the digital document to generate the reflowed digital document that includes the first content type.
Dependencies are inferred from the claim text.