Scan MRZ from documents (Passports, Visas and ID Cards)
PresentID MRZ Detection API localizes and recognizes Machine Readable Zone / Travel Documents (MRZ / MRTD) from a single input image.
Features
- You don’t need to adjust the camera/image to define a Region Of Interest (ROI)
-Y High accuracy in states that MRZ lines are small, far away, blurred, partially occluded, skewed or slanted - Support all MRZ types (Travel Documents 1/2/3, MRVA, MRVB…) - regardless of the font, content, shape, or country
- Run at less than 1 second on Core i7-6700 device
- Support IOS, Android, Windows, and Mac devices.
- Easy integration with your app.
Rules & Restrictions
- Send data via Base64 or an image URL or an image file.
- Image size should not exceed 8 MB.
- Also, the images should not be larger than 5000 pixels and smaller than 50 pixels.
Use Cases
- Digital banking app
- Online Payment apps
- NeoBanking apps
Python quick start
import requests
url = “https://mrz-scanner.p.rapidapi.com/ScanMRZ”
payload = "imageBase64=%3CREQUIRED%3E"
headers = {
‘content-type’: “application/x-www-form-urlencoded”,
‘x-rapidapi-host’: “mrz-scanner.p.rapidapi.com”,
‘x-rapidapi-key’: “f485496ab8msh2ea068a0bbe333cp179f86jsn2b4afe8962dd”
}
response = requests.request(“POST”, url, data=payload, headers=headers)
print(response.text)