Post on 27-Mar-2021
ANYLINE® SDK PRODUCT SPECIFICATIONS - MRZ
SKIP THE LINES AND SCAN PASSPORTS WITH YOUR PHONE
Use the Anyline MRZ (Machine Readable Zone) feature to simply scan and identify passports, visas and identity cards. The SDK can easily be integrated in your application, speeding up the reading process by its real-time scanning ability. Whether it’s a sign-up process, the verification of a document or ID, a security check or if you want to bring your current passport scanning solution to a mobile device: this Anyline SDK configuration is the perfect choice, as it is already preconfigured.
HIGHLIGHTED FEATURES
Offline scanning functionality and higher security (all data handled locally)
No extra hardware required, except one smartphone
Automatic recognition of different MRZ standards
Continuous scanning for speed and efficiency
Automatic flash to enable scanning in low-light environments
HOW DOES IT WORK?
Anyline is an SDK that provides everything for your developers to be able to integrate an OCR feature into your application, or to build a standalone application. The user then simply holds up their phone with Anyline open to a passport or ID with an MRZ, positions it in the cutout on the screen and Anyline automatically scans and returns the results.
In order to see the exact scanning process in action, go to the Play/Appstore and download the Anyline OCR Scanner. With it you can test out all of our implementations.
0
SUPPORT FOR ALL STANDARD MRZ TYPE IDs (based on ICAO specifications)
TD3 Size MRTDs * 2 line MRZ, common passports, follow ICAO standard
TD2 Size MROTDs 2 line MRZ, IDs, several countries did / do not follow ICAO standard
TD1 Size MROTDs 3 line MRZ, IDs
French ID Cards 2 line MRZ, do not follow ICAO standard *clickable
TD3 SAMPLE IMAGE TD2 SAMPLE IMAGE
TD1 SAMPLE IMAGE (front and back)
DEVICES
Recom. Camera Resolution
1080p video camera
Recom. Min CPU 1 GHz
Device OS Android, iOS
App Framework Cordova, Xamarin
1
SCAN DISTANCE* (cm)
1080p autofocus camera 720p autofocus camera
TD3 Min 23 cm Max 33 cm Min 22 cm Max 26 cm
TD2 Min 14 cm Max 25 cm Min 14 cm Max 24 cm
TD1 Min 15 cm Max 28 cm Min 16 cm Max 22 cm
*portrait mode
SCANNING ENVIRONMENT
Scan Angle Up to 32° tilt angle and 30° pan angle
Scan Speed* 1 second
Luminosity Between 100 and 2000 lux
Camera Orientation portrait, landscape
*dependent on device, resolution
2
EASY GUIDING SYSTEM WHILE YOU SCAN - THE CUTOUT
The rectangular cutout within the scan view is a guide to help the user enjoy an efficient scanning experience. It allows the user to quickly position the MRZ in the cutout so that the scanning process can start. In the case of the MRZ module, the cutout is fixed. However, within the Anyline SDK there are several configurable parameters available for different modules.
The shape of the cutout can be defined through a width and height ratio. The size can also be altered in two ways, either defining a fixed size on the screen in pixels or a relative size to the phone screen in percentage. The position on the screen can also be configured, for example in the top half or in the middle of the screen. Lastly, many visual alterations of the cutout are possible within the Anyline SDK.
Below you can find a selection of the possible configurable parameters which show you the versatility of the Anyline SDK. For all the configurable parameters please go to our documentation: https://documentation.anyline.io/#configurable-parameters.
Parameter Name Description
cutout.style The type of cutout can be rectangular or an image.
cutout.alignment Positioning of the cutout.
cutout.width The width of the cutout in pixels. If the width percentage is smaller than the pixel value, the percentage will force the cutout to resize.
Flash: mode alignment imageOn imageOff imageAuto
Settings regarding the flash, in case of a dark environment. The flash can be set to none, manual or automatic and the images representing the various states can also be selected
beepOnResult Sound signal when scan is successful.
vibrateOnResult Haptic feedback when scan is successful.
blinkAnimationOnResult
Visual feedback in the form of a white short flash before showing the scan result.
cancelOnResult Select whether continuous scanning should be possible, or set to ‘true’ to cancel the scan process after one scan.
3
MAKE ANYLINE YOUR OWN WITH VISUAL FEEDBACK
The visual feedback refers to how your users see the Anyline SDK integrated into your app. All the below parameters are customizable within the Anyline Custom OCR module and allow you to personalize the user experience so it fits to your app and your users. The parameters are described below and the default setting is marked with bold . Style - The style of the visual user feedback. The four available modes are:
RECT
CONTOUR_RECT
CONTOUR_POINT
CONTOUR_UNDERLINE
strokeColor - The color used to draw the visual feedback. strokeWidth - The width of the stroke used to draw the visual feedback.
#AA0099FF 2dp
fillColor - The fill color for the RECT and CONTOUR_RECT style modes. This setting is ignored for all other modes. Default is transparent .
cornerRadius - Defines corner radius in RECT style mode. Animation - Specifies an animation for styles CONTOUR_POINT or CONTOUR_UNDERLINE. This setting is ignored for all other styles. Default is no animation. There are 7 available animation modes:
TRAVERSE_SINGLE
4
TRAVERSE_MULTI
KITT
RESIZE
BLINK
PULSE
PULSE_RANDOM
animationDuration - Duration of the animation. Default value is 75 ms.
5