Skip to main content

Generic Document Recognizer

Generic Document Recognizer UI

ScanbotSDK.UI.startGenericDocumentRecognizer(configuration: GenericDocumentRecognizerConfiguration)

The Scanbot SDK provides the ability to detect various types of documents in an image, crop them and recognize data fields via the Generic Document Recognizer.

alt

Currently, the Generic Document Recognizer supports the following types of documents:

  • German ID Card
  • German Passport
  • German Driver's license
  • German Residence permit
  • German Health Insurance Card (front side)
  • European Health Insurance Card

The Generic Document Recognizer is based on the SCANBOT OCR engine and doesn't require the installation of the OCR language files

Generic Document Recognizer usage example

Generic Document Recognizer hook example
loading...

Parameters

Generic Document Scanner Configuration

Returns

Generic Document Scanner Result

Document Type:

The document type can be one of the following.

Recognize Generic Document on still image

A Generic Document can also be recognized on still images in the following manner:

Generic Document on still image
loading...

The result handing is the same as Generic Document Recognizer.

Available documents and fields

DeDriverLicenseBack

  • DeDriverLicenseBack.Restrictions
  • DeDriverLicenseBack.Category.ValidFrom
  • DeDriverLicenseBack.Category.ValidUntil
  • DeDriverLicenseBack.Category.A
  • DeDriverLicenseBack.Category.A1
  • DeDriverLicenseBack.Category.A2
  • DeDriverLicenseBack.Category.AM
  • DeDriverLicenseBack.Category.B
  • DeDriverLicenseBack.Category.B1
  • DeDriverLicenseBack.Category.BE
  • DeDriverLicenseBack.Category.C
  • DeDriverLicenseBack.Category.C1
  • DeDriverLicenseBack.Category.C1E
  • DeDriverLicenseBack.Category.CE
  • DeDriverLicenseBack.Category.D
  • DeDriverLicenseBack.Category.D1
  • DeDriverLicenseBack.Category.D1E
  • DeDriverLicenseBack.Category.DE
  • DeDriverLicenseBack.Category.L
  • DeDriverLicenseBack.Category.T

DeDriverLicenseFront

  • DeDriverLicenseFront.BirthDate
  • DeDriverLicenseFront.Birthplace
  • DeDriverLicenseFront.ExpiryDate
  • DeDriverLicenseFront.GivenNames
  • DeDriverLicenseFront.ID
  • DeDriverLicenseFront.IssueDate
  • DeDriverLicenseFront.IssuingAuthority
  • DeDriverLicenseFront.LicenseCategories
  • DeDriverLicenseFront.Photo
  • DeDriverLicenseFront.Signature
  • DeDriverLicenseFront.Surname

DeIdCardBack

  • DeIdCardBack.Address
  • DeIdCardBack.EyeColor
  • DeIdCardBack.Height
  • DeIdCardBack.IssueDate
  • DeIdCardBack.IssuingAuthority
  • DeIdCardBack.Pseudonym
  • DeIdCardBack.RawMRZ
  • DeIdCardBack.MRZ.${MRZ_FIELD_NAME} - (check MRZ field names below)

DeIdCardFront

  • DeIdCardFront.BirthDate
  • DeIdCardFront.Birthplace
  • DeIdCardFront.CardAccessNumber
  • DeIdCardFront.ExpiryDate
  • DeIdCardFront.GivenNames
  • DeIdCardFront.ID
  • DeIdCardFront.MaidenName
  • DeIdCardFront.Nationality
  • DeIdCardFront.Photo
  • DeIdCardFront.Signature
  • DeIdCardFront.Surname

DePassport

  • DePassport.BirthDate
  • DePassport.Birthplace
  • DePassport.CountryCode
  • DePassport.ExpiryDate
  • DePassport.Gender
  • DePassport.GivenNames
  • DePassport.ID
  • DePassport.IssueDate
  • DePassport.IssuingAuthority
  • DePassport.MaidenName
  • DePassport.Nationality
  • DePassport.PassportType
  • DePassport.Photo
  • DePassport.RawMRZ
  • DePassport.Signature
  • DePassport.Surname
  • DePassport.MRZ.${MRZ_FIELD_NAME} - (check MRZ field names below)

DeResidencePermitFront

  • DeResidencePermitFront.BirthDate
  • DeResidencePermitFront.CardAccessNumber
  • DeResidencePermitFront.ExpiryDate
  • DeResidencePermitFront.Gender
  • DeResidencePermitFront.GivenNames
  • DeResidencePermitFront.ID
  • DeResidencePermitFront.Nationality
  • DeResidencePermitFront.Photo
  • DeResidencePermitFront.PlaceOfIssue
  • DeResidencePermitFront.Remarks
  • DeResidencePermitFront.Signature
  • DeResidencePermitFront.Surname
  • DeResidencePermitFront.TitleType
  • DeResidencePermitFront.ValidFrom

DeResidencePermitBack

  • DeResidencePermitBack.Address
  • DeResidencePermitBack.BirthDate
  • DeResidencePermitBack.Birthplace
  • DeResidencePermitBack.EyeColor
  • DeResidencePermitBack.Gender
  • DeResidencePermitBack.Height
  • DeResidencePermitBack.IssuingAuthority
  • DeResidencePermitBack.Nationality
  • DeResidencePermitBack.RawMRZ
  • DeResidencePermitBack.Remarks
  • DeResidencePermitBack.MRZ.${MRZ_FIELD_NAME} - (check MRZ field names below)

DeHealthInsuranceCardFront

  • DeHealthInsuranceCardFront.CardAccessNumber
  • DeHealthInsuranceCardFront.IssuerName
  • DeHealthInsuranceCardFront.IssuerNumber
  • DeHealthInsuranceCardFront.Name
  • DeHealthInsuranceCardFront.PersonalNumber

EuropeanHealthInsuranceCard

  • EuropeanHealthInsuranceCard.Barcode
  • EuropeanHealthInsuranceCard.BirthDate
  • EuropeanHealthInsuranceCard.CardNumber
  • EuropeanHealthInsuranceCard.CountryCode
  • EuropeanHealthInsuranceCard.ExpiryDate
  • EuropeanHealthInsuranceCard.GivenNames
  • EuropeanHealthInsuranceCard.IssuerName
  • EuropeanHealthInsuranceCard.IssuerNumber
  • EuropeanHealthInsuranceCard.PersonalNumber
  • EuropeanHealthInsuranceCard.Signature
  • EuropeanHealthInsuranceCard.Surname

MRZ Field Names

  • ${DOCUMENT_NAME}.MRZ.BirthDate
  • ${DOCUMENT_NAME}.MRZ.CheckDigitBirthDate
  • ${DOCUMENT_NAME}.MRZ.CheckDigitDocumentNumber
  • ${DOCUMENT_NAME}.MRZ.CheckDigitExpiryDate
  • ${DOCUMENT_NAME}.MRZ.CheckDigitGeneral
  • ${DOCUMENT_NAME}.MRZ.CheckDigitPersonalNumber
  • ${DOCUMENT_NAME}.MRZ.DateOfIssuance
  • ${DOCUMENT_NAME}.MRZ.DocumentNumber
  • ${DOCUMENT_NAME}.MRZ.DocumentTypeCode
  • ${DOCUMENT_NAME}.MRZ.ExpiryDate
  • ${DOCUMENT_NAME}.MRZ.Gender
  • ${DOCUMENT_NAME}.MRZ.GivenNames
  • ${DOCUMENT_NAME}.MRZ.IssuingAuthority
  • ${DOCUMENT_NAME}.MRZ.LanguageCode
  • ${DOCUMENT_NAME}.MRZ.Nationality
  • ${DOCUMENT_NAME}.MRZ.OfficeOfIssuance
  • ${DOCUMENT_NAME}.MRZ.Optional1
  • ${DOCUMENT_NAME}.MRZ.Optional2
  • ${DOCUMENT_NAME}.MRZ.PINCode
  • ${DOCUMENT_NAME}.MRZ.PersonalNumber
  • ${DOCUMENT_NAME}.MRZ.Surname
  • ${DOCUMENT_NAME}.MRZ.TravelDocType
  • ${DOCUMENT_NAME}.MRZ.TravelDocTypeVariant
  • ${DOCUMENT_NAME}.MRZ.VersionNumber
  • ${DOCUMENT_NAME}.MRZ.VisaOptional

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get your free Trial License

What do you think of this documentation?