Home > Products Online > VeryPDF Cloud OCR API
VeryPDF Cloud OCR API

VeryPDF Cloud API Platform

Cloud OCR API

  • Recognize text in files of various formats.
  • Support various output file formats.
  • Support text in various languages.
Sign Up Subscribe VeryPDF Cloud API Platform
 
$19.95 / month

This page is a brief guide of VeryPDF Cloud OCR API. Developers can use VeryPDF Cloud OCR API to perform OCR (optical character recognition) in their applications. The following words introduce the basic usage of the API.

1. Register for an APIKEY 2. Use Cloud API for OCR 3. Frequently Asked Questions

Register for an APIKEY

Before using VeryPDF Cloud OCR API, you need an APIKEY for authentication. You may refer the guide for registration of VeryPDF Cloud OCR API.

Use Cloud API for OCR

Use VeryPDF Cloud OCR API. This guide takes PHP code as demonstration to show you the GET/POST method to use VeryPDF Cloud OCR API.

Here are some demonstration URLs to illustrate the usage of VeryPDF Cloud OCR API.

http://online.verypdf.com/app/onlineapi/?apikey=XXXXXXXXXXXX&-format=2&-lang=1
&type=ocrsdk&inputfile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/app/onlineapi/?apikey=XXXXXXXXXXXX&-format=15&-lang=1
&type=ocrsdk&inputfile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr2&-format=1&-lang=1
&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr2&-format=2&-lang=1
&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr2&-format=7&-lang=1
&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr2&-format=9&-lang=1
&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr2&-format=15&-lang=1
&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr&outfile=out&lang=eng
&infile=http://online.verypdf.com/examples/cloud-api/test0002.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr&outfile=out&lang=eng
&format&infile=http://online.verypdf.com/examples/cloud-api/test0002.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr&outfile=out&lang=deu
&infile=http://online.verypdf.com/examples/cloud-api/german.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr&format=1&dumpwordpos=1
&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif http://online.verypdf.com/api/?apikey=XXXXXXXXXXXXX&app=ocr&outfile=out&lang=eng
&-format=2&infile=http://online.verypdf.com/images/tiff/testocr_0000.tif

The bold characters are options supported by VeryPDF Cloud OCR API:

  • apikey is your API key offered by VeryPDF.
  • -format sets the output file format.
  • inputfile specifies the input file for OCR.
  • -lang option's value specifies the preferred OCR language.
  • type is mandatory, telling the Cloud server which API is called. For VeryPDF Cloud OCR API, the type value is ocrsdk.
  • dumpwordpos=1: dump the position for each word. (User Manual)

Option -format and -lang has these values:

---------------------------------------------------------------------------
Option Value Output Format  Remark
---------------------------------------------------------------------------
-format=1 RTF default
-format=2 TXT (plaint text)  
-format=7   XLS (Excel)   
-format=9   DOC (Word)   
-format=15 HTML   
     
-lang=1   English  default 
-lang=2   French    
-lang=4 German   
-lang=8 Italian    
-lang=16 Spanish   
-lang=32 Portuguese   
---------------------------------------------------------------------------

If there is no value for an option, please use the format "option=NULL".

The following is a PHP code example to use VeryPDF Cloud OCR API to recognize text in an online image.

Click to see PHP code:

In the above demonstration code, the recognized text will be saved as RTF and returned by variable OUT. Save the returned data to disk with the corresponding extension name ".rtf", and then the text in the demonstration image is recognized and saved in a RTF file.

Sever reply

Successful process:
HTTP header status code: 200
Return created html, rtf, doc, xls, or txt file as response.

Error:
If error occurs, VeryPDF Cloud server will return standard error codes to indicate the error types.

Frequently Asked Questions

Q: Is your VeryPDF Cloud OCR API using open source Tesseract OCR engine?
  A: No. VeryPDF Cloud OCR API uses an OCR engine developed by VeryPDF.
Q: Can VeryPDF Cloud OCR API retain document formats and layouts?
  A:  Yes, of course. VeryPDF Cloud OCR API supports output files in formats of html, rtf, doc, and xls (retaining text formats and page layouts). It also support plain text output files. Textual PDF format will be supported soon.
Q: Can VeryPDF Cloud OCR API recognize text in low resolution images?
  A: Currently VeryPDF Cloud OCR API does better to images of resolution higher than 150 DPI. And VeryPDF is working hard to improve the OCR effect to low resolution images (e.g., 72 or 96 DPI for screen snapshots).
Q: Does VeryPDF Cloud OCR API support multipage TIFF image recognition?
  A: Yes. VeryPDF Cloud OCR API can recognize all pages in a multipage TIFF image. VeryPDF uses page count to calculate usage of server resources.
Q: Can I use VeryPDF Cloud OCR API after I subscribe VeryPDF Cloud API Platform?
  A: Yes, VeryPDF Cloud OCR API is included inVeryPDF Cloud API Platform, so after you subscribe VeryPDF Cloud API Platform, you can use VeryPDF Cloud OCR API without pay any additional cost.

Online Cloud API

Discount 45% ($49.90) to buy PDF to Word Converter, PDF to Excel Converter, and PDF to PowerPoint Converter.

Relative OCR Products

Gold Support 30-DAY NO RISK REFUND
 
  See other products   Sign Up   Subscribe VeryPDF Cloud API Platform
 
 You may like these products
Image to PDF OCR Converter
Image to PDF OCR Converter

$299.00

Convert images to searchable textual PDF with Optical Character Recognition. It can also convert images to editable PDF by command line.

try buy
PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter

$59.95

Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF one time.

try buy
Scan to Word OCR Converter
Scan to Word OCR Converter

$79.95

Recognize characters from scanned files and scanners and save as Word. The application can retain the original layout perfectly.

try buy