CoolFace
Datasetpublic

mehmet-3emin/fer2013-cleaned

FER2013 Cleaned and Extended – mehmet-3emin This dataset is a cleaned and extended version of the original FER2013 dataset, adapted for facial emotion recognition tasks. It was prepared as part of a senior thesis project at Mersin University in 2025, titled "Videodan DuygusallΔ±k Analizi" (Emotion Analysis from Video). The dataset is formatted for folder-based image classification tasks and includes 7 emotion classes. 🧹 Cleaning Process The original FER2013… See the full description on the dataset page: https://huggingface.co/datasets/mehmet-3emin/fer2013-cleaned.

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes43downloads
Dataset Card

FER2013 Cleaned and Extended – mehmet-3emin

This dataset is a cleaned and extended version of the original FER2013 dataset, adapted for facial emotion recognition tasks. It was prepared as part of a senior thesis project at Mersin University in 2025, titled "Videodan DuygusallΔ±k Analizi" (Emotion Analysis from Video).

The dataset is formatted for folder-based image classification tasks and includes 7 emotion classes.

🧹 Cleaning Process

The original FER2013 dataset was reviewed and processed using the following steps:

  • β€”Removed low-resolution or blurry images (below 48x48 or heavily pixelated)
  • β€”Standardized image dimensions and file naming conventions
  • β€”Corrected mislabeled samples where clearly identifiable

🧩 Extension Details

To improve generalization and diversity:

  • β€”Additional facial images were extracted from various public video sources using OpenCV
  • β€”Individual frames containing clearly visible faces were manually cropped
  • β€”These new images were manually labeled by human annotators into 7 emotion categories: angry, disgust, fear, happy, neutral, sad, surprise

This extension allowed the dataset to include more varied lighting, angle, and expression styles, making it more robust for real-world facial emotion detection tasks.

🏷️ Class Distribution

The dataset is organized into folders by emotion class:

fer2013-cleaned/ β”œβ”€β”€ train/ β”‚ β”œβ”€β”€ angry/ β”‚ β”œβ”€β”€ disgust/ β”‚ β”œβ”€β”€ fear/ β”‚ β”œβ”€β”€ happy/ β”‚ β”œβ”€β”€ neutral/ β”‚ β”œβ”€β”€ sad/ β”‚ └── surprise/ β”œβ”€β”€ test/ β”‚ └── …

Each folder contains .jpg or .png images with RGB channels and resized to 48x48 or 224x224 resolution.

πŸ“¦ Usage

python
from datasets import load_dataset
dataset = load_dataset("mehmet-3emin/fer2013-cleaned")