Text extractor api
![text extractor api text extractor api](https://www.programmableweb.com/wp-content/alchemy-category.jpg)
# Make the API call (POST request works with both 'url' and 'file') # HODApps.OCR_DOCUMENT denotes the API to use # async=False specifies a synchronous API call
![text extractor api text extractor api](https://assets.justinmind.com/wp-content/uploads/2018/05/extract-text-for-translation.png)
# Import Haven OnDemand APIs from havenondemand.hodclient import * # Initiate Haven OnDemand clientĬlient = HODClient( "YOUR_API_KEY", version = "v1") Using the native Haven OnDemand API, cURL can be used to issue a POST request to the OnDemand platform: The OCR Document API extracts text from an image that you provide.
![text extractor api text extractor api](https://www.bytesview.com/images/products/feature/feature-detection.png)
The cheat sheet does not cover the basics of HPE Haven OnDemand APIs, so you may want to refer to the following previous posts for more information. You may want to read more about asynchronous API calls. Also note that HPE Haven OnDemand provides both synchronous and asynchronous API call functionality some particular APIs support both call types, while others support only one or the other.
Text extractor api free#
Note that using HPE Haven OnDemand requires that one register for a free API key. Details regarding installation of all language specific APIs, including Python, can be found in the applicable Github repositories. This cheat sheet will consider both the native APIs, demonstrated by cURL calls, and the Python API. To make development even more flexible, Haven OnDemand also provides a number of programming language-specific APIs, including Android, Go, Node.js, R, Ruby and more. The HPE Haven OnDemand native APIs are POST and GET method-based, and can easily be embedded in any programming language or invoked independently with cURL calls. As further processing of text after it is extracted is often desired, the cheat sheet also touches on several additional text-processing APIs.