Embodiments described herein relate generally to an image processing device, an image processing method, and a non-temporary recording medium.
An image processing device can recognize a character or a code written in a designated area designated by a user for a document image.
In an image processing device in the related art, a user has to designate whether information written in a designated area is a character or a code.
In general, according to at least one embodiment, an image processing device includes an acquisition unit (e.g., an acquisition device, a reader) and a control unit (e.g., a controller). The acquisition unit acquires a document image formed on a sheet. The control unit acquires an area image in a designated area designated in the document image acquired by the acquisition unit, performs a character recognition process and a code recognition process on the area image, and employs a recognition result by a code recognition process performed on the area image as a recognition result of the area image, if a character is not recognized by the character recognition process.
Hereinafter, an image processing device according to at least one embodiment is described with reference to the drawings.
The image processing device 100 forms an image on a sheet by using a developer such as a toner. The sheet is, for example, paper or label paper. The sheet may be any material as long as the image processing device 100 can form an image on the surface thereof.
The control panel 120 has a plurality of buttons. The control panel 120 receives user operations. The control panel 120 outputs a signal according to an operation performed by a user to a control unit (e.g., a controller) of the image processing device 100. The control panel 120 includes a display such as a liquid crystal display and an organic Electro Luminescence (EL) display. The display displays various kinds of information relating to the image processing device 100.
The printer unit 130 forms an image on a sheet based on image information generated by the image reading unit 200 or image information received via a communication path. The printer unit 130 forms an image by, for example, the following process. The image forming unit of the printer unit 130 forms an electrostatic latent image on a photoconductor drum based on the image information. The image forming unit of the printer unit 130 forms a visible image by adhering a developer to the electrostatic latent image. Specific examples of a developer include a toner. A transfer unit (e.g., a transfer device) of the printer unit 130 transfers the visible image onto the sheet. A fixing unit (e.g., a fixing device) of the printer unit 130 fixes the visible image on the sheet by heating and pressurizing the sheet. The sheet on which the image is formed may be a sheet contained in the sheet container 140 or may be a manually fed sheet.
The sheet container 140 contains a sheet used for image formation in the printer unit 130.
The image reading unit 200 reads the image information to be read based on brightness and darkness of light. The image reading unit 200 records the read image information. The recorded image information may be transmitted to another information processing device via a network. The recorded image information may be formed as an image on the sheet by the printer unit 130.
The image reading unit 200 is provided with a platen glass 202 and a platen cover 204. The platen cover 204 is attached to the upper surface of the platen glass 202 in an openable and closable manner.
In
The arithmetic device 51 controls the entire image processing device 100. The arithmetic unit 51 is, for example, a Central Processing Unit (CPU) (e.g., a central processor), or an Application Specific Integrated Circuit (ASIC). The storage device 52 stores programs, various data, and the like. The storage device 52 is a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
Subsequently, a recognition process of the area image in the designated area designated by the user is described. The user designates an area to be subjected to the recognition process by using a highlighter or the like on a sheet such as a business form. For example, a user uses a highlighter to draw a curve (for example, a closed curve) that surrounds a barcode or character. The image processing device 100 reads the sheet on which the designated area is indicated with the image reading unit 200. As a result, the image processing device 100 acquires the document image formed on the sheet (e.g., via the acquisition device, the reader).
An example of a code that can be recognized by the image processing device 100 in a code recognition process is provided.
An example of a character that can be recognized by the image processing device 100 in the character recognition process is provided.
The image processing device 100 can recognize the character and the code even if both the character and the code are included in the designated area.
Subsequently, the flow of the recognition process of the image processing device 100 is described.
The flowchart of
The control unit 50 acquires a recognition result by the character recognition process and the code recognition process (ACT 104). In the character recognition process and the code recognition process, a recognition result is output to a file (for example, an eXtensible Markup Language (XML) format). In the character recognition process and the code recognition process, the recognition result may be output to, for example, an area starting from a designated address of a memory.
In the character recognition process, if the character is recognized, the recognized character is output as a character recognition result. In the character recognition process, if a character is not recognized, nothing is output, or a code indicating that a character is not recognized is output. In the code recognition process, if a code is recognized, a recognized code is output as a code recognition result. In the code recognition process, if a code is not recognized, nothing is output, or a code indicating that a character is not recognized is output. For example, if the result is output to a file in an XML format, the result is output in a form in which data is not present between tags indicating output results.
The control unit 50 determines whether the code is recognized by the code recognition process (ACT 105). If the code is not recognized by the code recognition process (ACT 105: NO), the control unit 50 performs the following process. That is, the control unit 50 employs a character recognition result by the character recognition process performed on the area image as a recognition result of the area image (ACT 108), and the process ends.
If the code is recognized by the code recognition process (ACT 105: YES), the control unit 50 determines whether the character is recognized by the character recognition process (ACT 106). If a character is not recognized by the character recognition process (ACT 106: NO), the control unit 50 performs the following process. That is, the control unit 50 employs the code recognition result by the code recognition process performed on the area image as the recognition result of the area image (ACT 109), and the process ends.
If the character is recognized by the character recognition process (ACT 106: YES), the control unit 50 performs the following process. That is, in the following process, the control unit 50 employs the code recognition result by the code recognition process performed on the area image and the character recognition result by the character recognition process performed on the area image as the recognition result of the area image (ACT 107), the process ends.
According to the above, the user does not have to designate whether the information written in the designated area is a character or a code. With the image processing device 100 according to at least one embodiment, it is possible to provide an image processing device in which the usability for the user is improved.
A flowchart of
The control unit 50 acquires the recognition result by the character recognition process and the code recognition process (ACT 204). The acquisition method is as described in ACT 104.
The control unit 50 determines whether the character is recognized by the character recognition process (ACT 205). If the character is not recognized by the character recognition process (ACT 205: NO), the control unit 50 performs the following process. That is, the control unit 50 employs the code recognition result by the code recognition process performed on the area image as the recognition result of the area image (ACT 208), and the process ends.
If the character is recognized by the character recognition process (ACT 205: YES), the control unit 50 determines whether the code is recognized by the code recognition process (ACT 206). If the character is not recognized by the code recognition process (ACT 206: NO), the control unit 50 performs the following process. That is, the control unit 50 employs the character recognition result by the character recognition process performed on the area image as the recognition result of the area image (ACT 209), the process ends.
If the code is recognized by the code recognition process (ACT 206: YES), the control unit 50 performs the following process. That is, the control unit 50 employs the character recognition result by the character recognition process performed on the area image and code recognition result by the code recognition process performed on the area image as the recognition results of the area image (ACT 207), the process ends.
In this manner, the user does not have to designate whether the information written in the designated area is a character or a code. Therefore, with the image processing device 100 according to at least one embodiment, it is possible to provide an image processing device in which the usability for the user is improved.
In the embodiments described above, the image processing device 100 is used as an example of the image processing device, but the embodiments are not limited thereto. Examples of the image processing device also include a scanner. The scanner can read a sheet and perform an image process on a document image, and thus the present embodiment can be applied.
While certain embodiments have been described these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms. Furthermore various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.