Post

Replies

Boosts

Views

Activity

Reply to VNRecognizeTextRequest ios15 problem recognizing text
If I change the maximumRecognitionCandidates from 1 to a higher number the results are getting better. With maximumRecognitionCandidates 3 or higher the result is in the right order and the value makes no difference until 9. With value 10 the result ist the same like value 1. This behavior only appears under iOS 15. So this is only a workaround and not a real solution yet, I suppose. Can you reproduce this unexpected behavior? let maximumRecognitionCandidates = 9 for observation in observations { guard let candidate = observation.topCandidates(maximumRecognitionCandidates).first else { continue } entireRecognizedText += "\(candidate.string)\n"
Sep ’21