Knowledge base · Guides

SDK Integration: From Triggering a Read to Mapping Result Fields

SDK integration has four steps: initialization and device enumeration, triggering a read, receiving the result, and mapping fields. Getting these right simplifies later troubleshooting.

Integration5 min read

Initialization and device enumeration

At program start, load the SDK, initialise the runtime and enumerate devices. When several devices are connected at the same time, bind each to a specific workstation by serial number or port to avoid mixing up reading results.

Triggering a read

A unit usually supports automatic document detection, so the software only needs to listen for events; a module and some scenarios instead start a read from the business logic. The timeout and retry strategies differ between the two and should be designed separately.

Receiving results and field mapping

The result is a structured set of fields, usually including document type, number, name, nationality, expiry date, photo and original image. During integration, compare each field with the physical document, paying particular attention to name separation, date format and polyphonic characters.

Version management and upgrades

SDK and firmware upgrades may change field names or error codes, so it is advisable to fix the version within a project and verify with regression samples before upgrading. Recording the version number in the device information allows environment differences to be located quickly during remote support.

Related models

Document reading devices referenced in this article; open a model for its full specifications, interfaces and deployment notes.

Keep reading