Utilities | iOS Document Scanner
Besides the scanning modules, Scanbot SDK also contains some utility classes that can reduce your workload, hence making your life easier:
Zoom- and scrollable image view (SBSDKZoomingImageScrollView)
- You can use it as a direct
UIImageView
replacement. - You can zoom in to the image, scroll around, and when you zoom out, the image is centered within the view.
- You can add a transparent overlay that will act like a HUD above the image view.
- You can specify the margins that the image should maintain when zoomed out.
Zoom And Scrollable Image View Example
loading...
Camera Device (SBSDKCameraDevice)
- Provides the available camera devices to be used with any of the Classic or RTU-UI scanner components in the Scanbot SDK.
- You can enumerate available devices using their position (front or back) and/or their type (wide, tele, ultra-wide, dual, dualWide, triple or simulated).
Camera Device Example
loading...
Image Metadata Processor (SBSDKImageMetadataProcessor)
- Lets you read, modify and write image metadata.
Image Metadata Processor Example
loading...
PDF Metadata Attributes (SBSDKPDFAttributes)
- Lets you read, modify and write a PDF document's metadata.
- If you want to use this feature your app must import the
PDFKit
module.
PDF Metadata Processor Example
loading...
Document Quality Analyzer (SBSDKDocumentQualityAnalyzer)
- Analyzes the quality of text in a document on a still image.
- The result is an enum of type
SBSDKDocumentQuality
.
Document Quality Analyzer Example
loading...
Image Storages (SBSDKIndexedImageStorage, SBSDKKeyedImageStorage)
SBSDKIndexedImageStorage
andSBSDKKeyedImageStorage
are thread-safe and persistent storage for images.- They can be used to store and retrieve images in an array-fashioned style (indexed) or dictionary-fashioned style (keyed) to and from the device disk.
- Both allow the usage of an encrypter which encrypts the data when writing it to the disk and decrypts the data when reading it from the disk.
- These classes conform to the
SBSDKImageStoring
protocol. Custom image storage can be implemented and used within the Scanbot SDK by conforming to this protocol.
Image Storage Example
loading...
Sound Controller (SBSDKSoundController)
- Can play a beep sound, custom sounds loaded from a URL and/or a vibration.
Sound Controller Example
loading...
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.