Generic Document Scanner | Flutter Document Scanner
Introduction
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.
Currently, the Generic Document Recognizer supports the following types of documents:
- German ID Card
- German Passport
- German Driver's License
- German Residence Permit
The Generic Document Recognizer is based on the OCR feature and thus requires the proper installation of the corresponding
OCR language files (e.g. for English please add the file eng.traineddata
). For more details on how to set up the OCR language files
please refer to the OCR section.
Example Integration
The Generic Document Scanner is available as a ready-to-use UI (RTU-UI) component. To see it in action, explore our example apps:
- Ready-To-Use UI: ready-to-use-ui
Generic Document Scanner RTU-UI Component
Use the ScanbotSdkUi.startGenericDocumentRecognizer(config)
method to launch the Generic Document scanner UI.
loading...
As a result of scanning, the user gets the GenericDocumentResults
object, if the result of the scanning was successful.
GenericDocument
is a hierarchically structured type that contains the document's GenericDocumentNormalizedType
, eventually a list of child
documents, total recognition confidence, and a list of the document's fields. Each field is represented by the
Field
class, holding the field's type, a cropped image of the field, the recognized text and the field's recognition confidence.
GenericDocumentResults
GenericDocument
GenericDocumentRecognizerConfiguration
Want to scan longer than one minute?
Generate a free trial license to test the Scanbot SDK thoroughly.
Get your free Trial LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.