Class OcrPage


  • public class OcrPage
    extends Object
    OCR result for a single page.
    • Constructor Detail

      • OcrPage

        public OcrPage​(String content,
                       ArrayList<OcrWord> words)
        Creates a new OcrPage instance.
        Parameters:
        content - Full text content extracted from the document page.
        words - List of words extracted from the document page.
      • OcrPage

        public OcrPage()
    • Method Detail

      • getContent

        public String getContent()
        Full text content extracted from the document page.
      • getWords

        public ArrayList<OcrWord> getWords()
        List of words extracted from the document page.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object