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

bounding box information #2

Open
ziyi-yang opened this issue Mar 28, 2023 · 1 comment
Open

bounding box information #2

ziyi-yang opened this issue Mar 28, 2023 · 1 comment

Comments

@ziyi-yang
Copy link

Hello,

Thanks for open-sourcing the dataset. May I ask a few questions about the bounding box information?

First, in the json files, what does height, width, x and y stand for? E.g., does x and y stand for the middle point of the bounding box or the left upper corner?

Second, how can I find the overall width and height of the document? (This information is to normalize the bounding box coordinates between [0, 1])

Thanks.

@galaxyChen
Copy link
Contributor

For the first question, the (x, y) is the left upper corner. For the second question, the overall width and height can be found by looking at the root element (the element with the smallest id).

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

No branches or pull requests

2 participants