Skip to content
Discussion options

You must be logged in to vote

Hi @ep0p 👋

It takes the sorted boxes from the estimated lines and tries to build a cluster depending on the distance to estimate which lines could build a block.
ref.: https://github.com/mindee/doctr/blob/3f8bd0104411c671d9c9fa09934c06f970c7cb67/doctr/models/builder.py#L156C25-L156C30

For images like your provided one i suggest to disable the block resolving: resolve_blocks=False then it will only sort the boxes and lines :)

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ep0p
Comment options

You must be logged in to vote
6 replies
@ep0p
Comment options

@felixdittrich92
Comment options

@ep0p
Comment options

@felixdittrich92
Comment options

@ep0p
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants