Post not yet marked as solved
I've create a custom camera over that i've added a viewController that users can move or resize. when take photo i want have only the piece that is in the red square. How can I do it?
Post not yet marked as solved
I've tried to use this piece of code taked by Apple Documentation and don't worklet text = "The ripe taste of cheese improves with age."
let tagger = NSLinguisticTagger(tagSchemes: [.lexicalClass], options: 0)
tagger.string = text
let range = NSRange(location: 0, length: text.utf16.count)
let options: NSLinguisticTagger.Options = [.omitPunctuation, .omitWhitespace]
tagger.enumerateTags(in: range, unit: .word, scheme: .tokenType, options: options) { tag, tokenRange, _ in
if let tag = tag {
let word = (text as NSString).substring(with: tokenRange)
print("\(word): \(tag)")
}
}this is the Apple's Dochttps://developer.apple.com/documentation/foundation/nslinguistictagger/identifying_parts_of_speechAny solution?
Post not yet marked as solved
Anyone has any idea about to covert Tesseract or tessdata into CoreML model?
Post not yet marked as solved
I've open my project in XCode 9 and found this error.How can I fix it?