UNPKG

@microblink/blinkid-in-browser-sdk

Version:

A simple ID scanning library for WebAssembly-enabled browsers.

42 lines (41 loc) 1.61 kB
/** * Copyright (c) Microblink Ltd. All rights reserved. */ /** Detailed information about the recognition process. */ export declare enum ProcessingStatus { /** Recognition was successful. */ Success = 0, /** Detection of the document failed. */ DetectionFailed = 1, /** Preprocessing of the input image has failed. */ ImagePreprocessingFailed = 2, /** Recognizer has inconsistent results. */ StabilityTestFailed = 3, /** Wrong side of the document has been scanned. */ ScanningWrongSide = 4, /** Identification of the fields present on the document has failed. */ FieldIdentificationFailed = 5, /** Mandatory field for the specific document is missing. */ MandatoryFieldMissing = 6, /** Result contains invalid characters in some of the fields. */ InvalidCharactersFound = 7, /** Failed to return a requested image. */ ImageReturnFailed = 8, /** Reading or parsing of the barcode has failed. */ BarcodeRecognitionFailed = 9, /** Parsing of the MRZ has failed. */ MrzParsingFailed = 10, /** Document class has been filtered out. */ ClassFiltered = 11, /** Document currently not supported by the recognizer. */ UnsupportedClass = 12, /** License for the detected document is missing. */ UnsupportedByLicense = 13, /** * Front side recognition has completed successfully, and recognizer is waiting for the other * side to be scanned. */ AwaitingOtherSide = 14, /** Number of possible processing statuses. */ Count = 15 }