Skip to content

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

Features Descriptions

Feature Description
Visual zone OCR Optical character recognition of the document visual zone text fields based on document templates included in the database.
Document type identification Automatic recognition of the document type: no need to manually select a country, document type, and series for processing.
MRZ OCR Reading and parsing the machine readable zone lines into separate fields.
Barcode recognition Reading the 1D and 2D (PDF417, QR, Aztec, Datamatrix) barcodes and automatic parsing into text fields using included document template specifications if the template database is available and the document type is identified.
Document location Detecting the document boundaries and cropping out the document from the supplied picture.
Graphics cropping Cropping graphic fields, such as a photo portrait and signature, based on templates included in the database.
Checking security features For each document type, certain secutiry checks can be performed. For example, UV dull paper check, image patterns (VIS), IR transparency, etc. You can find the security checks by document types in the Documents list.