Skip to main content

A PyTorch dataset for the FacesInThings dataset

Project description

Seeing Faces in Things: A Model and Dataset for Pareidolia

Website arXiv Open In Colab

Mark Hamilton, Simon Stent Vasha DuTell Anne Harrington Jennifer Corbett Ruth Rosenholtz William T. Freeman

FacesInThings Overview Graphic

TL;DR:We introduce a dataset of over 5000 human annotated pareidolic images. We also link pareidolia in algorithms to the process of learning to detect animal faces.

We introduce an annotated dataset of five thousand human labeled pareidolic face images, called ``Faces in Things''. Faces in Things is derived from the LAION-5B dataset and annotated for key face attributes and bounding boxes

Dataset Stats

We show the average face computed from the FacesInThings, WIDER FACE, and Animal Web Datasets Respectively:

Average Faces

Installation

Clone the repository:

pip install facesinthings
git clone https://github.com/mhamilton723/FacesInThings.git

Install the required Python dependencies:

pip install -r requirements.txt

Usage

The dataset is downloaded automatically if not available locally.

See our Demo Usage Notebook for some quick examples of working with the dataset

Dataset Structure

FacesInThings.zip
│
├── images/
│   ├── 000000009.jpg
│   ├── 000000027.jpg
│   ├── ...
│
└── metadata.csv

The metadata.csv file contains the following fields:

  • file: Name of the image file.
  • url: Direct URL to the image.
  • boxes: Bounding boxes for the detected pareidolic faces. Stored in [x1, y1, w, h] format
  • is_primary: Whether the bounding box is the primary face.
  • Is there a face?: Yes/No/Several.
  • Hard to spot?: Difficulty in spotting the face (Easy/Medium/Hard).
  • Accident or design?: Whether the face appears accidental or by design.
  • Emotion?: Perceived emotion (Neutral, Happy, Sad, etc.).
  • Person or creature?: Type of face (Human, Animal, Alien, etc.).
  • Gender?: Perceived gender (Neutral, Female, Male).
  • Amusing?: Whether the face is amusing (Yes/No/Somewhat).
  • Common?: How common this type of pareidolia is.
  • Flags: Any additional flags (e.g., ‘Interesting’, ‘NSFW’).
  • num_boxes: Number of bounding boxes.
  • train: Whether the image is part of the training split.

Citation

@inproceedings{hamilton2024seeing,
  title={Seeing Faces in Things: A Model and Dataset for Pareidolia},
  author={Hamilton, Mark and Stent, Simon and others},
  booktitle={ECCV},
  year={2024}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

facesinthings-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

facesinthings-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file facesinthings-0.1.0.tar.gz.

File metadata

  • Download URL: facesinthings-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for facesinthings-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a53b68bc66d7d166354b57e2f0d63cd5702c1b4bdb0b851aafb8222bcd82755
MD5 4db14decd740d747c6a6820410e11f8e
BLAKE2b-256 5868141b0354c64cfd98c1a6c257b9a78a3e07196029ace32868877ae01852b1

See more details on using hashes here.

File details

Details for the file facesinthings-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for facesinthings-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06fe301f500718a80cc667f06b85e9fd23c43c5fc6416f3d3c7f6a4ccba557a7
MD5 64220dc70d818afe41d83ecdad8a52e4
BLAKE2b-256 11d4a970a8e4b4aeddc08c47412dee98c291f31b377341a3f60c44a28a4e67a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page