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) | |
else | |
{ | |
return | |
} | |
/// | |
print("La imagen es un \(digit)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment