-
-
Save fitomad/db62efd9e48cb40f3688c043776e8eb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1 | |
guard let results = request.results, | |
let ciBikeImage = self.ciBikeImage, | |
!results.isEmpty | |
else | |
{ | |
return | |
} | |
// 2 | |
guard let result = results.first, | |
let observation = result as? VNTextObservation, | |
observation.isBikeIdentifier | |
else | |
{ | |
return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment