alanko5 / credit-card-scanner-and-validator Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ethanwa/credit-card-scanner-and-validator-for-swift
Uses the iOS Vision text recognizer framework to visually read credit card numbers and expiration dates. Then uses the Luhn algorithm to make sure the CC number is valid. Also checks agains a list of prefix numbers to determine card type (Mastercard, Visa, Discover, Amex, etc).
License: MIT License