Face Similarity

FREEMIUM
Verified
Durch PresentID | Aktualisiert vor einem Monat | Visual Recognition
Popularität

7.6 / 10

Latenz

4,365ms

Service Level

100%

Face Similarity Übersicht

Follower: 48
Ressourcen:
Produktwebsite
API-Ersteller:
avatar
PresentID
PresentID
Rate API:
Melden Sie sich bei Rate API an

README

PresentID Face similarity API can detect a face in your image and return the most similar image.

Input:

  • Driver’s license
  • National ID card
  • Certificate

Output:

  • Driver’s license codes
  • National ID card codes
  • Certificate codes

Features:

  • 0.00007 FAR, 0.08 FRR.
  • Less than 10 seconds.
  • 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.
  • Shows the image that is most similar.
  • Support IOS, Android, Windows, and Mac devices.
  • Easy integration with your app.

Use Cases:
• Fun apps

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.

Example Response

{4 items
"data":{6 items
"group":“artist”
“imageBase64”:“data:image/jpeg;base64"
“imageMimeType”:“image/jpeg”
“name”:“Name”
“similarDistance”:0.7703497222750003
"similarPercentage”:0
}
“hasError”:false
"statusCode":200
"statusMessage":“OK”
}

PresentID Face Similarity API can detect a face in your image and shows the most similar image.

*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/FaceSimilar
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)

Bewertung: 5 - Stimmen: 1