Rate API:
Melden Sie sich bei Rate API an
README
PresentID Face detection API can detect the face(s) in your image and retrieve some features such as Age, Gender, Landmarks, etc.
Input:
- Image file
- Image URL link
- Base64 image
Output:
- Rectangle
- Age
- Gender
- Face landmarks
- Blur
- Rotate Angel
Features
- Recall rate at 100 FP on FDDB: 87.3
- Detect faces and get back the attributes such as rectangle, Gender, age.
- 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.
- Support IOS, Android, Windows, and Mac devices.
- Detect faces from video.
- The smallest faces are detected (50px * 50px).
- Easy integration with your app.
Use Cases:
- Access Control
- Onboarding
- Fintech
- Car sharing & Taxi
- Online Brokers
- Health Care
- Dating Apps
- Customer Support
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
api_url = 'https://face-recognition4.p.rapidapi.com/FaceDetection'
api_key = 'Your API Key'
image_path = 'Image directory path'
image_name = 'Image name'
files = {'Photo': (image_name, open(image_path + image_name, 'rb'), 'multipart/form-data')}
header = {
"x-rapidapi-host": "face-recognition4.p.rapidapi.com",
"x-rapidapi-key": api_key
}
response = requests.post(api_url, files=files, headers=header)