Core engine (DocScanningSDK) Pixelnetica™ Document Scanning SDK for Apple iOS

This is the map of the DocScanningSDK core engine API. The full generated reference (every class, method, and type) is published alongside these pages; this page orients you in it. The core API is Objective-C and is callable from both Objective-C and Swift.

Setup & licensing

TypePurpose
PxSDKGlobal SDK info — version, build.
PxLicenseApply and inspect the license. See Licensing.
PxException / PxCatchExceptionsConvert engine exceptions into NSError (PxCatchExceptions.do { … }).

Image & processing

TypePurpose
PxPictureThe image and its processing — create from camera/import, then detect, refine, and extractImage.
PxRefineFeaturesA builder describing the processing to apply (rectify, perspective, colour profile); pass it to PxPicture’s refine.
PxCutoutThe detected document quad (four corners).
PxFrameObserverLive edge detection over camera frames (for custom camera UIs).
PxColorProfile, PxColorHint, PxOrientationProcessing options and image orientation.
Value typesBasic value types — PxPointF/I/D, PxRectF/I/D, PxMatrixF/I.

OCR

TypePurpose
PxTextReader / PxTextDetectorRun text recognition over a PxPicture.
PxTextResultThe recognised text and its PxTextAttribute elements (blocks, lines, words, symbols).
PxLanguageDownloaderDownload OCR language packs on demand.
PxBundledOcrDataThe bundled offline orientation/script-detection data.

Export

TypePurpose
PxImageWriterWrite PDF / TIFF / JPEG / PNG, including searchable PDFs. See Export.
PxPaperPaper size and dimensions for PDF output.

See also

Top