Face Mask Detection

Par PresentID | Mise à jour il y a 2 mois | Machine Learning

Présentation de Face Mask Detection

Abonnés : 43
Ressources :
Site Web du produit
Créateur d'API :
Évaluer l'API :
Connectez-vous pour évaluer l'API


PresentID Face mask detection API can detect whether a person is wearing a mask. This service can recognize all the faces in the image and say whether people have masks or not!


  • Image file
  • Image URL link
  • Base64 image


  • Masked: 0 or 1


  • Recall rate on FDDB:70.6, Classification Accuracy: 93.7.
  • Less than 300 milliseconds processing time.
  • Detect all small and large faces.
  • High-precision detection of size; pitch, roll, yaw, and 14-point key landmarks.
  • Low resource and impressive high performance.
  • Robust detection of faces with rotation, glasses, etc.
  • Region of interest detection.
  • Support IOS, Android, Windows, and Mac devices.
  • Easy integration with your app.

Use Cases:

  • Building access control

Rules & Restrictions:

  • Send data via base64 or an image URL or an image file.
  • Image size should not exceed 8 MB.
  • Also, the images should not be larger than 5000 pixels and smaller than 50 pixels.

Python Quick Start

import requests

url = "https://face-mask-detection.p.rapidapi.com/FaceMaskDetection"

payload = "linkFile=%3CREQUIRED%3E"
headers = {
    'content-type': "application/x-www-form-urlencoded",
    'x-rapidapi-key': "f485496ab8msh2ea068a0bbe333cp179f86jsn2b4afe8962dd",
    'x-rapidapi-host': "face-mask-detection.p.rapidapi.com"

response = requests.request("POST", url, data=payload, headers=headers)

Note : 3.7 - Votes : 3