This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2017-118603 filed Jun. 16, 2017.
The present invention relates to an information processing apparatus and a non-transitory computer readable storage medium storing an information processing program.
According to an aspect of the invention, there is provided an information processing apparatus including a dividing unit configured to divide a read image into plural divided images, an acquiring unit configured to acquire additional information including a content common to the plural divided images, and an addition processing unit configured to perform addition processing for adding the acquired additional information to plural data files respectively including the divided images.
An exemplary embodiment of the present invention will be described in detail based on the following figures, wherein:
An exemplary embodiment of the present invention is described.
The controller 11 includes a processor such as a central processing unit (CPU) and memories such as a read only memory (ROM) and a random access memory (RAM). The controller 11 performs overall control on the image forming apparatus 1, which includes display control as described later. The ROM stores firmware that describes startup procedures for hardware and an operating system (OS). The RAM is used for storing data when the CPU executes computation. The storage part 12 includes, for example, a semiconductor memory or a hard disk drive. The storage part 12 stores the OS and software (programs) for implementing various functions. The communication part 13 includes a communication interface (I/F) for communications with external electronic devices. The communication part 13 is connected to communication lines such as a local area network (LAN).
The UI part 14 includes a display section and an operation section. The display section includes, for example, a liquid crystal display. The display section displays, on its display surface, a screen to be used by a user for operating the image forming apparatus 1. The operation section includes, for example, a touch panel provided so as to cover the display surface of the display section, and keys provided at a position adjacent to the display surface. The operation section receives an operation performed by the user and outputs a signal to the controller 11 in accordance with the operation. The controller 11 controls the image forming apparatus 1 in accordance with details of the operation.
The reading part 15 optically reads an original document to generate image data. The reading part 16 is, for example, an image scanner including a platen glass, a light source, an optical system, a color filter, and an imaging element. The light source radiates light onto an object placed on the platen glass and the light reflected by the object enters the imaging element via the optical system and the color filter. The imaging element converts the incident light into an image signal and outputs the image signal to the image processing part 16. The image processing part 16 performs image processing such as screening and color conversion on the image signal output from the reading part 15. The image forming part 17 forms, for example, an image on paper that is a recording medium based on the data subjected to the image processing performed by the image processing part 16. The image forming system is, for example, an electrophotographic system or an ink jet system.
A dividing part 102 divides an image read by the reading part 15 into plural divided images. The read image is, for example, an image obtained by arranging plural business cards, license cards, credit cards, cash cards, or ID cards (these objects are hereinafter referred to as business cards or the like) on the platen glass of the reading part 15 and reading contents written on the business cards or the like. The divided image is an image showing each of the business cards or the like arranged on the platen glass. That is, the read image includes plural business cards or the like and the divided image includes a single business card or the like alone.
An acquiring part 103 acquires additional information including contents common to the plural divided images. In this exemplary embodiment, the acquiring part 103 acquires the additional information by generating the additional information. For example, the acquiring part 103 generates the additional information in accordance with an operation performed by the user.
An addition processing part 104 performs the addition processing in accordance with the setting performed by the setting part 101. Specifically, the addition processing part 104 adds the additional information acquired by the acquiring part 103 to plural data files respectively including the divided images in formats compatible with the formats of the data files.
Next, an operation of the image forming apparatus 1 is described. Processing of
The image processing part 16 performs predetermined image processing on the read image data and compresses the read image data in a predetermined compression format such as the Joint Photographic Experts Group (JPEG) format (Step S12). The read image data is stored in the storage part 12 (Step S13).
Next, the dividing part 102 reads out the read image data from the storage part 12 (Step S14) and divides the read image data into plural divided images (Step S15). Specifically, the dividing part 102 analyzes the read image data, extracts rectangular images that fall within a predetermined size range intended for a business card and within a predetermined color range, and divides the read image data into pieces of divided image data indicating the respective rectangular images. Through this operation, the dividing part 102 generates the five business cards A to E as different pieces of divided image data as illustrated in, for example,
Next, the addition processing part 104 determines whether to perform the addition processing or not based on the setting performed by the setting part 101 as to whether to enable the addition processing or not (Step S16). When the addition processing is performed (Step S16; YES), the acquiring part 103 acquires additional information including contents common to the plural divided images (Step S17). Specifically, the acquiring part 103 prompts the user to input additional information and, in response to the input operation, generates additional information including contents input by the user on the UI part 14 (for example, a date, the name of a conference attended by the members written on the business cards, or the department and name of the user who inputs comments).
The addition processing part 104 performs the addition processing for adding the additional information acquired by the acquiring part 103 to each piece of divided image data and also performs formatting (Step S18). The format to be used in this case is, for example, a portable document format (PDF), XDW (extension of DocuWorks documents), or a tag image file format (TIFF). The additional information is described in description formats compatible with the respective formats. Through this operation, the addition processing part 104 generates five data files individually associated with the additional information common to the divided images of the business cards A to E as illustrated in, for example,
The exemplary embodiment may be modified as follows. Further, plural modified examples may be combined together.
<1>
The acquiring part 103 acquires the additional information by generating the additional information in accordance with an operation performed by the user. The acquiring part 103 may generate the additional information by other methods.
The acquiring part 103 may generate the additional information based on information stored in the image forming apparatus 1. For example, when the image forming apparatus 1 stores a current date and time or attributes such as the name of the user who has logged into the image forming apparatus 1, the acquiring part 103 generates additional information including those pieces of information.
The acquiring part 103 may generate the additional information based on an image common to the divided images. For example, when the acquiring part 103 performs character recognition such as optical character recognition/reader (OCR) on the business cards or the like and the name of a company or department common to all of the business cards or the like is recognized as a result of the character recognition, the acquiring part 103 may generate additional information including those pieces of information.
<2>
In the exemplary embodiment, the addition processing part 104 adds the additional information to divided images obtained by dividing a read image generated by reading processing that is performed once. The addition processing part 104 may add the additional information to divided images obtained by dividing a read image generated by reading processing that is performed plural times specified by the user. The user specifies the number of times for the image reading processing on the image forming apparatus 1 and the addition processing part 104 adds the additional information to divided images obtained by dividing a read image generated by the reading processing that is performed the number of times specified by the user.
The addition processing part 104 may add additional information including contents common to divided images including a common image among the divided images obtained by dividing a read image generated by the reading processing that is performed one or plural times. For example, when the acquiring part 103 performs character recognition such as optical character recognition/reader (OCR) on the business cards or the like and the name of a company or department common to some of the business cards or the like is recognized as a result of the character recognition, the acquiring part 103 generates additional information including those pieces of information. The addition processing part 104 adds the additional information including the contents common to the divided images including the common image among the divided images obtained by dividing the read image generated by the reading processing that is performed one or plural times.
<3>
The type and number of pieces of additional information are not limited to the type and number that are exemplified in the exemplary embodiment.
<4>
The exemplary embodiment described above is directed to the example in which the controller 11 implements the functions described above by executing the program. The functions may be implemented by a hardware circuit. The program may be provided by being recorded in a computer readable recording medium such as an optical recording medium or a semiconductor memory and the program may be read from the recording medium and installed in the information processing apparatus. The program may be provided via a telecommunication line.
The foregoing description of the exemplary embodiment of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiment was chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2017-118603 | Jun 2017 | JP | national |