PresentID Document scanner API localizes document images with various distortion types from a single input image.
**Input:**
- Image file
- Image URL link
- Base64 image
**Output:**
- Base64 image
- Status message
**Features:**
- Less than 1.5 seconds on CPU core i7.
- Perfect detection on a salient document in the image.
- Support IOS, Android, Windows, and Mac devices.
- Easy integration with your app.
**Use Cases:**
- To create PDF files and notes and books.
- Ease of separating text in images.
**Rules & Restrictions:**
- Send data via Base64 or an image URL or an image file.
- Image size should not exceed 8 MB.
- Also, the images should not be larger than 5000 pixels and smaller than 50 pixels.
PresentID Document scanner API localizes document images with various distortion types from a single input image.
Document Scanner - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] File Binary |
{"statusCode":200,"statusMessage":"success","hasError":false,"_note":"Response truncated for documentation purposes"}
curl --location 'https://zylalabs.com/api/3977/document+scanner+api/4732/document+scanner' \
--header 'Content-Type: application/json' \
--form 'image=@"FILE_PATH"'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Document Scanner is a robust API provided by PresentID that specializes in scanning and extracting data from various types of documents. It leverages advanced optical character recognition technology to interpret and digitize textual content from documents such as passports, visas, and ID cards.
Our Document Scanner API offers the following features: Fast and accurate data extraction: Utilizes cutting-edge technology to quickly scan and extract data from documents. Support for multiple document types: Capable of processing passports, visas, ID cards, and more. Seamless integration: Easily integrates with existing systems to enhance document verification processes.
The API primarily employs the POST method, enabling users to upload images of documents. It then processes these images and returns the extracted data in a structured format.
Yes, the usage limits depend on the subscription plan you choose. For detailed information on the limits associated with each plan, please visit our pricing page or consult your user dashboard.
Some of the common errors you may encounter include: 400 Bad Request: This error indicates a problem with the input data, such as corrupted or unclear images. 401 Unauthorized: This error occurs if your API key is incorrect or missing.
The Document Scanner API returns a Base64 encoded image of the localized document along with a status message indicating the success or failure of the operation.
The key fields in the response data include `statusCode`, `statusMessage`, `hasError`, and `data`, where `data` contains the `base64Image` of the processed document.
The returned data is structured in JSON format. It includes a status code (e.g., 200 for success), a status message, an error flag, and a data object containing the Base64 image string.
The Document Scanner endpoint accepts parameters such as an image file, an image URL, or a Base64 encoded image. Ensure the image size does not exceed 8 MB and dimensions are within 50 to 5000 pixels.
The response data is organized in a JSON object. It includes a top-level status code and message, followed by a nested data object that contains the Base64 image string.
Typical use cases include creating PDF files from scanned documents, extracting text for note-taking, and digitizing books or other printed materials for easier access and editing.
Data accuracy is maintained through advanced image processing algorithms that correct for distortions and enhance document features, ensuring reliable localization and extraction of text.
Users can decode the Base64 image string to display the localized document in applications, or save it as an image file for further processing, such as creating PDFs or integrating into document management systems.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
737ms
Service Level:
100%
Response Time:
1,586ms
Service Level:
100%
Response Time:
1,344ms
Service Level:
100%
Response Time:
2,524ms
Service Level:
100%
Response Time:
3,168ms
Service Level:
100%
Response Time:
1,812ms
Service Level:
100%
Response Time:
1,945ms
Service Level:
100%
Response Time:
1,076ms
Service Level:
100%
Response Time:
857ms
Service Level:
100%
Response Time:
1,429ms
Service Level:
100%
Response Time:
768ms
Service Level:
100%
Response Time:
605ms
Service Level:
100%
Response Time:
16,709ms
Service Level:
100%
Response Time:
797ms
Service Level:
100%
Response Time:
1,213ms
Service Level:
100%
Response Time:
120ms
Service Level:
100%
Response Time:
1,507ms
Service Level:
100%
Response Time:
799ms
Service Level:
100%
Response Time:
343ms
Service Level:
100%
Response Time:
601ms