Parses MRZ (Machine Readable Zone) from identity documents.
- TD1
- TD2
- TD3
- MRV-A
- MRV-B
- French ID
QKMRZParser is available through CocoaPods and the Swift Package Manager. To install it via CocoaPods simply add the following line to your Podfile:
pod 'QKMRZParser'
import QKMRZParser
let mrzLines = [
"P<UTOERIKSSON<<ANNA<MARIA<<<<<<<<<<<<<<<<<<<",
"L898902C36UTO7408122F1204159ZE184226B<<<<<10"
]
let mrzParser = QKMRZParser(ocrCorrection: true)
let result = mrzParser.parse(mrzLines: mrzLines)
print(result)
- Tests
- Documentation
- Support Swiss Driving License
- Support French national ID
- Improve OCR correction
- Latin transliteration
- Arabic transliteration
- Cyrillic transliteration
This project is licensed under the MIT License - see the LICENSE file for details