getTessdataPath static method

Future<String> getTessdataPath()

getTessdataPath

print(await FlutterTesseractOcr.getTessdataPath())

Implementation

static Future<String> getTessdataPath() async {
  final Directory appDirectory = await getApplicationDocumentsDirectory();
  final String tessdataDirectory = join(appDirectory.path, 'tessdata');
  return tessdataDirectory;
}