Package com.itextpdf.pdfocr.onnx.merging
Interface ITextBoxMerger
- All Known Implementing Classes:
-
EasyOcrTextBoxMerger
public interface ITextBoxMerger
Interface for a processing class, which handles merging text boxes, received from a text detection routine.
-
Method Summary
-
Method Details
-
process
Merges text boxes based on some set of rules. This method should return a new list and not modify the input.- Parameters:
-
detectedTextBoxes- list of rotated text boxes, provided by the text detection routine - Returns:
- a new list with merged text boxes
-