Since accuracy is largely dependent on the image quality, one may want to control the quality of images they process. To know the image quality, please follow the instructions below.

is_blurry parameter flags if image is OK or blurry.

In order to get access to the is_blurry field you need to add this parameter when submitting a document for processing via the POST request:

{"detect_blur": 1}

is_blurry field in the response is a list of flags:

1 when blurry

0 when not blurry

If you submit 1 document for processing, the response will be the list of 1 flag

If you submit multiple receipts in the same request, the response will be a list of multiple flags one per document.

Responses example:
For one document: [1] - document is blurry
For 3 documents: [0, 0, 1] - First two documents are Ok and the 3rd one is blurry

Have questions? Please contact

Did this answer your question?