post https://{endpoint}/detect-documents
Overview
FormX will detect documents such as ID card and receipt from the uploaded image. It will return the bounding box and type of each detected document.
The image file could be uploaded via request body or X-WORKER-IMAGE-URL.
The file size limit of the image is 10MB if you upload the file via body param.
If you provide the file via image_url, there's no file size limit.
The image dimension limit is 10,000 pixels on one side and total number of pixels < 75M, this applies to all upload methods.