Class Glyph


public class Glyph extends OcrElement
Represents a single glyph, i.e. a character.
  • Constructor Details

    • Glyph

      public Glyph(String text, double confidence, List<PointF> roi)
      Constructs Glyph with the given params.
      Parameters:
      text - The recognized text.
      confidence - Text confidence. Range is [0-1].
      roi - Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.