- iOS 13.0+
- Xcode 11+
- Swift 5.1+
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Excavator into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'Excavator'
- extract content from an image;
- supported content types: IBAN, email;
- all occurances are recognized;
let recognizer = TextRecognizer(extractor: IbanExtractor())
let ciImage = cameraImage()
recognizer.recognize(in: ciImage) { ibans in
// do something here
}
For the complete flow, please refer to the Example project.
As for now the library logs errors if any were produced into the standart output. You can switch it off with
TextRecognizer.Config.isDebugLoggingEnabled = false
Excavator is available under the MIT license. See the LICENSE file for more info.