home / skills / dkyazzentwatwa / chatgpt-skills / business-card-scanner
This skill extracts contact details from business cards using OCR, delivering name, company, email, phone, and address with structured exports.
npx playbooks add skill dkyazzentwatwa/chatgpt-skills --skill business-card-scannerReview the files below or copy the command above to add this skill to your agents.
---
name: business-card-scanner
description: Extract contact information from business card images using OCR - name, company, email, phone, address.
---
# Business Card Scanner
Extract contact information from business card images using OCR.
## Features
- **OCR Extraction**: Extract text from card images
- **Contact Parsing**: Name, company, email, phone, address
- **Pattern Recognition**: Smart regex for contact fields
- **Multi-Format**: JPG, PNG support
- **Batch Processing**: Multiple cards
- **Export**: vCard, JSON, CSV output
## CLI Usage
```bash
python business_card_scanner.py --input card.jpg --output contact.json
```
## Dependencies
- pytesseract>=0.3.10
- pillow>=10.0.0
- opencv-python>=4.8.0
- pandas>=2.0.0
This skill extracts contact information from business card images using OCR and targeted parsing rules. It recognizes names, company names, emails, phone numbers, and postal addresses, then exports structured contacts in vCard, JSON, or CSV formats. It supports JPG and PNG inputs and can batch-process multiple cards. The implementation is Python-based and optimized for practical, reliable extraction.
The skill runs OCR on input images to capture all visible text. It then applies pattern recognition and regex rules to identify and classify fields such as name, company, email, phone, and address. Multiple cards can be processed in a single run and results are normalized and exported to common contact formats. Optional pre-processing (deskewing, contrast) improves accuracy for low-quality images.
What image formats are supported?
JPG and PNG are supported; results improve with higher resolution images.
How accurate is the extraction?
Accuracy depends on image quality and card design; clear text and simple layouts yield the best results. Pre-processing can boost performance.
What export formats are available?
Exports include vCard, JSON, and CSV for easy import into CRMs and address books.