1. A method for recognizing, by a terminal device, a card number and expiration date of a card, the method comprising steps of: (a) obtaining an image of the card through a camera; (b) performing position detection and number recognition on card numbers within the image obtained at the step (a); and (c) performs position detection and number recognition on expiration date numbers within the image obtained at the step (a), wherein the terminal device uses a convolutional neural network when recognizing the card numbers and the expiration date numbers.