# performOCR static method

Future<ResultWrapper<PerformOCRResult>> performOCR(

1. PerformOCRArguments args

)

Performs OCR on given images.

## Implementation

    static Future<ResultWrapper<PerformOCRResult>> performOCR(
        PerformOCRArguments args) async {
      try {
        var result = await SharedCalls.invoke(
            ScanbotSdk.channel, 'performOCR', args.toJson());

        return ResultWrapper.fromJson(jsonDecode(result),
            fromJsonT: PerformOCRResult.fromJson);
      } catch (e) {
        Logger.root.severe(e);
        return ResultWrapper.error(e.toString());
      }
    }