Layout-Parser / layout-parser

A Unified Toolkit for Deep Learning Based Document Image Analysis
https://layout-parser.github.io/
Apache License 2.0
4.67k stars 449 forks source link

Merge boxes #145

Open harsh2ai opened 1 year ago

harsh2ai commented 1 year ago

While using the library I wanted to have a feature of merging two consecutive boxes as one if the difference between their pixel height is less than a specific threshold , there are already available methods for merging boxes but I wasn't able to find anything for this specific usecase.

If there exists a method it would be great if someonce can share the code example for the same

lolipopshock commented 1 year ago

Yes -- will add it in the next release!

KeshavBalaji commented 1 year ago

Are there any updates on the next release? The merging of the bounding boxes would help a lot!