The dataset viewer is not available for this split.
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