For the complete documentation index, see llms.txt. This page is also available as Markdown.
OCRPDF/UAPDF/AFormsRedactionEditing

OCR Showcase Demo Code Sample

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Server SDKWeb SDKPackage: OCRModule: OCRLive demo

Generate searchable PDFs from scanned documents or images using OCR (Optical Character Recognition). The scanned file that contains characters is converted into machine-readable searchable and selectable text as a PDF document.

This sample code includes Server SDK processing in JavaScript, with UI provided by WebViewer. If a viewer is not needed, or you want to work with a different language or framework for the Server SDK, please check out our Server SDK OCR Sample Code.

This demo allows you to:

  • Choose your own PDF or image file

  • Select default documents in various languages: English, French, Spanish, Italian, German, Russian

  • Convert into characters that are selectable and searchable

  • Extract the characters as string

Implementation steps

To add OCR Module capability with Server SDK, and view with WebViewer:

Step 1: Follow get-started in JavaScript for Server SDK Step 2: Follow get-started in your preferred web stack for WebViewer Step 3: Download OCR Module Step 4: Add the ES6 JavaScript sample code provided in this guide

Note: Only the first page is processed in this demo.

Once you generate your license key, it will automatically be included in your sample code below.

spinner