INFORMATION PROCESSING DEVICE AND NON-TRANSITORY COMPUTER READABLE MEDIUM
An information processing device is provided with a processor configured to acquire a document image illustrating a document, and extract target information with respect to a target character string from a region set with reference to a position of a specific type of impression included in the document image.
1 . An information processing device comprising:
a processor configured to
acquire a document image illustrating a document, and
extract target information with respect to a target character string from a region set with reference to a position of a specific type of impression included in the document image.
2 . The information processing device according to claim 1 , wherein
the processor is configured to use an impression other than a first type of impression and a second type of impression among a plurality of impressions included in the document image as the specific type of impression.
3 . The information processing device according to claim 2 , wherein
the first type of impression is provided at an interval from a predetermined position in the document image.
4 . The information processing device according to claim 3 , wherein
the predetermined position is an edge of the document image in a case where the document image illustrates a single page included in the document.
5 . The information processing device according to claim 3 , wherein
the predetermined position is a boundary between a plurality of pages in the document image in a case where the document image illustrates a plurality of pages included in the document.
6 . The information processing device according to claim 2 , wherein
the second type of impression is provided at a position corresponding to a character with strikethrough applied that is included in the document image.
7 . The information processing device according to claim 1 , wherein
the specific type of impression is larger than another impression included in the document image.
8 . The information processing device according to claim 2 , wherein
the specific type of impression is larger than another impression included in the document image.
9 . The information processing device according to claim 7 , wherein
the specific type of impression has a greater amount of surrounding whitespace than another impression included in the document image.
10 . The information processing device according to claim 8 , wherein
the specific type of impression has a greater amount of surrounding whitespace than another impression included in the document image.
11 . The information processing device according to claim 1 , wherein
in a case where a plurality of target information with respect to the target character string is included in the region, the processor is configured to
extract the target information closest to the position from among the plurality of target information.
12 . The information processing device according to claim 1 , wherein
the processor is configured to
detect at least one impression, including the specific type of impression, from the document image, and
perform character recognition on the document image after detecting the at least one impression, and
the target information is a result of the character recognition.
13 . The information processing device according to claim 12 , wherein
the processor is configured to
remove the specific type of impression detected from the document image, and
perform the character recognition on the document image from which the specific type of impression has been removed.
14 . A non-transitory computer readable medium storing a program causing a computer to execute a process for processing information, the process comprising:
acquiring a document image illustrating a document; and
extracting target information with respect to a target character string from a region set with reference to a position of a specific type of impression included in the document image.
15 . An information processing device comprising:
acquiring means for acquiring a document image illustrating a document; and
extracting means for extracting target information with respect to a target character string from a region set with reference to a position of a specific type of impression included in the document image.