buildTreeStructure

fun buildTreeStructure(blocks: List<Block>, lines: List<Line>, words: List<Word>): List<Block>

Builds a tree structure from the given OCR elements.