Skip to content

sbsreedh/Credit-Card-Number-Recognition

Repository files navigation

Credit-Card-Number-Recognition

OpenCV to identify Credit Card Number from a picture of Card

Method

Steps of identifying the number:

  1. Detecting the four groups of four numbers on the credit card via various image processing techniques, including morphological operations, thresholding, and contour extraction.
  2. Extracting each of the individual digits from the four groupings, leading to 16 digits that need to be classified.
  3. Applying template matching to each digit by comparing it to the OCR-A font to obtain our digit classification.
  4. Examining the first digit of the credit card number to determine the issuing company.

Result

Screenshot 2019-06-04 at 10 10 41 PM

About

OpenCV to identify Credit Card Number from a picture of Card

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published