Error creating folder data/trained/tessdata: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “tessdata” in the folder “trained”." UserInfo={NSFilePath=data/trained/tessdata, NSUnderlyingError=0x604000257490 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}
I've searched around and some says its about you can't write data during running time to the Cache folder. Appreciate if there's any answer. Thank you
Hi, I've been trying to copy the tessdata file from the application bundle into the Cached folder of my application by setting
let tesseract: G8Tesseract = G8Tesseract(language: "eng", configDictionary: nil, configFileNames: nil, absoluteDataPath: "data/trained", engineMode: G8OCREngineMode.tesseractCubeCombined, copyFilesFromResources: true)
but it shows the error below
I've searched around and some says its about you can't write data during running time to the Cache folder. Appreciate if there's any answer. Thank you