Skip to main content
Extracts data in a rectangular region, defined in inches. The region extracts lines contained inside the region (for the definition of “contained”, see the Parameters section). In general, use this method:
  • for faster performance compared to the Box method
  • when you want to extract data from an area whose formatting doesn’t fit other SenseML methods. For example, you can use this method instead of the Label method for widely separated anchors and target lines.
Parameters
Examples
Notes

Parameters

Note: For the full list of parameters available for this method, see Global parameters for methods. The following table shows parameters most relevant to or specific to this method.

Examples

The following example shows extracting a social security number from a W-9 form by defining a region to extract. Config
JSON
Example document
The following image shows the example document used with this example config:
Click to enlarge Output
JSON

Notes

If the region that you want to extract is a box that’s bordered with dark lines, you can use the Box method instead of the Region method.