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

Identify bndbox coordinates by tag #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pixx1
Copy link

@pixx1 pixx1 commented Nov 13, 2018

Made s small change in xml_to_csv.py
Use the XML tags to identify "ymin, xmin, ymax, xmax", and not only by position.

I made this, because I ran in some trouble. Had XML files with another order of the box coordinates.

Use the XML tags to identify "ymin, xmin, ymax, xmax".
@ghost
Copy link

ghost commented Jan 13, 2020

Would love it if this one gets merged, ran into this issue as well, took a few hours to hunt it down, mostly because of the vague error message:

assertion failed: [maximum box coordinate value is larger than 1.100000: ] [1.18155193]

@Petros626
Copy link

@pixx1 can you say which order? I use a label tool, which generates me PASCAL VOC Format in XML files, but there is more information than for example using this tool (https://github.com/tzutalin/labelImg). Is this a problem for the script?

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.

3 participants