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"
Topic: Machine Learning & AI SubTopic: General Tags:
Sep ’21
Reply to AVFoundation AVSpeechUtterance AVSpeechSynthesizer not working in iOS 16 Beta 4, Beta 5
Hi aakashJ, could please you post a code example of your solution? Michael
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
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"
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to VNRecognizeTextRequest ios15 problem recognizing text
failure
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to VNRecognizeTextRequest ios15 problem recognizing text
If I change "recognizeTextRequest.recognitionLevel = .fast" from .accurate to .fast the error disappears. Maybe an error in VisionKit?
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’21