using System.Collections.Generic; using UglyToad.PdfPig.Content; namespace UglyToad.PdfPig.DocumentLayoutAnalysis { /// /// Page segmentation divides a page into areas, each consisting of a layout structure (blocks, lines, etc.). /// See 'Performance Comparison of Six Algorithms for Page Segmentation' by Faisal Shafait, Daniel Keysers, and Thomas M. Breuel. /// public interface IPageSegmenter { /// /// Get the text blocks. /// /// The words to generate text blocks for. /// A list of text blocks from this approach. IReadOnlyList GetBlocks(IEnumerable pageWords); } }