Posts

Post marked as solved
1 Replies
1.4k Views
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")
Posted Last updated
.
Post not yet marked as solved
1 Replies
620 Views
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?
Posted Last updated
.