Class Glyph


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

      Constructors 
      Constructor Description
      Glyph​(java.lang.String text, double confidence, java.util.List<PointF> roi)
      Constructs Glyph with the given params.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Glyph

        public Glyph​(java.lang.String text,
                     double confidence,
                     java.util.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.