MRZ dates are YYMMDD with no century. The rule for birth and expiry dates, the 29 February trap, and Python and JavaScript code with test vectors.
Passport and ID card OCR API. Free – 100 documents every month, then 1¢ each
doc.cheap reads passports, ID cards and driver's licences from a photo and returns JSON in one HTTP call. Free – 100 documents every month, then 1¢ per recognised document; failed scans are free. Try it with the public sandbox key sk_sandbox_public, no signup. There is also an MCP server for agents: https://doc.cheap/mcp
Markdown supported · ⌘↵ to post
No responses yet.