From 898e6cdf8df0993f853b748d4e8a9c269fad0294 Mon Sep 17 00:00:00 2001
From: Jules Laplace Labeled Faces in The Wild (LFW) is amongst the most widely used facial recognition training datasets in the world and is the first of its kind to be created entirely from images posted online. The LFW dataset includes 13,233 images of 5,749 people that were collected between 2002-2004. Use the tools below to check if you were included in this dataset or scroll down to read the analysis. {INSERT IMAGE SEARCH MODULE} {INSERT TEXT SEARCH MODULE} Three paragraphs describing the LFW dataset in a format that can be easily replicated for the other datasets. Nothing too custom. An analysis of the initial research papers with context relative to all the other dataset papers. import numpy as np
from sklearn.datasets import fetch_lfw_people
import imageio
-import imutils
-
-# download LFW dataset (first run takes a while)
-lfw_people = fetch_lfw_people(min_faces_per_person=1, resize=1, color=True, funneled=False)
-
-# introspect dataset
-n_samples, h, w, c = lfw_people.images.shape
-print('{:,} images at {}x{}'.format(n_samples, w, h))
+import imutils lfw_people = fetch_lfw_people(min_faces_per_person=1, resize=1, color=True, funneled=False) n_samples, h, w, c = lfw_people.images.shape
+print('{:,} images at {}x{}'.format(n_samples, w, h))
cols, rows = (176, 76)
-n_ims = cols * rows
-
-# build montages
-im_scale = 0.5
+n_ims = cols * rows im_scale = 0.5
ims = lfw_people.images[:n_ims
-montages = imutils.build_montages(ims, (int(w*im_scale, int(h*im_scale)), (cols, rows))
-montage = montages[0]
-
-# save full montage image
-imageio.imwrite('lfw_montage_full.png', montage)
-
-# make a smaller version
-montage_960 = imutils.resize(montage, width=960)
-imageio.imwrite('lfw_montage_960.jpg', montage_960)
-
-Labeled Faces in the Wild
-load file: lfw_names_gender_kg_min.csv
-Name, Images, Gender, Description
-![]()
Intro
+![]()
Intro
![]()
LFW by the Numbers
@@ -224,36 +219,28 @@ name_display,company_url,example_url,country,description
Code
-#!/usr/bin/python
-
-import numpy as np
+download LFW dataset (first run takes a while)
+introspect dataset
+build montages
+Disclaimer
+montages = imutils.build_montages(ims, (int(wim_scale, int(him_scale)), (cols, rows))
+montage = montages[0]
imageio.imwrite('lfw_montage_full.png', montage)
+montage_960 = imutils.resize(montage, width=960) +imageio.imwrite('lfw_montage_960.jpg', montage_960)
+MegaPixels is an educational art project designed to encourage discourse about facial recognition datasets. Any ethical or legal issues should be directed to the researcher's parent organizations. Except where necessary for contact or clarity, the names of researchers have been subsituted by their parent organization. In no way does this project aim to villify researchers who produced the datasets.
Read more about MegaPixels Code of Conduct