TransWikia.com

How to download images and bounding boxes from imageNet?

Data Science Asked by Nirvan Anjirbag on December 28, 2020

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?

2 Answers

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.

Answered by arun-that-plays-chess on December 28, 2020

You can use the mapping described here:

Access (image names, image URLs) mapping by synset ID

If you download the original images of a synset from a tar file, you may want to know the original image URLs given the image names. You can obtain the mapping between image names and image URLs through http://www.image-net.org/api/text/imagenet.synset.geturls.getmapping?wnid=[wnid]

Answered by guillaumefrd on December 28, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP