Class EasyOcrTextBoxMerger

java.lang.Object
com.itextpdf.pdfocr.onnx.merging.EasyOcrTextBoxMerger
All Implemented Interfaces:
ITextBoxMerger

public class EasyOcrTextBoxMerger extends Object implements ITextBoxMerger
Text box merger, based on the algorithm used in EasyOCR.
  • Constructor Details

  • Method Details

    • process

      public List process (List detectedTextBoxes)
      Merges text boxes based on some set of rules. This method should return a new list and not modify the input.
      Specified by:
      process in interface ITextBoxMerger
      Parameters:
      detectedTextBoxes - list of rotated text boxes, provided by the text detection routine
      Returns:
      a new list with merged text boxes