@DatasetDescription(name="CalTech101", description="Pictures of objects belonging to 101 categories. About 40 to 800 images per category. Most categories have about 50 images. The size of each image is roughly 300 x 200 pixels.", creator="Fei-Fei Li, Marco Andreetto, and Marc \'Aurelio Ranzato", url="http://www.vision.caltech.edu/Image_Datasets/Caltech101/", downloadUrls={"http://datasets.openimaj.org/Caltech101/101_ObjectCategories.zip","http://datasets.openimaj.org/Caltech101/Annotations.zip"}) public class Caltech101 extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Caltech101.Record<IMAGE extends Image<?,IMAGE>>
A record in the Caltech 101 dataset.
|
Modifier and Type | Method and Description |
---|---|
static <IMAGE extends Image<?,IMAGE>> |
getData(InputStreamObjectReader<IMAGE> reader)
Get a dataset of the Caltech 101 images and metadata.
|
static <IMAGE extends Image<?,IMAGE>> |
getImages(InputStreamObjectReader<IMAGE> reader)
Get a dataset of the Caltech 101 images.
|
public static <IMAGE extends Image<?,IMAGE>> VFSGroupDataset<IMAGE> getImages(InputStreamObjectReader<IMAGE> reader) throws IOException
reader
- IOException
- if a problem occurs loading the datasetDataUtils.getDataDirectory()
public static <IMAGE extends Image<?,IMAGE>> VFSGroupDataset<Caltech101.Record<IMAGE>> getData(InputStreamObjectReader<IMAGE> reader) throws IOException
reader
- a reader for reading images (usually a
ImageUtilities.FIMAGE_READER
or
ImageUtilities.MBFIMAGE_READER
).IOException
- if a problem occurs loading the datasetDataUtils.getDataDirectory()