Skip to content

Files

Latest commit

author
Vladislav Gubarev
Aug 16, 2023
931441b · Aug 16, 2023

History

History

curl

README.md

API4AI OCR text recognition

This directory contains a minimalistic sample that sends requests to the API4AI Text Recognition API. The sample is implemented in bash using curl command-line tool.

Overview

This API processes images and performs Optical Character Recognition.

Getting started

Try sample with default args:

bash sample.sh

Try sample with your local image:

bash sample.sh image.jpg

Try sample with your pdf document:

bash sample.sh doc.pdf

Try sample and parse with jq tool (note: you may need to install jq separately) for pretty formatted output:

bash sample_jq.sh

About API keys

This demo by default sends requests to free endpoint at demo.api4ai.cloud. Demo endpoint is rate limited and should not be used in real projects.

Use RapidAPI marketplace to get the API key. The marketplace offers both free and paid subscriptions.

Contact us in case of any questions or to request a custom pricing plan that better meets your business requirements.

Links