Research on Bank Card Number Recognition Based on Canny Edge Detection
In order to obtain bank card number information quickly and accurately,this paper proposes a method based on Canny edge detection to extract bank card contour information.Firstly,this paper performs the gray-scale operation and binarization operation on the digital template,then extracts the outer contour information,and sorts the numbers on the template.Then a series of morphological operations on the image of the bank card to be detected are performed,the position of the bank card number is locked according to the drawn outline size ratio,and a single number is obtained through image cutting,and finally the single num-ber with the template is matched and recognized.Experimental results show that the recognition accuracy of the template matching method based on Canny operator edge detection reaches 93.8%.Its recognition accuracy is better than the template matching method based on Sobel operator.
bank card recognitionmorphological processingCanny edge detectiontemplate matching