Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    FileNotFoundError
Message:      [Errno 2] No such file or directory: '<datasets.utils.file_utils.FilesIterable object at 0x7f85cdbcb290>'
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 243, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4379, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2661, in _head
                  return next(iter(self.iter(batch_size=n)))
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2839, in iter
                  for key, pa_table in ex_iterable.iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2377, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/xml/xml.py", line 67, in _generate_tables
                  with open(file, encoding=self.config.encoding, errors=self.config.encoding_errors) as f:
                       ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/streaming.py", line 73, in wrapper
                  return function(*args, download_config=download_config, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 967, in xopen
                  return open(main_hop, mode, *args, **kwargs)
              FileNotFoundError: [Errno 2] No such file or directory: '<datasets.utils.file_utils.FilesIterable object at 0x7f85cdbcb290>'

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

😷 Face Mask Detection

853 images across 3 classes, with bounding box annotations in PASCAL VOC format β€” for detecting whether a person is wearing a mask, not wearing one, or wearing one incorrectly.


🧭 Overview

Masks play a crucial role in protecting individuals against respiratory diseases and were one of the key precautions against COVID-19 in the absence of immunization. This dataset enables training object detection models to classify mask usage in images.


πŸ—‚οΈ Classes

Class Description
With Mask Person correctly wearing a face mask
Without Mask Person not wearing a face mask
Mask Worn Incorrectly Person wearing a mask improperly

πŸ“ Dataset Structure

images/ β”œβ”€β”€ maksssksksss0.png β”œβ”€β”€ maksssksksss1.png └── ...

annotations/ β”œβ”€β”€ maksssksksss0.xml β”œβ”€β”€ maksssksksss1.xml └── ...

Each image has a corresponding XML annotation file in PASCAL VOC format containing bounding boxes and class labels.


⚑ Quick Start

import xml.etree.ElementTree as ET from PIL import Image

tree = ET.parse("annotations/maksssksksss0.xml") root = tree.getroot()

for obj in root.findall("object"): label = obj.find("name").text bbox = obj.find("bndbox") xmin = int(bbox.find("xmin").text) ymin = int(bbox.find("ymin").text) xmax = int(bbox.find("xmax").text) ymax = int(bbox.find("ymax").text) print(label, xmin, ymin, xmax, ymax)

img = Image.open("images/maksssksksss0.png") img.show()


πŸ’‘ Use Cases

  • Real-time face mask detection systems
  • Object detection model training (Faster R-CNN, YOLO, SSD)
  • Public health monitoring applications
  • Transfer learning for safety compliance detection
  • Multi-class bounding box detection practice
Downloads last month
1,306