process

POST http://<host>:<port>/api/v1/process
    

Works synchronously. Loads an image file, recognizes the text found on the image, and exports it to the specified format.

Note that the service can only process one request at a time. If it's busy with another task, the request will receive a 503 response code and won't be executed. You may want to implement a task queue on your side to ensure that the images are sent one by one.

Note: The OCR Container supports processing of documents up to 3000 pages.

Has five required parameters:

  • AutoCropImage—specifies whether the image should be cropped automatically: image borders are detected and cropped, skewing and distortions are also fixed. The value of the parameter can be True or False.
  • AutoCorrectOrientation—specifies whether the image should be rotated automatically. The value of the parameter can be True or False.
  • File—the file to be processed (image or PDF document).
  • Format—the format of the file that will be returned. See a list of supported export formats and their values to pass in the Export formats. The parameter is not case-sensitive.
  • Language—a recognition language. You can specify one or several languages using the internal names of the languages separated by commas. See a list of supported languages and the correct name for each in the Recognition languages table. The parameter is not case-sensitive.

Has one optional parameter:

  • Barcodes—barcode types that will be recognized. See a list of supported barcode types and the correct name for each in the Barcode types table. The parameter is not case-sensitive.

19.02.2024 10:23:36

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.