Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
private func handleModelRequest(request: VNRequest, forIndex index: Int) -> Void
guard let results = request.results as? [VNClassificationObservation],
let observation = results.first,
let digit = Int(observation.identifier)
print("La imagen es un \(digit)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.