Java OCR SDK
Mindee API Helper Library for Java
Quickly and easily connect to Mindee's API services using Java.
Quick Start
Here's the TL;DR of getting started.
First, get an API Key
Include the following maven dependency in your project to use the helper library:
<dependency>
<artifactId>mindee-api-java</artifactId>
<groupId>com.mindee.sdk</groupId>
<version>${mindee.sdk.version}</version>
</dependency>Where ${mindee.sdk.version} is the version shown here:
Loading a File and Parsing It
The MindeeClient class is the entry point for most of the helper library features.
Synchronously Parsing a File
This is the easiest and fastest way to integrate into the Mindee API.
However, not all products are available in synchronous mode.
Global Documents
These classes are available in the com.mindee.product package:
Note for Region-Specific Documents:
Each region will have its own package within the general com.mindee.product package.
For example USA-specific classes will be in the com.mindee.product.us package:
Custom Documents (API Builder)
Synchronously Parsing a File
This allows for easier handling of bursts of documents sent.
Some products are only available asynchronously, check the example code directly on the Mindee platform.
Enqueue and Parse a File
The client library will take care of handling the polling requests for you.
This is the easiest way to get started.
Enqueue and Parse a Webhook Response
This is an optional way of handling asynchronous APIs.
Further Reading
You can view the source code on GitHub.
You can also take a look at the Reference Documentation.
License
Copyright © Mindee
Available as open source under the terms of the MIT License.
Last updated
Was this helpful?

