Method RecognizeText

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

RecognizeText(IOcrEngine, string)

Recognises every page of an image file and returns the plain text, pages separated by a form feed.

public static string RecognizeText(this IOcrEngine engine, string path)

Parameters

engine IOcrEngine

The engine.

path string

A JPEG, PNG, GIF, BMP or TIFF file.

Returns

string