Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Can I get coordinates of baselines #15

Closed
longwall opened this issue Oct 4, 2019 · 3 comments
Closed

Can I get coordinates of baselines #15

longwall opened this issue Oct 4, 2019 · 3 comments

Comments

@longwall
Copy link

longwall commented Oct 4, 2019

Hello,
I got output channels from few my images and it looks really cool.
The next evident question is about further segmentation.
Is it possible to get array of X-Y coordinates of each given baseline curve?
Ideally each word or phrase is bound by rectangle or (better) polygon - defined by its nodes coordinates.
As I see in the referenced article baseline curve is vectorized.
Is there the code in this project?

@TobiasGruening
Copy link
Owner

Dear longwall,

to get the vectorized curves one has to evaluate the neural network output. This is done in the paper via a clustering approach on so called super pixels, which are calculated based on the pixel-wise baseline confidences. Unfortunately, this clustering is not open source due to licensing issues with underlying libs.

Kind regards,
Tobias

@imagine5am
Copy link

You can get baseline coordinates using this repository.

@longwall
Copy link
Author

longwall commented Oct 6, 2020

imagine5am - thank you veru much! I'll try your fork as soon as I can.
I've just tested one example at P2PaLa online DEMO . It looks interesting - but accuracy of line bouning looks not enough for my purposes.
Dear Tobias, just want to thank you one more time for your cool project. I'm on dev activity now for some time - but have no time enough. I managed to implement some tricks to improve accuracy of bounding polygons , even using only dhSegment functionality. Now I'm going to go to the stages of words deslanting and lines slope correction.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants