4. The non-transitory computer-readable recording medium according to claim 1 , wherein the detecting includes: for each time when one stroke in handwriting is received, collating information indicating a reference stroke included in a dictionary data with a set of strokes that are not decided for forming a character, among input strokes, by referring to the dictionary data in which a plurality of associations between the character code and information indicating a reference stroke are registered each time; and detecting each of the plurality of character codes sequentially based on a collation result.
1. A non-transitory computer-readable recording medium storing a character recognition program that, when executed, causes a computer to perform a character recognition method, the character recognition method comprising: detecting a first information indicating an input position of each of a plurality of characters input through a handwriting input and a plurality of character codes associated with the plurality of characters; acquiring a plurality of first image data associated with each of the plurality of character codes by referring to a second information in which the character codes and image data of the characters are associated with each other; generating a second image data by combining the plurality of first image data based on the first information; and outputting an image data of a character associated with the second image data or a character code associated with the second image data by referring to the second information, wherein the generating includes: deforming the plurality of first image data based on the first information; and generating the second image data by combining the plurality of first image data deformed at the deforming, wherein the deforming includes: specifying a plurality of rectangles that indicate an area in which the plurality of characters are input based on the first information; and matching an aspect ratio of each of the plurality of the first image data deformed at the deforming to an aspect ratio of each of the plurality of rectangles.