faceplusplus-face-detection

faceplusplus-face-detection

3.5

The Faceplusplus Face Detection MCP Server is designed to analyze and detect facial information from given images.

The Faceplusplus Face Detection MCP Server provides advanced facial recognition capabilities, allowing users to extract detailed information such as face location, age, race, gender, and more from images. It's an ideal solution for applications requiring facial analysis and detection capabilities. The server supports only one face at a time, analyzing the face with the largest area if multiple faces are present. High-resolution images are recommended for optimal results.

Features

  • {'name': 'Face Detection', 'description': 'Analyze the given image to detect facial information, including face location, age, race, gender, and more.'}
  • {'name': 'Face Landmark', 'description': 'Obtain 1000 key points of the face from the uploaded image or a detected face token, supporting dense facial landmark analysis.'}

MCP Tools

  • Face Detection Tool: Detects facial information from the given image, including attributes such as face location, age, race, and gender.
  • Face Landmark Tool: Provides 1000 key points of the face, accurately locating facial features such as eyebrows, eyes, nose, mouth, and overall facial contours.

Usage with Different Platforms

python

python
import requests

url = 'https://api-us.faceplusplus.com/facepp/v3/detect'
params = {
    'api_key': 'YOUR_API_KEY',
    'api_secret': 'YOUR_API_SECRET',
    'image_url': 'IMAGE_URL',
    'return_attributes': 'gender,age,smiling,headpose,facequality,blur,eyestatus,emotion,ethnicity,beauty,mouthstatus,eyegaze,skinstatus'
}
response = requests.post(url, data=params)
print(response.json())