Search

Extract Text In Area

Last Updated: Nov 23, 2020

Articles

Use this function to extract regions based on the given selectors. The output is the folder path that contains the matching images.

Syntax

Extract Text In Area (fid, left, top, right, bottom, page_number, image_format)

Parameters

Input Parameter Name Description
fid OutputXmlFID from the Doc reader node
left A keyword that is at the bottom of the image
top A keyword that is at the top of the image
right A keyword that is at the right of the image
bottom A keyword that is at the bottom of the image
across_pages The inputs can be
  • true: keywords are spanned across all the pages.
  • false: keywords are inside same page.

Sample

Extract Text In Area (ee239b1e-0cf3-4292-8598-803a85f7727d, L, T, R, B, true)

  • Extracts the text from the file ‘ee239b1e-0cf3-4292-8598-803a85f7727d’, surrounded by the keywords ‘L’, ’T’, ‘R’ and ‘B’. The text is searched across the entire document.

Returns

Return Value Description
Text Extracted text

To view all the Document functions, click here.

Did you find what you were looking for?