Document Scanning SDK for Apple iOS  2.3.2
Document Scanning SDK for Apple iOS

Pixelnetica Document Scanning SDK (DSSDK) provides developers with an intelligent, highly efficient toolkit, which offers an easy way to add image processing features that are optimized for document photos that are taken by a mobile device or document camera to their applications.

In simple terms, Pixelnetica DSSDK processes paper document photos in order to make them look like they've been scanned with a traditional flatbed scanner.

Most of Document Scanning SDK’s features have been integrated into Pixelnetica SharpScan – mobile document scanner that allows users to scan documents and photos on the go.

For more information about DSSDK main Features and Benefits please visit Pixelnetica website.

System requirements

  • Apple iOS 7 and above.

iOS specific features

  • SDK available as an Embedded Framework with support (slices) for iOS devices on ArmV7, ArmV7s, Arm64 and iOS simulator (i386, x86_64).
  • Bitcode support.
  • SDK package includes documentation and sample application source code (Objective-C).

What's new in Version 2.3.2

  • Added demo application camera compatibility with iPhoneX series models.
  • Fixed problem with invalid document corners error in case of "stretched parallelogram" document borders shape.
  • Fixed several memory leaks issues.
  • Changed PxMetaImage::image property from retain to assign
  • Changed method names from createXXX to newXXX for the ARC compatibilty. Specifically, this change affected the following methods:
  • Minor bug fixes and performance improvements.

For more details on previous updates please view full Change Log.

Installation

Integrating Document Scanning SDK into your project is pretty straightforward.

  1. Copy the DocScanningSDK.framework folder from demo application source (provided with trial package) somewhere inside your project.
  2. Open your project in Xcode.
  3. Navigate to the General section of the project properties for your build target.
  4. Expand Embedded Binaries and click the plus icon to add a new item.
  5. Press Add other...
  6. Locate and select DocScanningSDK.framework .
  7. Leave the default values in the dialog box as is and press Finish.
  8. To use SDK headers in your project, import them as framework-style includes, e.g.:
    #import <DocScanningSDK/PxSDK.h>
    You can also use the DSSDK umbrella header to include all the DSSDK headers at once:
    #import <DocScanningSDK/DocScanningSDK.h>
  9. Initialize your license before any DSSDK functions usage. To initialize the license, just call
    [PxLicense initializeWithKey:@"<license_key>"]
    passing your license key string as parameter.

For example, take a look at sample application source code, file PhotoSliderViewController.m line 99.

Demo version restrictions

Document Scanning SDK demo libs features is identical to runtime except one thing — it puts watermark on resulted image.

You can start develop your project with demo version. When all necessary feature will be properly implemented and tested you can purchase and switch to commercial version.

How to switch to commercial version

  1. Make sure you're using latest DSSDK demo version.
  2. Replace demo license key with commercial version.

Demo application.

To demonstrate most of Document Scanning SDK features and the way how they should be used in real application we prepared demo application available in source codes available by request.

⚠️ Important Note.

Demo application source code provided “as is” without warranties of any kind. It could be freely used in commercial product only in case of commercial DSSDK license purchase.

For main demo application features please read our brief guide.

Using SDK in iOS Simulator

We added simulator version only for testing purposes. E.g. when developer needs to test functions not related to Document Scanning SDK.

Do not use simulator version for Image processing quality or speed tests.

Due to some specifics of OpenGL emulation in iOS Simulator there could be discrepancies between Simulator and Device image processing results.

Still have Questions, need Free Trial or Quotation?

Feel free to contact us in case of any inquires at Pixelnetica DSSDK Support.