Mask Wearing Computer Vision Dataset

byJoseph NelsonTask:
Object Detection
License:Public Domain

About Mask Wearing Dataset

Overview

The Mask Wearing dataset is an object detection dataset of individuals wearing various types of masks and those without masks. The images were originally collected by Cheng Hsun Teng from Eden Social Welfare Foundation, Taiwan and relabled by the Roboflow team.

Example image (some with masks, some without): Example Image

Use Cases

One could use this dataset to build a system for detecting if an individual is wearing a mask in a given photo.

Using this Dataset

Use the fork button to copy this dataset to your own Roboflow account and export it with new preprocessing settings (perhaps resized for your model's desired format or converted to grayscale), or additional augmentations to make your model generalize better.

About Roboflow

Roboflow makes managing, preprocessing, augmenting, and versioning datasets for computer vision seamless.

Developers reduce 50% of their code when using Roboflow's workflow, automate annotation quality assurance, save training time, and increase model reproducibility.

Roboflow Workmark

Use Free Mask and No-mask Detection API

Powered by general detection model

Code
pip install inference-sdk
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workspace
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="<YOUR_WORKSPACE>",
  workflow_id="<YOUR_WORKFLOW_ID>",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  parameters={
    "classes": "mask, no-mask"
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Run on custom image

Drop an image here or click to upload

Detecting classes:
Or try a test image 

Cite This Project

LicensePublic Domain

If you use this dataset in a research paper, please cite it using the following BibTeX:

@misc{ mask-wearing-imu6e_dataset,
  title = { Mask Wearing Dataset },
  type = { Open Source Dataset },
  author = { Joseph Nelson },
  howpublished = { \url{ https://universe.roboflow.com/khinsaws-workspace/mask-wearing-imu6e } },
  url = { https://universe.roboflow.com/khinsaws-workspace/mask-wearing-imu6e },
  journal = { Roboflow Universe },
  publisher = { Roboflow },
  year = { 2026 },
  month = { apr },
  note = { visited on 2026-07-29 },
}

Similar Projects

See More