Complete List of Scenarios
On this page, find the descriptions of all the available scenarios for Document Reader SDK.
A scenario is the main setting for Document Reader SDK. It controls all scanning processes of the Core framework and defines the way Core works. The set of available scenarios is different for each Core type. You can find out which scenarios are supported by certain Core types on the Core Type page.
All the scenarios are available as constants, see the API Reference for details.
Scenarios
SCENARIO_FULL_AUTH
This scenario detects an identity document, identifies its document type, recognizes MRZ & Visual zone & barcodes, performs checking of security features, if any, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_FULL_PROCESS
This scenario detects an identity document, identifies its document type, recognizes MRZ & Visual zone & barcodes, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_OCR
This scenario detects an identity document, identifies its document type, recognizes MRZ & Visual zone, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_DOCTYPE
This scenario detects an identity document, identifies its document type, recognizes MRZ, if any, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_MRZ_AND_LOCATE
This scenario detects an identity document, crops it, recognizes MRZ, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_BARCODE_AND_LOCATE
This scenario detects document boundaries and obtains the barcode data.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_MRZ
This scenario detects MRZ, recognizes it, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_BARCODE
This scenario detects barcode, recognizes it, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_CREDIT_CARD
This scenario detects credit card, recognizes Visual zone, and parses data in text fields.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_LOCATE
This scenario detects indentity document boundaries, and crops it.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_MRZ_OR_BARCODE
This scenario detects MRZ or barcode, recognizes it, and parses data in text fields. Either MRZ, or barcode is needed to finish scenario processing.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_MRZ_OR_LOCATE
This scenario detects MRZ and recognizes it, or detects document location and crops it. Either MRZ recognition, or cropping identity document is needed to finish scenario processing.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_MRZ_OR_OCR
This scenario detects MRZ and recognizes it, or detects Visual zone and recognizes it. Either MRZ recognition, or Visual zone OCR is needed to finish scenario processing. If the document contains both MRZ and Visual zone, in most cases, MRZ is read and the scenario finishes its working.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_MRZ_OR_BARCODE_OR_OCR
This scenario detects MRZ and recognizes it, or detects Visual zone and recognizes it, or detects barcode and recognizes it. Either MRZ recognition, or Visual zone OCR, or barcode recognition is needed to finish scenario processing. If the document contains both MRZ and Visual zone, in most cases, MRZ is read and the scenario finishes its working. If the document contains both MRZ and barcode, both of them has the same priority - what is first detected, that will be recognized.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR
This scenario detects MRZ and recognizes it, or detects Visual zone and recognizes it. Either MRZ recognition, or Visual zone OCR is needed to finish scenario processing. If the document contains both MRZ and Visual zone, in most cases, MRZ is read, document and other graphic data are cropped, and the scenario finishes its working.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_OCR_FREE
This scenario detects any lines of text, and recognizes them.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
SCENARIO_CAPTURE
This scenario returns the original image that is sent to the processing.
- Visual zone OCR
- Document type identification
- MRZ OCR
- Barcode recognition
- Document location
- Graphics cropping
- Checking security features
- Hologram detection
- Multipage processing
Features Descriptions
You can find all the features described here.