Instantly share code, notes, and snippets.

Embed
What would you like to do?
// 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