Detect documents from an image

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

Body Params
Headers
string

URL of the image to be processed in jpg or png format, or URL of a pdf file

string
enum
Defaults to raw

Encoding of the request body, allowed raw or base64

Allowed:
number
Defaults to 150

DPI of the uploaded pdf file

string
enum
Defaults to image/*

Generated from available request content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json