Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let handler = VNImageRequestHandler(ciImage: ciImage, orientation:orientation)
- DispatchQueue.global(qos: .userInteractive).async {
- do {
- try handler.perform([self.classificationRequest])
- } catch {
- print(error)
- }
- }
Add Comment
Please, Sign In to add comment