Image Processing Margin Painting for Document Extraction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing technologies face challenges in accurately extracting documents from images, particularly when the documents are positioned near the edges, as they often fail to recognize and cut the margins correctly due to incomplete black backgrounds and frame parts, leading to incomplete document extraction.
Innovation Solution
An image processing apparatus that measures the margin at the edges of an image, paints the margin black, and then performs a multi-crop process to accurately extract documents by using the margin measurement module, painting module, and multi-crop processing module, ensuring correct cutting even when documents are close to the edge.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If existing image processing technologies are used to extract documents from images, then the extraction process is simple, but the extraction accuracy deteriorates when documents are positioned near the edges due to incomplete black backgrounds and frame parts
Solution Approach 1:
The patent applies preliminary action by measuring margins and painting them black before performing the multi-crop process. The margin measurement module detects margin regions at the ends of the image, and the painting module paints these measured margins black to create complete black backgrounds. This preliminary preparation ensures that subsequent document extraction using the multi-crop module achieves high accuracy even for documents positioned near edges, resolving the contradiction between extraction accuracy and processing complexity.
2Manufacturing precision
If margin measurement and painting processes are added before document extraction, then extraction accuracy improves for edge-positioned documents, but processing time increases
Solution Approach 1:
The patent applies partial action by measuring and painting only the margin regions at the ends of the image rather than processing the entire image. The margin measurement module identifies specific margin regions, and the painting module applies black paint only to these measured margins. This selective partial processing achieves the necessary extraction accuracy improvement without requiring excessive processing time, effectively resolving the contradiction between accuracy and time loss.
3Productivity
If the multi-crop process is performed without painting margins black first, then processing is faster, but documents near edges are not extracted correctly
Solution Approach 1:
The patent resolves this contradiction by performing preliminary margin measurement and painting before the multi-crop process. The margin measurement module measures margins at the ends of the image, and the painting module paints these margins black to create complete backgrounds. This preliminary action enables the multi-crop module to correctly extract documents near edges while maintaining processing efficiency, as the preparation is targeted and automated.
Data Source
AI summary
An image processing apparatus includes a painting section and an extraction section. The painting section performs painting on a margin at an end part of an image. The extraction section extracts a document included in the image on which the painting is performed by the painting section.


