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

PASCAL_VOC XML reporting wrong image size #52

Open
calebjacksonhoward opened this issue Apr 9, 2019 · 6 comments
Open

PASCAL_VOC XML reporting wrong image size #52

calebjacksonhoward opened this issue Apr 9, 2019 · 6 comments

Comments

@calebjacksonhoward
Copy link

The XML files output from OpenLabeling are off by a pixel in x and y for many of the images. (This caused tensorflow to crash out reporting a size mismatch when I was running with dhSegment.)

@Cartucho
Copy link
Owner

Cartucho commented Apr 9, 2019

So I should add 1 to x and 1 to y, right?
In Pascal VOC the 0,0 index corresponds to the 1,1 index

@calebjacksonhoward
Copy link
Author

Not in all cases. Sometimes the resolution was correct, and sometimes it was off.

@Cartucho
Copy link
Owner

so you think it is a rounding error?

@Cartucho
Copy link
Owner

Do you think you could provide me a concrete example? So that I can try to figure out what is going on (:

@calebjacksonhoward
Copy link
Author

calebjacksonhoward commented Apr 11, 2019

It does act like a roundoff error. I will see if I can come up with an example. Unfortunately, the documents I'm working with are the proprietary property of a client, so I can't just send you the failure I experienced.

@Cartucho
Copy link
Owner

I understand (:

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