Class BaseField

    • Constructor Detail

      • BaseField

        protected BaseField()
    • Method Detail

      • isEmpty

        public abstract boolean isEmpty()
        Returns:
        true if the field is empty, false otherwise.
      • getPolygon

        public Polygon getPolygon()
        Define the coordinates of the zone in the page where the values has been found.
        Specified by:
        getPolygon in interface PositionData
      • getConfidence

        public Double getConfidence()
        The confidence about the zone of the value extracted. A value from 0 to 1.
      • getPageId

        public Integer getPageId()
        The index of the page where the current field was found.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object