Skip to content

Instantly share code, notes, and snippets.

@eilonkr
Last active May 14, 2022 18:58
Show Gist options
  • Save eilonkr/0336f6b7d70afc76fc55824a2c62d2f1 to your computer and use it in GitHub Desktop.
Save eilonkr/0336f6b7d70afc76fc55824a2c62d2f1 to your computer and use it in GitHub Desktop.
import UIKit
class ImageProcessingService {
private let ciContext = CIContext()
private lazy var ciDetector = CIDetector(ofType: CIDetectorTypeFace, context: ciContext)!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment