Document Size Detection Using Side Length Measurement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for determining the size of a document in an image captured by a camera cannot accurately distinguish between documents with the same aspect ratio but different paper sizes, leading to incorrect size identification.
Innovation Solution
An information processing apparatus that detects the four sides of a document, calculates their lengths, and compares them to a predefined paper size table to determine the closest matching size, using a mean square error method to ensure accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If only the aspect ratio is used to determine document size, then the determination process is simple, but the measurement precision is insufficient to distinguish between different paper sizes with the same aspect ratio
Solution Approach 1:
The patent transitions from using only aspect ratio (one-dimensional ratio) to using both aspect ratio and absolute dimensions (two-dimensional measurement). By calculating both the width and height of the detected document and comparing them against predefined paper size specifications, the system achieves accurate differentiation between paper sizes that share the same aspect ratio, such as A3 and A4 documents.
2Measurement precision
If the document size is determined by comparing calculated lengths with predefined paper sizes, then the measurement precision improves, but the device complexity increases
Solution Approach 1:
The patent employs preliminary action by pre-storing standardized paper size specifications (width and height dimensions) in a table within the processing system. During document size determination, the system retrieves the appropriate paper size specifications from this pre-prepared table based on the detected document dimensions, eliminating the need for complex real-time calculations and reducing processing complexity.
Data Source
AI summary
An information processing apparatus includes a memory storing instructions and a processor to execute the instructions to perform operations. Four sides of a document included in captured image data are detected. Lengths of the detected four sides of the document are calculated. The operations further include determining which of a plurality of predefined paper sizes corresponds to the document based on the calculated lengths of the four sides. The determined corresponding paper size is set as a document size of the document.


