Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

top down, left right reading ordered segments #72

Merged
merged 3 commits into from
Aug 22, 2023

Conversation

hanzlika
Copy link
Contributor

@hanzlika hanzlika commented Aug 4, 2023

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.

@Kohulan Kohulan requested a review from OBrink August 8, 2023 09:44
@Kohulan
Copy link
Owner

Kohulan commented Aug 8, 2023

@deimos1078 Thank you. we will check the pull request and if it does not break anything we will merge it.

@OBrink
Copy link
Collaborator

OBrink commented Aug 22, 2023

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

@OBrink OBrink merged commit 539b918 into Kohulan:master Aug 22, 2023
1 check passed
OBrink added a commit that referenced this pull request Aug 29, 2023
Kohulan added a commit that referenced this pull request Aug 29, 2023
…detected

fix crash-inducing bug introduced with #72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants