Skip to content

eRPRM_ResultType

eRPRM_ResultType enumeration contains a pool of constants which determine the type of resulting data formed during the data scanning and processing cycle and passed to the user application.

const eRPRM_ResultType = {
    NONE: -1,
    RPRM_RESULT_TYPE_EMPTY: 0,
    RPRM_RESULT_TYPE_RAW_IMAGE: 1,
    RPRM_RESULT_TYPE_FILE_IMAGE: 2,
    RPRM_RESULT_TYPE_MRZ_OCR_EXTENDED: 3,
    RPRM_RESULT_TYPE_BARCODES: 5,
    RPRM_RESULT_TYPE_GRAPHICS: 6,
    RPRM_RESULT_TYPE_MRZ_TEST_QUALITY: 7,
    RPRM_RESULT_TYPE_DOCUMENT_TYPES_CANDIDATES: 8,
    RPRM_RESULT_TYPE_CHOSEN_DOCUMENT_TYPE_CANDIDATE: 9,
    RPRM_RESULT_TYPE_DOCUMENTS_INFO_LIST: 10,
    RPRM_RESULT_TYPE_OCR_LEXICAL_ANALYZE: 15,
    RPRM_RESULT_TYPE_RAW_UNCROPPED_IMAGE: 16,
    RPRM_RESULT_TYPE_VISUAL_OCR_EXTENDED: 17,
    RPRM_RESULT_TYPE_BAR_CODES_TEXT_DATA: 18,
    RPRM_RESULT_TYPE_BAR_CODES_IMAGE_DATA: 19,
    RPRM_RESULT_TYPE_AUTHENTICITY: 20,
    RPRM_RESULT_TYPE_EOS_IMAGE: 23,
    RPRM_RESULT_TYPE_BAYER_IMAGE: 24,
    RPRM_RESULT_TYPE_MAGNETIC_STRIPE: 25,
    RPRM_RESULT_TYPE_MAGNETIC_STRIPE_TEXT_DATA: 26,
    RPRM_RESULT_TYPE_FIELD_FILE_IMAGE: 27,
    RPRM_RESULT_TYPE_DATABASE_CHECK: 28,
    RPRM_RESULT_TYPE_FINGERPRINT_TEMPLATE_ISO: 29,
    RPRM_RESULT_TYPE_INPUT_IMAGE_QUALITY: 30,
    RPRM_RESULT_TYPE_DOCUMENT_POSITION: 85,
    RPRM_RESULT_TYPE_CUSTOM: 100,
    RFID_RESULT_TYPE_RFID_RAW_DATA: 101,
    RFID_RESULT_TYPE_RFID_TEXT_DATA: 102,
    RFID_RESULT_TYPE_RFID_IMAGE_DATA: 103,
    RFID_RESULT_TYPE_RFID_BINARY_DATA: 104,
    RFID_RESULT_TYPE_RFID_ORIGINAL_GRAPHICS: 105,
    RPRM_RESULT_TYPE_BARCODE_POSITION: 62,
    RPRM_RESULT_TYPE_MRZ_POSITION: 61,
}
Constant Description
NONE not identified
RPRM_RESULT_TYPE_EMPTY no result
RPRM_RESULT_TYPE_RAW_IMAGE stores a graphic image
RPRM_RESULT_TYPE_FILE_IMAGE represented as binary array which contains image of the image graphic file
RPRM_RESULT_TYPE_MRZ_OCR_EXTENDED serves for storing text results of MRZ, document filling and bar-codes reading
RPRM_RESULT_TYPE_BARCODES serves for storing and passing to the user application of results of bar-codes areas search on the scanned document page and their reading in binary non-formatted code
RPRM_RESULT_TYPE_GRAPHICS serves for storing graphic results of document filling area and bar-codes reading
RPRM_RESULT_TYPE_MRZ_TEST_QUALITY serves for storing the information on document MRZ printing quality check results
RPRM_RESULT_TYPE_DOCUMENT_TYPES_CANDIDATES serves for storing information on candidate documents and passing it to the user application when performing the recognition of the document type
RPRM_RESULT_TYPE_CHOSEN_DOCUMENT_TYPE_CANDIDATE contains information on one candidate document when determining the document type
RPRM_RESULT_TYPE_DOCUMENTS_INFO_LIST not used. Serves for storing the full list of documents stored in the current document database and passing it to the user application
RPRM_RESULT_TYPE_OCR_LEXICAL_ANALYZE serves for storing the results of comparing the MRZ text data, document filling area data, bar-codes data and data retrieved from RFID-chip memory and passing it to the user application
RPRM_RESULT_TYPE_RAW_UNCROPPED_IMAGE result stores a graphic image without compression
RPRM_RESULT_TYPE_VISUAL_OCR_EXTENDED result serves for storing text results of MRZ, document filling and bar-codes reading
RPRM_RESULT_TYPE_BAR_CODES_TEXT_DATA result serves for storing text results of MRZ, document filling and bar-codes reading
RPRM_RESULT_TYPE_BAR_CODES_IMAGE_DATA serves for storing graphic results of document filling area and bar-codes reading
RPRM_RESULT_TYPE_AUTHENTICITY serves for storing the result of document authenticity check using the images for different lighting schemes and passing it to the user application
RPRM_RESULT_TYPE_EOS_IMAGE stores a graphic image in without compression and passing it to the user application
RPRM_RESULT_TYPE_BAYER_IMAGE stores a graphic image in without compression and passing it to the user application
RPRM_RESULT_TYPE_MAGNETIC_STRIPE represented as binary array which contains array if data erade from magnetic stripe
RPRM_RESULT_TYPE_MAGNETIC_STRIPE_TEXT_DATA serves for storing text results of MRZ, document filling and bar-codes reading
RPRM_RESULT_TYPE_FIELD_FILE_IMAGE represented as binary array which contains image of the graphic field image graphic file
RPRM_RESULT_TYPE_DATABASE_CHECK serves for storing the result of documents database check
RPRM_RESULT_TYPE_FINGERPRINT_TEMPLATE_ISO represented as binary array which contains ISO fingerprint template
RPRM_RESULT_TYPE_INPUT_IMAGE_QUALITY used for storing input image quality check results list
RPRM_RESULT_TYPE_DOCUMENT_POSITION used for storing document bounds detection result
RPRM_RESULT_TYPE_CUSTOM not used