We need your help in writing a Matlab script to downloads all images from [url removed, login to view] that have category labels (synsets), and organizes the downloads based on their category labels. The script will download the images as well as their corresponding .xml files that contain bounding-box annotations. Then it should organise the downloaded images into folders (unpacked from the archives), each folder having the name of the corresponding synset. Moreover, the bounding box annotations should be read from the xml files, parsed so that they're relative to the actual downloaded image size and saved in a .mat file.
We will run the final script on our end to get all the data. You need to make sure that the script produces correct results beforehand.
- Read this website to understand how to download images and bounding box meta-data: [url removed, login to view]
- The list of synsets that have bounding-box annotation is here: [url removed, login to view]
- All the synsets with bounding-box annotations here: [url removed, login to view]
- To download the images for a synset, use this call:
[url removed, login to view][wnid]&username=[username]&accesskey=[accesskey]&release=latest&src=stanford