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

Plotting annotated co-ordinates back to orignal images #19

Open
Varat7v2 opened this issue Oct 15, 2020 · 2 comments
Open

Plotting annotated co-ordinates back to orignal images #19

Varat7v2 opened this issue Oct 15, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@Varat7v2
Copy link

Varat7v2 commented Oct 15, 2020

HI @virajmavani, I have annotated using this semi-automated tool, but I am getting confused with the (xmin, ymin), (xmax, ymax) that I have got after annotating as they won't match on original images. How can I convert it those annotated co-ordinates back to original image dimensions?

@virajmavani virajmavani added hacktoberfest enhancement New feature or request good first issue Good for newcomers labels Oct 15, 2020
@virajmavani
Copy link
Owner

@Varat7v2 The app converts all the images to match the Pascal VOC format of {width}x500 or 500x{height}. We can add an option to keep original resolution for annotations and re-interpolate the annotations. Re-interpolating might not exactly be the actual annotation that you did. The problem here is essentially the fact that images might be very hard to annotate if they are larger than your screen resolution as they would not fit on your screen. Anyway, images are almost always down-sampled before training and you might want to consider that.

@Varat7v2
Copy link
Author

Varat7v2 commented Oct 16, 2020

I tried converting annotated dimensions back to original images by multiplying / dividing aspect ratio of original image with normalized width/height (divided by 500) of a down-scaled images (that we have used for annotating). Though in most of the images bounding boxes were corrected, there were number of images where still bounding boxes were mismatched. I encountered this issue after annotating 4000-5000 images, now I am in trouble as more than 1000 images, I could not solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants