Face Mask Detection

부분 유료
Verified
분류별 PresentID | 업데이트됨 한 달 전 | Machine Learning
인기

5.7 / 10

지연 시간

815ms

서비스 수준

100%

Face Mask Detection 개요

팔로워: 43
자원:
제품 웹사이트
API 생성자 :
avatar
PresentID
PresentID
Rate API:
Rate 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)
등급: 3.7 - 투표: 3