Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.44 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.44 KB

Excavator

Cocoapods Cocoapods Cocoapods platforms

Requirements

  • iOS 13.0+
  • Xcode 11+
  • Swift 5.1+

Installation

CocoaPods

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'

Features

  • extract content from an image;
  • supported content types: IBAN, email;
  • all occurances are recognized;

Usage

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.

Configuration

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

Example

License

Excavator is available under the MIT license. See the LICENSE file for more info.