Skip to content

ambas/GoogleVisionSwiftClient

Repository files navigation

BuddyBuild

GoogleVisionSwiftClient

Usage

 let googleAPIKey = "### YOUR GOOGLE API KEY ###"
 let client = Client(googleAPIKey: googleAPIKey)
 client.detectWords(fromImage: imageWithTextInside) { result in
            switch result {
            case let .success(detectedWords):
                print(detectedWords)
            case let .error(error):
                print(error)
            }
 }

Installation

Carthage

github "ambas/GoogleVisionSwiftClient"