Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (25 loc) · 893 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 893 Bytes

Note: This repository has been archived

This image set was developed under a previous phase of the Yale Digital Humanities Lab. Now a part of Yale Library’s Computational Methods and Data department, the Lab no longer includes this image set in its scope of work. As such, it will receive no further updates.

Image Datasets

A module of sample image datasets for computer vision projects in Python.

Installation

To install this module, type in a terminal:

pip install image_datasets

Usage

To list all available datasets:

import image_datasets
image_datasets.list() # returns a list of datasets ['oslo', 'bain', ...]

To download the "bain" dataset:

import image_datasets
image_datasets.bain.download()

To load the images in a dataset into RAM at a constant size:

import image_datasets
X = image_datasets.bain.load()