Face Mask Detection

GRATIS CON POSSIBILITÀ DI UPGRADE
Verified
Da PresentID | Aggiornamento 2 mesi fa | Machine Learning

Panoramica di Face Mask Detection

Follower: 43
Risorse:
Sito web del prodotto
Creatore dell'API:
avatar
PresentID
PresentID
Valuta API:
Accedi per valutare l'API

README

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!

Input:

  • Image file
  • Image URL link
  • Base64 image

Output:

  • Masked: 0 or 1

Features

  • 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)

print(response.text)
Valutazione: 3.7 - Voti: 3