{"id":13961674,"url":"https://github.com/appintheair/MRZScanner","last_synced_at":"2025-07-21T06:31:33.622Z","repository":{"id":37732079,"uuid":"381377066","full_name":"appintheair/MRZScanner","owner":"appintheair","description":"Library for scanning documents via MRZ (Machine Readable Zones) using  Vision API","archived":false,"fork":false,"pushed_at":"2022-10-19T14:54:15.000Z","size":10814,"stargazers_count":61,"open_issues_count":3,"forks_count":11,"subscribers_count":12,"default_branch":"develop","last_synced_at":"2024-11-28T07:34:36.451Z","etag":null,"topics":["document-scanner","mrz","mrz-scanner","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appintheair.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-29T13:36:13.000Z","updated_at":"2024-11-24T19:48:02.000Z","dependencies_parsed_at":"2023-01-19T13:16:33.066Z","dependency_job_id":null,"html_url":"https://github.com/appintheair/MRZScanner","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/appintheair/MRZScanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appintheair%2FMRZScanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appintheair%2FMRZScanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appintheair%2FMRZScanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appintheair%2FMRZScanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appintheair","download_url":"https://codeload.github.com/appintheair/MRZScanner/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appintheair%2FMRZScanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253526,"owners_count":23900051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["document-scanner","mrz","mrz-scanner","swift"],"created_at":"2024-08-08T17:01:20.947Z","updated_at":"2025-07-21T06:31:33.029Z","avatar_url":"https://github.com/appintheair.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"[![Build and test](https://github.com/appintheair/MRZScanner/actions/workflows/Build%20and%20test.yml/badge.svg?branch=develop)](https://github.com/appintheair/MRZScanner/actions/workflows/Build%20and%20test.yml)\n[![SPM](https://img.shields.io/badge/SPM-compatible-brightgreen.svg)](https://github.com/appintheair/MRZParser/blob/develop/Package.swift)\n[![codecov](https://codecov.io/gh/appintheair/MRZScanner/branch/develop/graph/badge.svg?token=BAvvoujCum)](https://codecov.io/gh/appintheair/MRZScanner)\n\n# MRZScanner\nLibrary for scanning documents via [MRZ](https://en.wikipedia.org/wiki/Machine-readable_passport) using [ Vision API](https://developer.apple.com/documentation/vision/vnrecognizetextrequest).\n\n## Example\nThe example project is located inside the [Example](https://github.com/appintheair/MRZScanner/tree/develop/Example) folder. \n\n![gif](https://github.com/appintheair/MRZScanner/blob/develop/docs/img/example.gif)\n\n*To run it, you need a device with the [minimum required OS version](https://github.com/appintheair/MRZScanner#requirements).*\n\n## Requirements\n* iOS 13.0+\n* macOS 10.15+\n* Mac Catalyst 13.0+\n* tvOS 13.0+\n\n## Installation guide\n### Swift Package Manager\n```swift\ndependencies: [\n    .package(url: \"https://github.com/appintheair/MRZScanner.git\", .upToNextMajor(from: \"0.0.1\"))\n]\n```\n*The library has an SPM [dependency](https://github.com/appintheair/MRZParser) for MRZ code parsing.*\n\n## Usage\nCurrently there are 2 scanners available, `LiveMRZScanner` and `ImageMRZScanner`.\nThe first is used to scan the MRZ code on a single image, and the second in real-time scanning.\n\nTo scan, you need to call the `scanFrame` / `scan` method of the scanner.\n\n## License\nThe library is distributed under the MIT [LICENSE](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappintheair%2FMRZScanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappintheair%2FMRZScanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappintheair%2FMRZScanner/lists"}