Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OcrWord

Package version

Information on a recognized word.

Hierarchy

  • OcrWord

Index

Properties

Properties

Optional boundingBox

boundingBox: undefined | string

Bounding box of a recognized word. The four integers represent the x-coordinate of the left edge, the y-coordinate of the top edge, width, and height of the bounding box, in the coordinate system of the input image, after it has been rotated around its center according to the detected text angle (see textAngle property), with the origin at the top-left corner, and the y-axis pointing down.

Optional text

text: undefined | string

String value of a recognized word.

Generated using TypeDoc