Deprecation warning
Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.
We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.
You'll find the updated documentation at: Data Capture SDK Documentation for Android
The Scandit C API offers a low-level interface to the data capture SDK. The low-level API is the default interface on Linux but it is also available for Android, iOS and Windows on request. This interface is very limited compared to the Picker API provided in the SDKs for all platforms. It allows you to pass image data directly to the data capture modules such as barcode scanning. The API does not include a user interface, image / stream management or advanced camera control. On Linux a basic camera interface for Video4Linux 2 (V4L2) cameras is provided.
Target Audience
If you are creating a mobile application for Android, iOS or Windows where the Scandit SDK is the only camera user then you should not use the low-level API and use the Picker API instead. Possible scenarios requiring the low-level API are:
- You are building an embedded system with custom camera handling.
- You are building a batch or single image processing system on an embedded system or server.
- You are building a mobile application where multiple consumers (other vision frameworks) access the camera stream and therefore the camera control can not be done by the Scandit Picker API.
Overview
- How To Get The Best Low Level API Performance
- Scandit SDK Concepts
- Change the symbologies' default properties
- Barcode Scanner Settings JSON format
- Barcode Generator Settings JSON format
Sample Programs
- CommandLineBarcodeScannerImageProcessingSample.c shows how to decode a barcode in an image read from disk.
- CommandLineBarcodeScannerCameraSample.c shows how to process frames from a V4L2 camera stream.
- CommandLineMatrixScanCameraSample.c shows how to setup MatrixScan.