In an image processing apparatus, a fold determining unit is configured to determine that the document is folded if it is determined that a number of one or more character strings included in a first group is equal to or larger than a first threshold and if a number of one or more character strings included in a second group is equal to or larger than a second threshold, the first group including multiple character strings including the first character string, which are arrayed in series and have an inclination included in the first inclination interval, the second group including multiple character strings including the second character string, which are arrayed in series and have an inclination included in the second inclination interval.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An image processing apparatus, comprising: a controller circuit configured to operate as an image obtaining unit configured to obtain a read image, the read image being generated by optically reading a document including multiple characters by an image scanner, a character string determining unit configured to detect multiple character strings from the read image, each of the multiple character strings including multiple characters arrayed in one direction, the multiple character strings being arrayed in series in a direction that crosses the one direction, and determine an inclination of each of the multiple character strings with respect to the read image, and a fold determining unit configured to determine a first character string and a second character string, the first character string and the second character string being a pair of two adjacent character strings included in the multiple character strings, a first inclination interval being different from a second inclination interval, the first inclination interval being an interval of numerical values including an inclination value of the first character string, the second inclination interval being an interval of numerical values including an inclination value of the second character string, and determine that the document is folded if it is determined that a number of one or more character strings included in a first group is equal to or larger than a first threshold and if a number of one or more character strings included in a second group is equal to or larger than a second threshold, the first group including multiple character strings including the first character string, which are arrayed in series and have an inclination included in the first inclination interval, the second group including multiple character strings including the second character string, which are arrayed in series and have an inclination included in the second inclination interval.
2. The image processing apparatus according to claim 1 , wherein the character string determining unit is configured to determine that a character string having a length smaller than a third threshold in the one direction is invalid out of the character strings, and the fold determining unit is configured to exclude the character string determined invalid from the first character strings and the second character strings.
3. The image processing apparatus according to claim 1 , wherein the fold determining unit is configured to determine an interval including the inclination of each of the multiple character strings, and determine that the document is not folded if it is determined that a ratio is equal to or larger than a fourth threshold, the ratio being a ratio of a number of one or more character strings having one or more inclinations included in a predetermined number of serial intervals to a total number of the multiple character strings.
4. The image processing apparatus according to claim 1 , wherein the controller circuit is further configured to operate as a handwriting removing unit configured to remove a handwritten character from the read image, and the character string determining unit is configured to detect the multiple character strings from the read image from which the handwritten character is removed.
5. The image processing apparatus according to claim 1 , wherein the controller circuit is further configured to operate as a fold information output unit configured to output, if it is determined that the document is folded by the fold determining unit, information indicating that the document is folded.
6. A non-transitory computer readable recording medium that records an image processing program causing a controller circuit of an image processing apparatus to operate as: an image obtaining unit configured to obtain a read image, the read image being generated by optically reading a document including multiple characters by an image scanner; a character string determining unit configured to detect multiple character strings from the read image, each of the multiple character strings including multiple characters arrayed in one direction, the multiple character strings being arrayed in series in a direction that crosses the one direction, and determine an inclination of each of the multiple character strings with respect to the read image; and a fold determining unit configured to determine a first character string and a second character string, the first character string and the second character string being a pair of two adjacent character strings included in the multiple character strings, a first inclination interval being different from a second inclination interval, the first inclination interval being an interval of numerical values including an inclination value of the first character string, the second inclination interval being an interval of numerical values including an inclination value of the second character string, and determine that the document is folded if it is determined that a number of one or more character strings included in a first group is equal to or larger than a first threshold and if a number of one or more character strings included in a second group is equal to or larger than a second threshold, the first group including multiple character strings including the first character string, which are arrayed in series and have an inclination included in the first inclination interval, the second group including multiple character strings including the second character string, which are arrayed in series and have an inclination included in the second inclination interval.
7. The non-transitory computer readable recording medium according to claim 6 , wherein the character string determining unit is configured to determine that a character string having a length smaller than a third threshold in the one direction is invalid out of the character strings, and the fold determining unit is configured to exclude the character string determined invalid from the first character strings and the second character strings.
8. The non-transitory computer readable recording medium according to claim 6 , wherein the fold determining unit is configured to determine an interval including the inclination of each of the multiple character strings, and determine that the document is not folded if it is determined that a ratio is equal to or larger than a fourth threshold, the ratio being a ratio of a number of one or more character strings having one or more inclinations included in a predetermined number of serial intervals to a total number of the multiple character strings.
9. The non-transitory computer readable recording medium according to claim 6 , wherein the image processing program further causes the controller circuit of the image processing apparatus to operate as a handwriting removing unit configured to remove a handwritten character from the read image, and the character string determining unit is configured to detect the multiple character strings from the read image from which the handwritten character is removed.
10. The non-transitory computer readable recording medium according to claim 6 , wherein the image processing program further causes the controller circuit of the image processing apparatus to operate as a fold information output unit configured to output, if it is determined that the document is folded by the fold determining unit, information indicating that the document is folded.
11. An image processing method, comprising: by an image obtaining unit, obtaining a read image, the read image being generated by optically reading a document including multiple characters by an image scanner; by a character string determining unit, detecting multiple character strings from the read image, each of the multiple character strings including multiple characters arrayed in one direction, the multiple character strings being arrayed in series in a direction that crosses the one direction, and determining an inclination of each of the multiple character strings with respect to the read image; and by a fold determining unit, determining a first character string and a second character string, the first character string and the second character string being a pair of two adjacent character strings included in the multiple character strings, a first inclination interval being different from a second inclination interval, the first inclination interval being an interval of numerical values including an inclination value of the first character string, the second inclination interval being an interval of numerical values including an inclination value of the second character string, and determining that the document is folded if it is determined that a number of one or more character strings included in a first group is equal to or larger than a first threshold and if a number of one or more character strings included in a second group is equal to or larger than a second threshold, the first group including multiple character strings including the first character string, which are arrayed in series and have an inclination included in the first inclination interval, the second group including multiple character strings including the second character string, which are arrayed in series and have an inclination included in the second inclination interval.
12. The image processing method according to claim 11 , further comprising: by the character string determining unit, determining that a character string having a length smaller than a third threshold in the one direction is invalid out of the character strings; and by the fold determining unit, excluding the character string determined invalid from the first character strings and the second character strings.
13. The image processing method according to claim 11 , further comprising: by the fold determining unit, determining an interval including the inclination of each of the multiple character strings, and determining that the document is not folded if it is determined that a ratio is equal to or larger than a fourth threshold, the ratio being a ratio of a number of one or more character strings having one or more inclinations included in a predetermined number of serial intervals to a total number of the multiple character strings.
14. The image processing method according to claim 11 , further comprising: by a handwriting removing unit, removing a handwritten character from the read image; and by the character string determining unit, detecting the multiple character strings from the read image from which the handwritten character is removed.
15. The image processing method according to claim 11 , further comprising: by a fold information output unit, outputting, if it is determined that the document is folded by the fold determining unit, information indicating that the document is folded.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 30, 2019
April 14, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.