Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
285
8.28k
label
stringclasses
8 values
Ferrari F1 car
Williams F1 car
Mercedes F1 car
Ferrari F1 car
McLaren F1 car
Mercedes F1 car
Mercedes F1 car
Racing Point F1 car
McLaren F1 car
Ferrari F1 car
AlphaTauri F1 car
AlphaTauri F1 car
Williams F1 car
McLaren F1 car
Mercedes F1 car
AlphaTauri F1 car
Renault F1 car
McLaren F1 car
Renault F1 car
McLaren F1 car
Red Bull Racing F1 car
Racing Point F1 car
Mercedes F1 car
Renault F1 car
McLaren F1 car
Racing Point F1 car
Red Bull Racing F1 car
Ferrari F1 car
Renault F1 car
AlphaTauri F1 car
Mercedes F1 car
Red Bull Racing F1 car
Red Bull Racing F1 car
Renault F1 car
Williams F1 car
Red Bull Racing F1 car
Ferrari F1 car
Racing Point F1 car
Mercedes F1 car
McLaren F1 car
Ferrari F1 car
Williams F1 car
Red Bull Racing F1 car
Racing Point F1 car
Racing Point F1 car
Mercedes F1 car
Red Bull Racing F1 car
McLaren F1 car
Red Bull Racing F1 car
McLaren F1 car
McLaren F1 car
Ferrari F1 car
Ferrari F1 car
Red Bull Racing F1 car
Red Bull Racing F1 car
Ferrari F1 car
Red Bull Racing F1 car
Williams F1 car
Renault F1 car
Mercedes F1 car
Ferrari F1 car
Mercedes F1 car
Racing Point F1 car
Williams F1 car
Ferrari F1 car
Red Bull Racing F1 car
Mercedes F1 car
Red Bull Racing F1 car
Renault F1 car
AlphaTauri F1 car
Racing Point F1 car
McLaren F1 car
Renault F1 car
Racing Point F1 car
McLaren F1 car
Williams F1 car
Ferrari F1 car
Ferrari F1 car
Mercedes F1 car
McLaren F1 car
McLaren F1 car
Williams F1 car
Ferrari F1 car
Mercedes F1 car
McLaren F1 car
Red Bull Racing F1 car
McLaren F1 car
Racing Point F1 car
Racing Point F1 car
Red Bull Racing F1 car
Renault F1 car
Racing Point F1 car
Racing Point F1 car
AlphaTauri F1 car
Williams F1 car
Williams F1 car
Ferrari F1 car
AlphaTauri F1 car
Williams F1 car
McLaren F1 car
End of preview. Expand in Data Studio

🏎️ Formula 1 Cars Dataset

A curated computer vision and multi-modal dataset consisting of 2,407 high-resolution images across 8 prominent Formula 1 teams.

πŸ“Œ Dataset Summary

  • Total Valid Images: 2,407
  • Number of Classes: 8 F1 Teams
  • Format: Hugging Face datasets.Image feature + Class Label
  • Train / Test Split: 80% Train (1,925 images) / 20% Test (482 images)

πŸ—‚οΈ Dataset Structure

Features

Each instance contains the exact image object and its corresponding class label:

Features({
    'image': Image(decode=True),
    'label': ClassLabel(names=[
        'AlphaTauri F1 car',
        'Ferrari F1 car',
        'McLaren F1 car',
        'Mercedes F1 car',
        'Racing Point F1 car',
        'Red Bull Racing F1 car',
        'Renault F1 car',
        'Williams F1 car'
    ])
})

Data Sample

{
    'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=1920x1080>,
    'label': 'Ferrari F1 car'
}

πŸš€ Quickstart & Usage

Load the Dataset

from datasets import load_dataset

# Load directly from Hugging Face Hub
dataset = load_dataset("Rakesh7n/Formula_One_Cars")

print(dataset)
# Output:
# DatasetDict({
#     train: Dataset({ features: ['image', 'label'], num_rows: 1925 }),
#     test: Dataset({ features: ['image', 'label'], num_rows: 482 })
# })

πŸ“‹ Acknowledgements & Citation

Original Dataset


ℹ️ Source Attribution & Modifications: This dataset is a modified version of Sagar Khanna's Formula One Cars Kaggle Dataset.

  • Hierarchical Directory Removal: The original nested folder structure (Formula One Cars/<team>/<image>) has been removed and restructured into a single flat directory with standardized, unique sequential indexing (0000.jpg, 0001.jpg, ...).
  • Data Cleaning & Validation: Verified with PIL.Image.verify() to remove corrupt/invalid non-image files.
  • Hugging Face Native Format: Formatted with native Hugging Face Image() feature and standard 80/20 train/test split for one-line loading and training.

Citation

@misc{khanna_formula_one_cars,
  author = {Sagar Khanna},
  title = {Formula One Cars},
  year = {2021},
  publisher = {Kaggle},
  howpublished = {\url{https://www.kaggle.com/datasets/sagarplanner/formula-one-cars}}
}

@dataset{formula_one_cars_hf,
  author = {Rakesh},
  title = {Formula 1 Cars Dataset (Modified - Flattened)},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/Rakesh7n/Formula_One_Cars}}
}

License

Distributed under the MIT License.

Downloads last month
113