getOcrConfigs static method
Returns the current OCR configs, like installed OCR languages, etc.
WORKS ONLY WITH THE TESSERACT OCR ENGINE.
Implementation
static Future<SdkOcrConfig> getOcrConfigs() async {
try {
var result = await _channel.invokeMethod('getOcrConfig');
var json = jsonDecode(result);
return SdkOcrConfig.fromJson(json);
} catch (e) {
Logger.root.severe(e);
rethrow;
}
}