Face Similarity

부분 유료
분류별 PresentID | 업데이트됨 vor 8 Monaten | Visual Recognition
인기

6.9 / 10

지연 시간

3,097ms

서비스 수준

100%

모든 자습서로 돌아가기 (1)

Face Similarity

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

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/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)
등급: 5 - 투표: 1