Closed hanzlika closed 1 year ago
@deimos1078 Thank you. we will check the pull request and if it does not break anything we will merge it.
Hey @deimos1078,
This looks good to me! Thank you for your contribution! I'm sorry it took so long - I have been on holiday in the past weeks.
Have a nice day! Otto
An iteration of @Iagea 's pull request.
With this modification, the segments are sorted in order a person would read them on a paper. Since the bounding boxes can have quite variant heights, its necessary to use a pixel threshold within which two bounding boxes are accepted as "on the same line" for sorting purposes. This is pretty scrappy, but works for the purposes of my drughunter extractor project.