Face Mask Detection

फ्रीमियम
Verified
द्वारा PresentID | अपडेट किया गया 2 महीने पहले | Machine Learning

Face Mask Detection अवलोकन

फॉलोवर: 43
संसाधन:
उत्पाद वेबसाइट
API निर्माता:
avatar
PresentID
PresentID
API को रेट करें:
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!

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)
रेटिंग: 3.7 - वोट: 3