Post

Replies

Boosts

Views

Activity

Live Text recognition in Vision framework
Hey there, I am currently building an app which requires accurate text detection, including properly detecting text that is split up into multiple rows, as well as properly grouping paragraphs. The Live Text feature in the Camera app does exactly that, but will this also be added to the Vision framework, or is there already a way for doing this?
2
0
1.2k
Jun ’21
Unable to load file from bundle
Hi there, I downloaded this code from hackingwithswift.com, but it always fails at loading the file. Does anyone have an idea what might cause this problem? Here's my code:if let filepath = Bundle.main.path(forResource: "german", ofType: "dic") {       do {         contents = try String(contentsOfFile: filepath)         print(contents)       } catch {         print("contents could not be loaded")       }     } else {       print("file not found")     }       text = contents.components(separatedBy: "\n")
2
0
3.9k
Jul ’20