# CardScan — AI Business Card Scanner

> Free, AI-powered web app that turns physical business cards into digital contacts (VCF / vCard) in seconds.

CardScan runs in the browser. Point your camera at a business card, the app extracts the contact information with on-device OCR (with an optional Google Gemini Vision fallback for tricky cards), and you download a universally compatible VCF file.

## Key features

- **AI-powered extraction** — Local OCR first, Gemini Flash fallback on low-confidence cards.
- **Native camera capture** — Uses the OS camera on iOS/Android, WebRTC at up to 4K on desktop, with a card-shaped scanner overlay.
- **Smart field detection** — Names, job titles, companies, emails, phones, websites, addresses, socials.
- **Batch scan** — Capture up to 3 cards in a single session (anonymous) or unlimited when signed in.
- **VCF export** — VCF 3.0 with embedded card photo, scan timestamp, and optional geolocation.
- **Scan history** — Stored locally in the browser; signed-in users get cloud history.
- **Profile discovery** — Gravatar, LinkedIn, and Google search links surfaced for each contact.
- **PWA** — Installable, works offline for OCR.

## How it works

1. Open https://cardscan.site
2. Tap **Scan Business Card**.
3. Grant camera permission and frame the card inside the scanner guide.
4. The app extracts the contact, lets you review and edit fields, then downloads a VCF.

## Pages

- [Home](https://cardscan.site/) — Scan business cards and download contacts.
- [Reset password](https://cardscan.site/reset-password) — Set a new password.
- [Email preferences](https://cardscan.site/unsubscribe) — Manage notification emails.

## Tech

React 18, TypeScript, Tailwind CSS, Supabase Auth + Edge Functions, Tesseract.js OCR, Google Gemini Vision (fallback).

## Privacy

Card images are sent over encrypted HTTPS to the extraction edge function and are not persisted on the server. Scan history lives in the browser unless you sign in. Geolocation is requested only at scan time and is optional.

## Author

Built by [M Asif Rahman](https://masifrahman.com).

## Canonical URL

https://cardscan.site
