Getting results

This page covers the description of how to get various kinds of results

Text Results

If you know exactly what text data are needed, the fastest way to get information is to use special functions.

Getting values

Getting values of text fields indicating fieldType:

// Get full name
String surnameAndGivenNames = results.getTextFieldValueByType(eVisualFieldType.FT_SURNAME_AND_GIVEN_NAMES);
// Get date of birth
String dateOfBirth = results.getTextFieldValueByType(eVisualFieldType.FT_DATE_OF_BIRTH);
// Get document number
String documentNumber = results.getTextFieldValueByType(eVisualFieldType.FT_DOCUMENT_NUMBER);

Getting values of text fields indicating fieldType, lcid:

// Get full name
String surnameAndGivenNames = results.getTextFieldValueByType(eVisualFieldType.FT_SURNAME_AND_GIVEN_NAMES, LCID.BELARUSIAN);
// Get place of birth
String placeOfBirth = results.getTextFieldValueByType(eVisualFieldType.FT_PLACE_OF_BIRTH, LCID.GERMAN_GERMANY);

Getting values of text fields indicating fieldType, lcid, source:

// Get full name
String surnameAndGivenNames = results.getTextFieldValueByType(eVisualFieldType.FT_SURNAME_AND_GIVEN_NAMES, LCID.BELARUSIAN, eRPRM_ResultType.RPRM_RESULT_TYPE_VISUAL_OCR_EXTENDED);
// Get address
String address = results.getTextFieldValueByType(eVisualFieldType.FT_ADDRESS, LCID.LATIN, eRPRM_ResultType.RPRM_RESULT_TYPE_BAR_CODES_TEXT_DATA);

Getting values of text fields indicating fieldType, lcid, source, original:

Getting values of text fields indicating fieldType, source:

Getting values of text fields indicating fieldType, source, original:

You can also go through all instances of text fields and obtain the desired information, e.g.:

Getting statuses

Getting statuses of text fields indicating fieldType (one of eCheckResult values):

Getting statuses of text fields indicating fieldType, lcid (one of eCheckResult values):

Getting instances

Getting instances of text fields indicating fieldType:

Getting instances of graphic fields indicating fieldType, lcid:

Graphic Results

Getting values

Getting values of graphic fields indicating fieldType:

Getting values of graphic fields indicating fieldType, source:

Getting values of graphic fields indicating fieldType, source, pageIndex:

Getting values of graphic fields indicating fieldType, source, pageIndex, light:

Getting statuses

Getting statuses of graphic fields indicating imageQualityCheckType (one of eCheckResult values):

Getting statuses of graphic fields indicating imageQualityCheckType, securityFeature (one of eCheckResult values):

Getting instances

Getting instances of graphic fields indicating fieldType, source:

Getting instances of text fields indicating fieldType, source, pageIndex:

Getting instances of text fields indicating fieldType, source, pageIndex, light:

Last updated

Was this helpful?