How should I retrieve the localization of the lines from its words #573
-
Beta Was this translation helpful? Give feedback.
Answered by
charlesmindee
Nov 5, 2021
Replies: 2 comments 2 replies
-
Hey again 👋 So to get the line-level aggregation, you have two options:
Hope this helps, let me know if you have any other questions :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @hammadyounas2008, you can use this snippet to display boxes on the source image:
If you want to display lines boxes and not just words boxes, you can go to |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
fg-mindee
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @hammadyounas2008,
you can use this snippet to display boxes on the source image:
If you want to display lines boxes and not just words boxes, you can go to
utils/visualization.py
and setwords_only=False
in thevisualize_page
function, it will display blocks and lines.