A device for identifying a paper medium, comprising: an image data acquiring part for acquiring original image data of the paper medium; a faulty line detecting part for detecting whether there is a faulty line in the original image data of the paper medium obtained by the image data acquiring part, and obtaining a position of the faulty line if there is the faulty line in the original image data of the paper medium; an image cutting part for cutting the original image data to obtain complete image information and identification image information of an effectively identified paper medium; a standard template data storage part for storing a standard template for identifying the paper medium; a comprehensive analysis part for comprehensively analyzing the complete image information of the paper medium, a result from the faulty line detecting part and data information of the standard template to determine whether the faulty line at a current position influences template match identification; a new template generating part for cutting the standard template into new sub-templates by taking the faulty line as a boundary based on an analysis result from the comprehensive analysis part in the case that the faulty line influences the template match identification, and performing no process on the standard template in the case that the faulty line does not influence the template match identification; and a determining part for performing the template match identification on the identification image information of the paper medium by using the newly generated sub-templates and by using the standard template on which the new template generating part performs no process, to obtain an identification result; wherein the position of the faulty line is random in the original image data of the paper medium. an image data acquiring part for acquiring original image data of the paper medium; a faulty line detecting part for detecting whether there is a faulty line in the original image data of the paper medium obtained by the image data acquiring part, and obtaining a position of the faulty line if there is the faulty line in the original image data of the paper medium; an image cutting part for cutting the original image data to obtain complete image information and identification image information of an effectively identified paper medium; a standard template data storage part for storing a standard template for identifying the paper medium; a comprehensive analysis part for comprehensively analyzing the complete image information of the paper medium, a result from the faulty line detecting part and data information of the standard template to determine whether the faulty line at a current position influences template match identification; a new template generating part for cutting the standard template into new sub-templates by taking the faulty line as a boundary based on an analysis result from the comprehensive analysis part in the case that the faulty line influences the template match identification, and performing no process on the standard template in the case that the faulty line does not influence the template match identification; and a determining part for performing the template match identification on the identification image information of the paper medium by using the newly generated sub-templates and by using the standard template on which the new template generating part performs no process, to obtain an identification result; wherein the position of the faulty line is random in the original image data of the paper medium.