A portable terminal device or cellular phone includes a target setting
section, a display unit, a focused-state determination section, and a
recognition section. The photography-target setting section sets normal
photography mode for photographing an image, and OCR mode for
photographing a character or bar code. The display unit displays a
photographed image, and positioning of an image as a photography target.
The focused-state determination section is activated, and determines a
focused state of a character or bar code photographed in the OCR mode.
The recognition section recognizes the photographed character or bar
code, the result of which is displayed by the display unit. Press of a
confirmation button initiates a process to communicate with a
communications target corresponding to the recognized result. A linking
section may link recognition results to form a continuous string.