Skip to content

How to get pixel location of detected bounding box? #1773

Answered by felixdittrich92
DhiviJR asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @DhiviJR 👋

You can export the results take a look here: https://mindee.github.io/doctr/using_doctr/using_models.html#what-should-i-do-with-the-output

The geometry values are absolute (0 -1) so you need to multiply the x-coordinates with the doc/image width and the y-coordinates with the image height to get the relative coords :)

Best,
Felix

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DhiviJR
Comment options

Answer selected by DhiviJR
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #1772 on November 08, 2024 11:40.