{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / data / _fetchers / lfw_subset

function

skimage.data._fetchers:lfw_subset

source: /dev/scikit-image/src/skimage/data/_fetchers.py :1137

Signature

def   lfw_subset ( )

Summary

Subset of data from the LFW dataset.

Extended Summary

This database is a subset of the LFW database containing:

  • 100 faces

  • 100 non-faces

The full dataset is available at [2].

Returns

images : ndarray of shape (200, 25, 25) and dtype uint8

100 first images are faces and subsequent 100 are non-faces.

Notes

The faces were randomly selected from the LFW dataset and the non-faces were extracted from the background of the same dataset. The cropped ROIs have been resized to a 25 x 25 pixels.

Aliases

  • skimage.data.lfw_subset