Class DetectedTextLine

java.lang.Object
com.azure.ai.vision.imageanalysis.models.DetectedTextLine

public final class DetectedTextLine extends Object
Represents a single line of text in the image.
  • Method Details

    • getText

      public String getText()
      Get the text property: Text content of the detected text line.
      Returns:
      the text value.
    • getBoundingPolygon

      public List<ImagePoint> getBoundingPolygon()
      Get the boundingPolygon property: A bounding polygon around the text line. At the moment only quadrilaterals are supported (represented by 4 image points).
      Returns:
      the boundingPolygon value.
    • getWords

      public List<DetectedTextWord> getWords()
      Get the words property: A list of words in this line.
      Returns:
      the words value.