# AIZOOTech/FaceMaskDetection

开源人脸口罩检测模型和数据 Detect faces and determine whether people are wearing mask.

Repository: https://github.com/AIZOOTech/FaceMaskDetection
Canonical: https://ross.abutalabs.com/products/facemaskdetection
Homepage: https://demo.aizoo.com/face-mask-detection.html
Language: Jupyter Notebook
License: MIT
License Family: permissive
Topics: detection, pytorch, caffe
Last push: 2022-01-05T12:19:11+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2388, "days_push": 1701, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2125, forks 615 (observed 2026-08-28T04:06:16.869369+00:00)

## What it is
An open-source face mask detection project providing a lightweight SSD-based model (1.01M parameters) with inference code for PyTorch, TensorFlow, Keras, MXNet, Caffe, PaddlePaddle, and OpenCV DNN. It also releases a 7,971-image training dataset built from WIDER Face and MAFA, plus a browser demo via TensorFlow.js.

## Use cases
- detect whether people in images or video are wearing face masks
- run face mask detection across multiple deep learning frameworks
- deploy a lightweight face mask detector in the browser
- train or fine-tune a face mask detection model on a labeled dataset
- run real-time mask detection from a webcam

## When to choose
- you need a small, fast face mask detection model with multi-framework inference support
- you want a ready-made labeled dataset of masked and unmasked faces
- you need to run inference on images, video, or webcam streams

## When to avoid
- you need general face recognition or identity detection
- you need state-of-the-art accuracy on modern detectors rather than a COVID-era lightweight model
- you need actively maintained code with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: machine-learning, deep-learning, computer-vision, image-processing
- domain: computer-vision, deep-learning, machine-learning
- platform: python, cross-platform, browser
- tags: face-detection, face-mask-detection, ssd, inference, covid-19, pretrained-model, tensorflow, pytorch, keras, caffe, mxnet, paddlepaddle, opencv-dnn, dataset

## Member repositories
- AIZOOTech/FaceMaskDetection (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:16.869369+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:52:39.904468+00:00, confidence not recorded.
  - readme: https://github.com/AIZOOTech/FaceMaskDetection (fetched 2026-08-28T04:06:16.869369+00:00, sha 91088b2dd476)
- Data as of 2026-08-30T08:39:29.467469+00:00.
