...

Bank card recognition from a photo or the camera

The customer points the camera at the card — NeuroVision reads the number, expiry date and cardholder name, and identifies the payment system and the bank. The CVV code is not recognized and not requested. Card recognition is built into your app and website or runs inside your perimeter.

  • Number, expiry, cardholder, payment system
  • Issuing bank by BIN
  • The CVV code is not recognized and not requested
Data is stored in Russia Russian Software Registry No. 19972 Deployment inside your perimeter

What NeuroVision reads from a bank card

Bank card data can be read from a gallery photo or live from the phone camera. For every field the service returns the value and the model’s confidence level, just as for documents.

  • Card number

    16 digits, and 13 to 19 on some cards. The number is read from the front, or from the back if it is printed there. The service checks the check digit with the Luhn algorithm to filter out typos and misreads.

  • Valid until

    Month and year in MM/YY format. If the date is hidden by glare, the field is returned with low confidence and the customer retakes the photo.

  • Cardholder name

    First and last name in Latin letters, as on the card. On cards without a name the field stays empty — this is not a recognition error.

  • Payment system

    Mir, Visa, Mastercard and UnionPay. Determined by the number and the logo on the card.

  • Issuing bank

    The bank is determined by the BIN — the first six to eight digits of the number — using a reference table. Handy for showing customers their bank without asking them to pick it from a list.

  • What is not read

    The CVV/CVC code on the back. It is not recognized, not requested and not included in the response.

How to recognize a bank card from a photo: four steps

The customer does not have to type anything — they photograph the card, and the app receives ready-made fields.

If a photo is not accepted, the customer sees the reason and retakes it. Each step of the flow gives up to 6 free capture attempts. Get test access

Step 1

The customer photographs the card

A capture frame with hints opens in the app or on the website: put the card on a flat surface, remove glare, fit it into the frame entirely. The customer can take a live shot or pick a photo from the gallery.

Capture frame in the app: the card on a flat surface, a glare hint
Step 2

The service finds the card and its fields

The neural network finds the card in the frame, straightens the perspective, removes glare and reads both embossed and flat digits. The card can be held vertically — the rotation is detected automatically.

Card found: the number, expiry and cardholder name are highlighted
Step 3

It checks what was read

The check digit of the number by the Luhn algorithm, the expiry format, the payment system by the number, the bank by the BIN. For every field — a confidence level.

List of checks: check digit, expiry, payment system, bank by BIN
Step 4

It returns the fields to your app

The number, expiry, cardholder, payment system and bank arrive as JSON in your app or on your server. A low-confidence field is highlighted to the customer for correction.

Card fields in the app: number, expiry, cardholder, payment system, bank

Card scanning: which cards are read and in what conditions

A neural-network bank card scanner reads not only “ideal” embossed cards but also what customers actually carry in their wallets. For capture as a continuous stream from the camera, without pressing “take a photo”, there is video stream recognition.

A card with embossed digits in side light

Cards with embossed digits

An embossed number and expiry are hard to see in side light and on gold or silver foil. The model is trained to read such digits and tells the customer how to turn the card if glare covers a digit.

The CVV code is not recognized: what we do not read and where the data stays

  • CVV/CVC is not recognized

    The three-digit code on the back is not extracted from the image, not requested from the customer in the capture frame and not returned in the API response. It is entered separately, in your processing’s payment form.

  • Deployment inside your perimeter

    The service can be installed on your servers in Docker containers. The card number does not leave your infrastructure, and the internet is needed only for licence activation and updates.

  • Webhooks without data

    The session result can be received by a webhook without personal data: only the status, while the fields themselves are fetched by a request with the session ID.

  • You set the retention period

    The retention period of results is configured in the flow. If you do not need the full number — do not store it: the status and masked data on your side are enough.

The number, expiry and name are enough for linking and matching. The service neither asks for nor reads anything extra. How deployment in your perimeter works — on the page OCR API and SDK.

Where card recognition is needed: six scenarios

Wherever a person now retypes 16 digits by hand, and wherever you need to make sure that the card belongs to them.

  • Linking a card in an app

    • The customer does not type the number, expiry and name by hand — fewer input errors and abandoned linkings.
  • Payment on a website and in the cart

    • Autofill of the payment form from the phone camera. The customer enters the CVV themselves.
  • Payouts to the customer’s card

    • Microfinance lenders, marketplaces and bookmakers pay out money only to the customer’s own card: the name on the card is matched with the passport.
  • Card issuance and receipt

    • When a card is handed over by a courier or in an office, the check confirms that it is exactly that card. For more on recipient identification — see card and document delivery.
  • Payroll, children’s and virtual cards

    • Matching the details of an employee’s or child’s card in payroll projects and card issuance: who the cardholder is gets determined there, while here the plastic is read.
  • Wallets and transfers between customers

    • Adding a card to a wallet or P2P service without manual input and with a cardholder check.

Cardholder matching: the name on the card and the full name in the passport

Card and passport in one session

Name on the card ↔ full name from the passport

The customer photographs the passport and the card. The service recognizes both documents and compares the name on the card with the full name from the passport. If a payout goes to a third party’s card, you see it before the money is sent. Passport recognition works the same way as in regular verification.

Latin versus Cyrillic

Transliteration

On the card the name is written in Latin letters, in the passport — in Cyrillic, and the same surname is spelled differently: YULIA, JULIA, IULIIA. The matching takes transliteration variants into account and compares by rules, not by letters.

If the card has no name

What to do on a mismatch

Instant and virtual cards may have no name. In case of a mismatch or an empty field, you decide the process: ask for another card, send the case to an operator or refuse the payout. The service returns the matching result and the confidence level, and the threshold is set in your flow.

Card and passport matching: the name on the card and the full name in the passport match Matching result: the name on the card differs from the full name in the passport, the case goes to an operator

Screen capture and printout: what antifraud flags

Antifraud is included in the “Document” package

A fraudster sends not the card itself but a photo of someone else’s screen, a screenshot from a chat or a printout. For documents, NeuroVision antifraud flags such signs by default, and the same approach applies to cards.

Document antifraud is included in all price-matrix packages. For cards the price is set individually — price on request.

  • 01

    Screen photo

    Signs of capture from a phone, tablet or monitor screen — pixel grid, screen glare, frame shape.

  • 02

    Printout and photocopy

    A paper copy instead of plastic: no relief, no chip shine, a different texture.

  • 03

    Live-frame capture

    The capture frame in the SDK asks to photograph the card now rather than upload a ready file, if you enable this mode.

  • 04

    The result in your flow

    The service does not automatically accept a suspicious image: you decide whether to refuse, request a retake or pass it to an operator.

  • from 16 ₽ “Document” package per KYC session
  • up to 6 free capture attempts per step
  • 195+ countries and territories for documents

Card data and the law: 152‑FZ, PCI DSS, data volume

A card number and a cardholder name are personal data. Here is what this means for recognition and how deployment covers it. Not legal advice.

  • 152‑FZ: data of Russian citizens stays in Russia

    Recording, storing and retrieving personal data of Russian citizens using databases outside Russia is not allowed (Part 5, Article 18). The NeuroVision cloud runs on servers in Russia, and with installation in your perimeter the data stays with you.

    • 152‑FZ
    • Data in Russia
  • 152‑FZ: no more than needed

    The content and volume of data must match the processing purposes (Part 5, Article 5). Linking needs only the number, expiry and name, while the CVV code is not needed and not read.

    • 152‑FZ
    • Sufficiency
  • PCI DSS: the card industry standard

    The payment card data security standard does not allow storing the card verification code (CVV/CVC) after payment authorization. NeuroVision does not extract it. A PCI DSS certificate is not claimed on the product pages: so that the card number never leaves your infrastructure, the service is deployed in your perimeter.

    • PCI DSS
    • Your perimeter
  • Retention periods

    How long to keep results is defined by the flow, and in your perimeter — by you. Do not store the full card number if a mask and a status are enough for your task.

    • Storage
    • Your flow

How to embed card recognition: Web SDK, mobile app, API, your perimeter

Web SDK

A ready-made JavaScript widget opens over your page, asks for camera access, hints how to photograph the card and sends the images to the API itself. It works on desktop and in a mobile browser; the look is a light or dark theme in your colours.

  • Fields in JSON
  • Confidence level
  • Webhooks without data
  • Docker in your perimeter

In your perimeter

For banks and companies that cannot pass card data outside: Docker containers, installation by NeuroVision engineers, the card number stays with you. Server requirements.

How much bank card recognition costs

The first month is a free test on your cards and flows. After that you pay only for processed requests, with no subscription fee for idle time.

Document prices are in the price matrix

Calculate the cost
  • 01

    Test — 1 month free. A personal manager will help connect the SDK or API and check recognition on your cards

  • 02

    Card recognition — on request. The price depends on the volume and the connection method: cloud or your perimeter

  • 03

    Matching with a passport — the “Document” package, from 16 ₽ per KYC session: document recognition and antifraud. Up to 6 free capture attempts per step

Glossary: PAN, BIN, embossing, Luhn algorithm

PAN
The card number, 13–19 digits. Interfaces show a mask: the first six and the last four digits.
primary account number
BIN (IIN)
The first six to eight digits of the number: they determine the payment system and the issuing bank.
bank identification number
Issuer
The bank that issued the card.
issuer
Payment system
Mir, Visa, Mastercard, UnionPay — the network that payments go through.
payment system
Embossing
Raised digits on the plastic. They are read worse than flat print, especially with glare.
embossing
Luhn algorithm
A check of the number’s check digit: it helps tell a typo or a misread from a real number. It does not check that the card exists.
Luhn algorithm
CVV / CVC
The three-digit code on the back. NeuroVision neither recognizes nor requests it.
card verification value
Tokenization
Replacing the card number with a token that cannot be used outside your system.
tokenization

Test card recognition in your app

Tell us where card recognition should be built in — an app, a website or your perimeter — and what volume you expect. We will open test access for a month.

Can't put your request into words? Book a call and our team will contact you at a convenient time

Book a call

The company is included in the register of IT companies and the register of personal data operators of the Russian Ministry of Digital Development.

Address: Moscow, Presnenskaya Embankment 12 — Moscow City business centre, Federation Tower. Nearest metro stations: Delovoy Tsentr and Mezhdunarodnaya.

Questions about bank card recognition

Answers about card fields, the CVV code, deployment in your perimeter, cardholder matching and cost

The customer photographs the card with the phone camera or picks a photo. The neural network finds the card, straightens the perspective and reads the number, expiry date and cardholder name. Then the service determines the payment system and the bank by the BIN and returns the fields in JSON with a confidence level for each.

Yes. JPEG and PNG are accepted. For live capture with hints, use the Web SDK or a mobile SDK: they show how to remove glare and fit the card into the frame.

It reads cards of different types (with embossed digits, flat, vertical, with the number on the back) and is part of the verification platform: you can match the cardholder with the passport and flag a screen capture or a printout.

The number, expiry date, cardholder name in Latin letters, the payment system (Mir, Visa, Mastercard, UnionPay) and the issuing bank by BIN.

No. The code on the back is not recognized, not requested and not included in the response. The customer enters it themselves in the payment form.

In the cloud — on NeuroVision servers in Russia. If the card number must not leave your infrastructure, the service is installed in your perimeter. NeuroVision does not claim a PCI DSS certificate on its product pages.

The customer photographs the card and the passport in one session. The service compares the name on the card with the full name from the passport, taking transliteration into account. If the card has no name or the data differs, you make the decision: a retake, an operator or a refusal.

Through mobile SDKs for iOS (Swift) and Android (Kotlin, Java), the Web SDK in the browser or the REST API. More — on the pages SDK for iOS and Android and OCR API.

For documents, the field recognition accuracy is 99.85%. For cards we do not publish a separate figure: the result depends on the card type and capture conditions, so it is checked on your cards during the test month. The pilot method is on the page recognition accuracy.

The first month is a free test. The price of card recognition is calculated on request for your volume and connection method; documents — by the price matrix, from 16 ₽ per KYC session.