# sivakumar-mahalingam/fastmrz

> Extracting the Machine Readable Zone (MRZ) from passport or any document images

Navigation: [Artificial Intelligence](category/artificial-intelligence.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/sivakumar-mahalingam/fastmrz
- HTML: https://awesomeopensource.dev/project/sivakumar-mahalingam-fastmrz
- Website: https://pypi.org/project/fastmrz
- License: AGPL-3.0
- Language: Python
- stars: 173
- Topics: identity-document, mrz, mrz-scanner, ocr, opencv, opencv-python, passport, passport-mrz, python, tesseract, tesseract-ocr, text-recognition
- Activity score: 1.7/5 (Slowing down)
- Last commit (any branch): 2025-11-28
- Last release: v2.1.2 2025-11-28

## Description

A Python package that extracts the machine-readable zone from passport and identity document images. It accepts an image path, NumPy array, base64 string, or raw MRZ text, locates the zone with contour detection, recognizes characters through Tesseract OCR and custom ONNX models, and validates the result with checksum logic. Output is parsed JSON or plain MRZ text; the package targets TD-1, TD-2, TD-3, MRV-A and MRV-B documents under AGPL-3.0.

## Maintenance activity

- Recency: 7% (weight 40%) — last commit: 348 days ago
- Commit volume: 12% (weight 25%)
- Releases: 31% (weight 25%) — last release: 348 days ago
- Bug fixes: 38% (weight 10%)
- Commits: 0 / 90d, 3 / 365d

## Similar projects

- [openclaw/openclaw](openclaw-openclaw.md): Open-source AI assistant that lives on your own hardware and in your chat apps · Activity score 5.0/5 (Thriving)
- [n8n-io/n8n](n8n-io-n8n.md): Fair-code workflow automation with a visual canvas, custom code and 1500+ integrations · Activity score 5.0/5 (Thriving)
- [langgenius/dify](langgenius-dify.md): Visual platform for building LLM apps with RAG pipelines, agents and model integrations · Activity score 5.0/5 (Thriving)
- [open-webui/open-webui](open-webui-open-webui.md): Self-hosted web UI for chatting with Ollama and OpenAI-compatible models offline · Activity score 5.0/5 (Thriving)
- [langchain-ai/langchain](langchain-ai-langchain.md): Python framework for building agents and LLM applications from composable components · Activity score 5.0/5 (Thriving)
- [paperclipai/paperclip](paperclipai-paperclip.md): Manage a team of AI agents with goals, budgets and task tracking · Activity score 5.0/5 (Thriving)
