Click or drag to resize

OcrApiGetTextlines(Boolean, Int32, OcrBoxa, OcrPixa, Int32, Int32) Method

Get the textlines as a leptonica-style Boxa, Pixa pair, in reading order.

Namespace: Patagames.Ocr
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
Syntax
public void GetTextlines(
	bool isRawImage,
	int rawPadding,
	out OcrBoxa boxa,
	out OcrPixa pixa,
	out int[] blockIds,
	out int[] paraIds
)

Parameters

isRawImage  Boolean
If true, then extract from the original image instead of the thresholded image and pad by rawPadding pixels
rawPadding  Int32
If isRawImage is true, then extract from the original image and pad by rawPadding pixels.
boxa  OcrBoxa
The array ob boxes
pixa  OcrPixa
The array of lepronica pictures
blockIds  Int32
The array of block-id of each line
paraIds  Int32
The array of paragraph-id of each line within its block.
Remarks
Can be called before or after Recognize.
See Also