How to download images and bounding boxes from imageNet?

I am doing object detection for a specific class, say, chairs .

I want to download images of chairs from imageNet. I also want to download the annotation xml files (bounding boxes) from imageNet.

Both these things are provided on imageNet and I have successfully been able to download them using a tool called ImageNet_Utils

https://github.com/tzutalin/ImageNet_Utils

But the downloaded images and bounding boxes don't have matching names. So it is impossible to tell which xml file is for which image.

How do I download images and bounding boxes from imageNet such that corresponding image and annotation xml files have matching names?

• Did you find an answer to your question? – user3731622 Nov 7 '18 at 1:30
• @user3731622 I didn't use the tool mentioned above. I downloaded the images and annotation files directly from ImageNet. You have to first apply stating that you need the dataset for academic purposes only. A couple days later, you are given access. When you download from ImageNet, the images and annotation files have the same names. – Nirvan Anjirbag Nov 7 '18 at 10:28

1 Answer

But the downloaded images and bounding boxes don't have matching ames. So it is impossible to tell which xml file is for which image.

I don't think that happens, image and annotation may have same name. But Bbox and image is odd.

Still if you meant image and annotation that would be odd.

• The annotation file and the image don't have matching names. – Nirvan Anjirbag Jun 14 '18 at 6:44