OCRRouterDapatkan kunci API

ID card OCR API

Read national ID cards and driver licences from a phone photo and return the printed fields.

Hasil

Markdown atau JSON anda akan dipaparkan di sini.

What makes ID cards hard to read

  • Small print over security patterns
  • Front and back in one image
  • Layouts differ by country and state

What you can pull out

id-card fields
{
  "document_type": "driver_licence",
  "id_number": "12345678",
  "full_name": "Jane Citizen",
  "date_of_birth": "1990-04-12",
  "address": "14 Harbour St, Sydney NSW 2000",
  "expiry_date": "2029-04-12"
}

Best models for ID cards

Call it from your code

curl https://api.ocrrouter.ai/v1/ocr \
  -H "Authorization: Bearer $OCRROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "azure/document-intelligence",
    "file_url": "https://example.com/invoice.pdf",
    "format": "json"
  }'

Questions

Other documents