public class

OcrProcessor

extends Object
java.lang.Object
   ↳ com.pspdfkit.api.ocr.OcrProcessor

Class Overview

An Optical Character Recognition (OCR) processor used to process documents with images that contain text.

The processor supports a number of languages with which to perform OCR. See OcrLanguage.

Summary

Nested Classes
class OcrProcessor.Builder A builder for creating OcrProcessor instances. 
Public Methods
void performOcr(WritableDataProvider writableDataProvider)
Performs optical character recognition (OCR) on the document set in Builder(PdfDocument).
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void performOcr (WritableDataProvider writableDataProvider)

Performs optical character recognition (OCR) on the document set in Builder(PdfDocument). Please visit https://pspdfkit.com/guides/java/current/ocr/overview/ for more information.

Parameters
writableDataProvider The data provider in which to export the processed document.
Throws
IOException