Release Notes

Version 1.1 (released on Nov 28)

List all files

https://cloud.dynamsoft.com/rest/ocr/v1.1/file?Method=list

  • Added a new API to list all your source and result files.
    HTTP Method: GET / POST
    You can specify the parameter “scope”. Its value includes “source”, “result” (default value) and “both”.

Delete files

https://cloud.dynamsoft.com/rest/ocr/v1.1/file?Method=delete

  • Added a new parameter “scope” to support deleting source images. Its value includes “source”, “result” (default value) and “both”.

Page credits inquiry

https://cloud.dynamsoft.com/rest/ocr/v1.1/quota?method=page

  • It's now returning the “expiration date” of the credits in the response.

File upload

https://cloud.dynamsoft.com/rest/ocr/v1.1/file?Method=upload

  • It's now returning the number of pages in the response.
  • Added verification to check whether the uploaded file is empty.
    If the file is empty, error code & string: 35017 - The uploaded file is empty.
  • Added support for uploading base64
    In the request payload, you can specify the content type as “text/plain” to indicate the data is base64
    e.g.:
    Content-Disposition: form-data; name="file"; filename="Code 93.png"
    Content-Type: text/plain

OCR a single file or multiple files

https://cloud.dynamsoft.com/rest/ocr/v1.1/file?Method=recognize

  • MRC is now turned off by default when the output format is PDF. I.E., "pdf_with_mrc": false. Reason: While MRC can decrease the size of a PDF file, the compression takes time and slows down the file encoding.
  • Added a new parameter "recognition_mode". Supported values include AUTO (default), FASTEST, BALANCED, and MOSTACCURATE.
  • Added a new parameter "delete_source_file_if_ocr_success". Supported values include true (default) and false.
  • Added a new value to the parameter "output_format". It now supports "Excel2000".
  • Added a new parameter "zones" to support zonal OCR. You can specify one or more zones.
    Note: This parameter does not work if the output format is PDF.
  • Added a new parameter "page_range". E.g., page_range: 6-8.
  • On recognizing multiple files in one request, you can now specify the settings separately for each file. Supported parameters include: language, output_format, delete_source_file_if_ocr_success, recognition_mode, zones, output_setting, redaction, page_range.
Is this page helpful?