MBDocCapture
MBDocCapture makes it easy to add document scanning functionalities to your iOS app but also image editing (Cropping and contrast enhacement).
Features
- [x] Doc scanning
- [x] Photo cropping and enhancement
- [x] Auto scan
Demo
Requirements
- Swift 4.2
- iOS 10.0+
Installation
Cocoapods
CocoaPods is a dependency manager for Cocoa projects.
To integrate MBDocCapture into your Xcode project using CocoaPods, specify it in your Podfile
:
Then, run the following command:
Usage
Swift
- Make sure that your view controller conforms to the
ImageScannerControllerDelegate
protocol:
- Implement the delegate functions inside your view controller:
- Finally, create and present a
ImageScannerController
instance somewhere within your view controller: