1. An image processing device comprising: a character recognition unit configured to obtain a plurality of character codes corresponding to a plurality of character images by executing a character recognition processing for the plurality of character images in a document image; and a generation unit configured to generate an electronic document in which the document image, the plurality of character codes obtained by the character recognition unit, and a plurality of kinds of glyph data are stored, each kind of the glyph data including one kind of character shape data, wherein one glyph data is selected from the plurality of kinds of glyph data stored in the electronic document, the plurality of kinds of glyph data include a glyph data drawn at a lower end portion of the corresponding character image so that it is specified as if the corresponding character image were underlined at the time of searching, and the one kind of character shape data corresponding to the selected glyph data is utilized in common with respect to all of the plurality of different character codes stored in the electronic document when drawing characters corresponding to the plurality of character codes stored in the electronic document for a keyword search.
1. An image processing device comprising: a character recognition unit configured to obtain a plurality of character codes corresponding to a plurality of character images by executing a character recognition processing for the plurality of character images in a document image; and a generation unit configured to generate an electronic document in which the document image, the plurality of character codes obtained by the character recognition unit, and a plurality of kinds of glyph data are stored, each kind of the glyph data including one kind of character shape data, wherein one glyph data is selected from the plurality of kinds of glyph data stored in the electronic document, the plurality of kinds of glyph data include a glyph data drawn at a lower end portion of the corresponding character image so that it is specified as if the corresponding character image were underlined at the time of searching, and the one kind of character shape data corresponding to the selected glyph data is utilized in common with respect to all of the plurality of different character codes stored in the electronic document when drawing characters corresponding to the plurality of character codes stored in the electronic document for a keyword search. 4. The image processing device according to claim 1 , wherein the plurality of kinds of glyph data stored in the electronic document include the glyph data having a rectangular shape.