Skip to content

ScenarioIdentifier

The constants of ScenarioIdentifier enumeration contains the scenarios' identifiers.

const ScenarioIdentifier = {
    SCENARIO_MRZ: "Mrz",
    SCENARIO_BARCODE: "Barcode",
    SCENARIO_LOCATE: "Locate",
    SCENARIO_OCR: "Ocr",
    SCENARIO_DOCTYPE: "DocType",
    SCENARIO_MRZ_OR_BARCODE: "MrzOrBarcode",
    SCENARIO_MRZ_OR_LOCATE: "MrzOrLocate",
    SCENARIO_MRZ_AND_LOCATE: "MrzAndLocate",
    SCENARIO_MRZ_OR_OCR: "MrzOrOcr",
    SCENARIO_MRZ_OR_BARCODE_OR_OCR: "MrzOrBarcodeOrOcr",
    SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR: "LocateVisual_And_MrzOrOcr",
    SCENARIO_FULL_PROCESS: "FullProcess",
    SCENARIO_FULL_AUTH: "FullAuth",
    SCENARIO_ID3RUS: "Id3Rus",
    SCENARIO_RUS_STAMP: "RusStamp",
    SCENARIO_OCR_FREE: "OcrFree",
    SCENARIO_CREDIT_CARD: "CreditCard",
    SCENARIO_CAPTURE: "Capture",
}
Constant Description
SCENARIO_MRZ Processing scenario for obtaining MRZ data
SCENARIO_BARCODE Processing scenario for obtaining Barcode data
SCENARIO_LOCATE Processing scenario for detecting document boundaries
SCENARIO_OCR Processing scenario for obtaining Visual Zone OCR data
SCENARIO_DOCTYPE Processing scenario for document type recognition
SCENARIO_MRZ_OR_BARCODE Processing scenario for obtaining MRZ and/or Barcode data
SCENARIO_MRZ_OR_LOCATE Processing scenario for detecting document boundaries and/or obtaining MRZ data
SCENARIO_MRZ_AND_LOCATE Processing scenario for detecting document boundaries and obtaining MRZ data
SCENARIO_MRZ_OR_OCR Processing scenario for obtaining MRZ or Visual Zone OCR data
SCENARIO_MRZ_OR_BARCODE_OR_OCR Processing scenario for obtaining MRZ or Barcode or Visual Zone OCR data
SCENARIO_LOCATE_VISUAL_AND_MRZ_OR_OCR Processing scenario for detecting document boundaries and obtaining MRZ or Visual Zone OCR data
SCENARIO_FULL_PROCESS Processing scenario for obtaining all document data
SCENARIO_FULL_AUTH Processing scenario for obtaining all document data and document authentication
SCENARIO_ID3RUS Processing scenario for obtaining Visual Zone OCR data from Russian National Passport and MRZ data from any document
SCENARIO_RUS_STAMP Processing scenario for obtaining Visual Zone OCR data from Russian document's stamp
SCENARIO_OCR_FREE Processing scenario for obtaining OCR data
SCENARIO_CREDIT_CARD Processing scenario for obtaining data from credit cards
SCENARIO_CAPTURE Scenario for obtaining an original image without any processing