 | OcrApiGetTextlines(Boolean, Int32, OcrBoxa, OcrPixa, Int32, Int32) Method |
Get the textlines as a leptonica-style Boxa, Pixa pair, in reading order.
Namespace: Patagames.OcrAssembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.6.411
Syntaxpublic void GetTextlines(
bool isRawImage,
int rawPadding,
out OcrBoxa boxa,
out OcrPixa pixa,
out int[] blockIds,
out int[] paraIds
)
Public Sub GetTextlines (
isRawImage As Boolean,
rawPadding As Integer,
<OutAttribute> ByRef boxa As OcrBoxa,
<OutAttribute> ByRef pixa As OcrPixa,
<OutAttribute> ByRef blockIds As Integer(),
<OutAttribute> ByRef paraIds As Integer()
)
public:
void GetTextlines(
bool isRawImage,
int rawPadding,
[OutAttribute] OcrBoxa^% boxa,
[OutAttribute] OcrPixa^% pixa,
[OutAttribute] array<int>^% blockIds,
[OutAttribute] array<int>^% paraIds
)
member GetTextlines :
isRawImage : bool *
rawPadding : int *
boxa : OcrBoxa byref *
pixa : OcrPixa byref *
blockIds : int[] byref *
paraIds : int[] byref -> unit public void GetTextlines(
boolean isRawImage,
int rawPadding,
/** @attribute OutAttribute */ /** @ref */OcrBoxa boxa,
/** @attribute OutAttribute */ /** @ref */OcrPixa pixa,
/** @attribute OutAttribute */ /** @ref */int[] blockIds,
/** @attribute OutAttribute */ /** @ref */int[] paraIds
)
function GetTextlines(isRawImage, rawPadding, boxa, pixa, blockIds, 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
See Also